Reverse for 'apps.website.views.opcaoConsulta' with arguments '('organograma',)' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Request Method: | GET |
---|---|
Request URL: | http://transparencia.massapedopiaui.pi.gov.br/admin/password_reset/ |
Django Version: | 1.8 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'apps.website.views.opcaoConsulta' with arguments '('organograma',)' and keyword arguments '{}' not found. 0 pattern(s) tried: [] |
Exception Location: | /usr/local/lib/python3.4/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 496 |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.4.7 |
Python Path: | ['/', '/var/www', '/usr/local/bin', '/usr/local/lib/python34.zip', '/usr/local/lib/python3.4', '/usr/local/lib/python3.4/plat-linux', '/usr/local/lib/python3.4/lib-dynload', '/usr/local/lib/python3.4/site-packages'] |
Server time: | Sex, 29 Mar 2024 05:43:02 -0300 |
In template /var/www/templates/componentes/header.html
, error at line 54
44 | <!-- </form> --> |
---|---|
45 | </div> |
46 | </div> |
47 | </nav> |
48 | </div> |
49 | </header> |
50 | <div class="menu-list"> |
51 | <div class="row"> |
52 | |
53 | <li> |
54 | <a href=" {% url 'apps.website.views.opcaoConsulta' "organograma" %} " class="contratos"> |
55 | <span class="icon"></span> |
56 | Organogramas |
57 | </a> |
58 | </li> |
59 | <li> |
60 | <a href="{% url 'apps.website.views.opcaoConsulta' "relatorios" %}" class="contratos"> |
61 | <span class="icon"></span> |
62 | Relatórios |
63 | </a> |
64 | </li> |
/usr/local/lib/python3.4/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, response)
# Complain if the template response middleware returned None (a common error).
if response is None:
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__))
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
resolver | <RegexURLResolver 'prefeitura_digital.urls' (None:None) ^/> |
urlconf | 'prefeitura_digital.urls' |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6c84f8b860> |
wrapped_callback | <function password_reset at 0x7f6c83751510> |
response | <django.template.response.TemplateResponse object at 0x7f6c81cf9c88> |
callback_kwargs | {} |
callback_args | () |
request | ('<WSGIRequest\n' 'path:/admin/password_reset/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'CSRF_COOKIE': 'qKDfE5sdhlDAw19uPOYj0fcf4Rdf9zRp',\n" " 'HTTP_ACCEPT': '*/*',\n" " 'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'transparencia.massapedopiaui.pi.gov.br',\n" " 'HTTP_USER_AGENT': 'claudebot',\n" " 'HTTP_X_FORWARDED_FOR': '3.235.229.251',\n" " 'PATH_INFO': '/admin/password_reset/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/admin/password_reset/',\n" " 'REMOTE_ADDR': '172.17.0.1',\n" " 'REMOTE_PORT': '39164',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '0.0.0.0',\n" " 'SERVER_PORT': '8029',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/19.7.1',\n" " 'gunicorn.socket': <socket.socket fd=10, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.2', 8029), " "raddr=('172.17.0.1', 39164)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f6c81bf67f0>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f6c81bf6eb8>,\n" " 'wsgi.multiprocess': False,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'http',\n" " 'wsgi.version': (1, 0)}>") |
resolver_match | ResolverMatch(func=django.contrib.auth.views.password_reset, args=(), kwargs={}, url_name=admin_password_reset, app_name=None, namespaces=[]) |
callback | <function password_reset at 0x7f6c83751510> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f6c8378aba8>> |
/usr/local/lib/python3.4/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <django.template.response.TemplateResponse object at 0x7f6c81cf9c88> |
self | <django.template.response.TemplateResponse object at 0x7f6c81cf9c88> |
/usr/local/lib/python3.4/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self._resolve_template(self.template_name)
context = self._resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
template | <django.template.backends.django.Template object at 0x7f6c81cf96a0> |
self | <django.template.response.TemplateResponse object at 0x7f6c81cf9c88> |
context | {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'} |
/usr/local/lib/python3.4/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango20Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
request | ('<WSGIRequest\n' 'path:/admin/password_reset/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'CSRF_COOKIE': 'qKDfE5sdhlDAw19uPOYj0fcf4Rdf9zRp',\n" " 'HTTP_ACCEPT': '*/*',\n" " 'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'transparencia.massapedopiaui.pi.gov.br',\n" " 'HTTP_USER_AGENT': 'claudebot',\n" " 'HTTP_X_FORWARDED_FOR': '3.235.229.251',\n" " 'PATH_INFO': '/admin/password_reset/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/admin/password_reset/',\n" " 'REMOTE_ADDR': '172.17.0.1',\n" " 'REMOTE_PORT': '39164',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '0.0.0.0',\n" " 'SERVER_PORT': '8029',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/19.7.1',\n" " 'gunicorn.socket': <socket.socket fd=10, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.2', 8029), " "raddr=('172.17.0.1', 39164)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f6c81bf67f0>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f6c81bf6eb8>,\n" " 'wsgi.multiprocess': False,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'http',\n" " 'wsgi.version': (1, 0)}>") |
self | <django.template.backends.django.Template object at 0x7f6c81cf96a0> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f6c81cf9198> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f6c81cf9198> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
self | [<ExtendsNode: extends "componentes/base.html">] |
node | <ExtendsNode: extends "componentes/base.html"> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
self | [<ExtendsNode: extends "componentes/base.html">] |
node | <ExtendsNode: extends "componentes/base.html"> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
blocks | {'content': <Block Node: content. Contents: []>, 'extracss': <Block Node: extracss. Contents: []>, 'extrahead': <Block Node: extrahead. Contents: []>, 'extrajs': <Block Node: extrajs. Contents: []>, 'seo': <Block Node: seo. Contents: [<Text Node: ' <meta name="desc'>, <Variable Node: request.municipio.nome>, <Text Node: '" /> <meta name="'>]>, 'title': <Block Node: title. Contents: [<Variable Node: request.municipio.nome>, <Text Node: ' - Portal da Transparênci'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f6c81ac2630> |
compiled_parent | <django.template.base.Template object at 0x7f6c81ac2b00> |
self | <ExtendsNode: extends "componentes/base.html"> |
node | <Block Node: title. Contents: [<Variable Node: request.municipio.nome>, <Text Node: ' - Portal da Transparênci'>]> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f6c81ac2b00> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | ['<!DOCTYPE html>\n' '\n' '<!-- ' 'paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ ' '-->\n' '<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> ' '<![endif]-->\n' '<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> ' '<![endif]-->\n' '<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->\n' '<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->\n' '<head>\n' ' <meta charset="utf-8" />\n' '\n' ' <!-- Set the viewport width to device width for mobile -->\n' ' <meta name="viewport" content="width=device-width" />\n' '\n' ' <title>', 'Reset Password', '</title>\n\n ', '', '\n' ' <!-- Included CSS Files (Uncompressed) -->\n' ' <!--\n' ' <link rel="stylesheet" href="stylesheets/foundation.css">\n' ' -->\n' '\n' ' <!-- Included CSS Files (Compressed) -->\n' ' <link rel="stylesheet" href="', 'http://minio.blubots.com/media-minio/', 'css/vendors/bootstrap.css">\n <link rel="stylesheet" href="', 'http://minio.blubots.com/media-minio/', 'css/fonts.css">\n <link rel="stylesheet" href="', 'http://minio.blubots.com/media-minio/', 'css/estilo.css">\n <link rel="stylesheet" href="', 'http://minio.blubots.com/media-minio/', 'css/internas.css">\n' '\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>\n' ' <script ' 'src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>\n' ' <script src="/media/static/js/moment-with-locales.js"></script>\n' '\n' '\n' '\n' ' <script src="', 'http://minio.blubots.com/media-minio/', 'js/jquery.mask.min.js"></script>\n ', '', '\n ', '\n' ' <meta name="description" content="Portal oficial da prefeitura de ' 'Massapê do Piauí" />\n' ' <meta name="keywords" content="prefeitura de corrente, portal da ' 'transparência corrente, transparência corrente, corrente-pi, portal da ' 'transparência" />\n' ' ', '\n' '\n' ' <!-- HTML5 shim e Respond.js para suporte no IE8 de elementos HTML5 e ' 'media queries -->\n' ' <!-- ALERTA: Respond.js não funciona se você visualizar uma página ' 'file:// -->\n' ' <!--[if lt IE 9]>\n' ' <script ' 'src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>\n' ' <script ' 'src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>\n' ' <![endif]-->\n' '\n' '</head>\n' '<body>\n' ' '] |
self | [<Text Node: '<!DOCTYPE html> <!-- pau'>, <Block Node: title. Contents: [<Variable Node: request.municipio.nome>, <Text Node: ' - Portal da Transparênci'>]>, <Text Node: '</title> '>, <Block Node: extracss. Contents: []>, <Text Node: ' <!-- Included CSS '>, <Variable Node: MEDIA_URL>, <Text Node: 'css/vendors/bootstrap.css'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/fonts.css"> <li'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/estilo.css"> <l'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/internas.css"> '>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.mask.min.js"></'>, <Block Node: extrahead. Contents: []>, <Text Node: ' '>, <Block Node: seo. Contents: [<Text Node: ' <meta name="desc'>, <Variable Node: request.municipio.nome>, <Text Node: '" /> <meta name="'>]>, <Text Node: ' <!-- HTML5 shim e R'>, <IfNode>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f6c817daba8>, <Text Node: ' </script> <script> fun'>, <Block Node: extrajs. Contents: []>, <Text Node: ' </body> </html> '>] |
node | <IfNode> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
bit | ('\n' '\n' ' <!-- HTML5 shim e Respond.js para suporte no IE8 de elementos HTML5 e ' 'media queries -->\n' ' <!-- ALERTA: Respond.js não funciona se você visualizar uma página ' 'file:// -->\n' ' <!--[if lt IE 9]>\n' ' <script ' 'src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>\n' ' <script ' 'src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>\n' ' <![endif]-->\n' '\n' '</head>\n' '<body>\n' ' ') |
/usr/local/lib/python3.4/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
self | [<Text Node: '<!DOCTYPE html> <!-- pau'>, <Block Node: title. Contents: [<Variable Node: request.municipio.nome>, <Text Node: ' - Portal da Transparênci'>]>, <Text Node: '</title> '>, <Block Node: extracss. Contents: []>, <Text Node: ' <!-- Included CSS '>, <Variable Node: MEDIA_URL>, <Text Node: 'css/vendors/bootstrap.css'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/fonts.css"> <li'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/estilo.css"> <l'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/internas.css"> '>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.mask.min.js"></'>, <Block Node: extrahead. Contents: []>, <Text Node: ' '>, <Block Node: seo. Contents: [<Text Node: ' <meta name="desc'>, <Variable Node: request.municipio.nome>, <Text Node: '" /> <meta name="'>]>, <Text Node: ' <!-- HTML5 shim e R'>, <IfNode>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f6c817daba8>, <Text Node: ' </script> <script> fun'>, <Block Node: extrajs. Contents: []>, <Text Node: ' </body> </html> '>] |
node | <IfNode> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
match | True |
nodelist | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8>, <Text Node: ' '>] |
self | <IfNode> |
condition | (literal <django.template.base.FilterExpression object at 0x7f6c8200d400>) |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | ['\n '] |
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8>, <Text Node: ' '>] |
node | <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
bit | '\n ' |
/usr/local/lib/python3.4/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8>, <Text Node: ' '>] |
node | <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in six.iteritems(self.extra_context)
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)...
except Exception:
if context.template.engine.debug:
raise
return ''
Variable | Value |
---|---|
template | <django.template.base.Template object at 0x7f6c82013860> |
values | {} |
self | <django.template.loader_tags.IncludeNode object at 0x7f6c82013ac8> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)
else:
return self._render(context)...
finally:
context.render_context.pop()
class Token(object):
def __init__(self, token_type, contents):
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f6c82013860> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f6c82013860> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | ['<header class="header">\n' ' <div class="container">\n' ' <nav class="navbar navbar-default">\n' ' <div class="container">\n' ' <div class="navbar-header">\n' ' <button type="button" class="navbar-toggle" ' 'data-toggle="collapse" data-target=".navbar-collapse">\n' ' <span class="sr-only">Toggle navigation</span>\n' ' <span class="icon-bar"></span>\n' ' <span class="icon-bar"></span>\n' ' <span class="icon-bar"></span>\n' ' </button>\n' ' <a href="/" class="navbar-brand">\n' ' ', '\n' ' <span class="logo-tipo"><img width=100 ' 'src="http://minio.blubots.com/media-minio/logos/brasao-massape.jpeg" ' 'alt=""></span>\n' ' ', '\n' '\n' ' <span class="portal-txt">Portal da ' 'Transparência</span>\n' ' <span class="prefeitura-tx">\n' ' ', 'Massapê do Piauí', '\n http://www.', 'transparencia.massapedopiaui.pi.gov.br', '\n' ' </span>\n' ' </a>\n' ' </div>\n' ' <div class="collapse navbar-collapse navbar-right">\n' ' <ul class="nav navbar-nav">\n' ' <!-- <li><a href="#">Perguntas Frequentes</a></li> ' '-->\n' ' <!-- <li><a href="', '/esic/', '">Acesso à informação</a></li> -->\n' ' <!-- <li><a href="#">Glossário</a></li> -->\n' ' <!-- <li><a href="#">Links</a></li> -->\n' ' <li><a href="/admin/">Entrar no sistema</a></li>\n' ' <li><a href="', '/esic/', '">Contato</a></li>\n' ' </ul>\n' ' <br/>\n' ' <!-- <form class="navbar-form navbar-right" ' 'role="search"> -->\n' ' <!-- <div class="form-group"> -->\n' ' <!-- <label for="" ' 'class="acesso-rapido">Acesso Rápido:</label> -->\n' ' <!-- <select name="" id="" ' 'class="form-control"> -->\n' ' <!-- <option value="">Selecione</option> ' '-->\n' ' <!-- <option value="">Selecione 1</option> ' '-->\n' ' <!-- <option value="">Selecione 2</option> ' '-->\n' ' <!-- <option value="">Selecione 3</option> ' '-->\n' ' <!-- </select> -->\n' ' <!-- </div> -->\n' ' <!-- </form> -->\n' ' </div>\n' ' </div>\n' ' </nav>\n' ' </div>\n' '</header>\n' ' <div class="menu-list">\n' ' <div class="row">\n' '\n' ' <li>\n' ' <a href="'] |
self | [<Text Node: '<header class="header"> '>, <IfNode>, <Text Node: ' '>, <Variable Node: request.municipio.nome>, <Text Node: ' '>, <Variable Node: request.municipio.dominio>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a550>, <Text Node: '">Acesso à informação</a>'>, <django.template.defaulttags.URLNode object at 0x7f6c81e6af28>, <Text Node: '">Contato</a></li> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a898>, <Text Node: '" class="contratos"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a470>, <Text Node: '" class="contratos"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a7f0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6ac18>, <Text Node: '" class="despesas"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd7cc0>, <Text Node: '" class="servidores"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd76d8>, <Text Node: '" class="licitações"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd7160>, <Text Node: '" class="contratos"> '>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f6c81df0d30>, <Text Node: '" class="licitações"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd73c8>, <Text Node: '" class="contratos"> '>] |
node | <django.template.defaulttags.URLNode object at 0x7f6c81e6a898> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
bit | ('">Contato</a></li>\n' ' </ul>\n' ' <br/>\n' ' <!-- <form class="navbar-form navbar-right" ' 'role="search"> -->\n' ' <!-- <div class="form-group"> -->\n' ' <!-- <label for="" ' 'class="acesso-rapido">Acesso Rápido:</label> -->\n' ' <!-- <select name="" id="" ' 'class="form-control"> -->\n' ' <!-- <option value="">Selecione</option> ' '-->\n' ' <!-- <option value="">Selecione 1</option> ' '-->\n' ' <!-- <option value="">Selecione 2</option> ' '-->\n' ' <!-- <option value="">Selecione 3</option> ' '-->\n' ' <!-- </select> -->\n' ' <!-- </div> -->\n' ' <!-- </form> -->\n' ' </div>\n' ' </div>\n' ' </nav>\n' ' </div>\n' '</header>\n' ' <div class="menu-list">\n' ' <div class="row">\n' '\n' ' <li>\n' ' <a href="') |
/usr/local/lib/python3.4/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
self | [<Text Node: '<header class="header"> '>, <IfNode>, <Text Node: ' '>, <Variable Node: request.municipio.nome>, <Text Node: ' '>, <Variable Node: request.municipio.dominio>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a550>, <Text Node: '">Acesso à informação</a>'>, <django.template.defaulttags.URLNode object at 0x7f6c81e6af28>, <Text Node: '">Contato</a></li> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a898>, <Text Node: '" class="contratos"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a470>, <Text Node: '" class="contratos"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6a7f0>, <Text Node: '"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81e6ac18>, <Text Node: '" class="despesas"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd7cc0>, <Text Node: '" class="servidores"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd76d8>, <Text Node: '" class="licitações"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd7160>, <Text Node: '" class="contratos"> '>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x7f6c81df0d30>, <Text Node: '" class="licitações"> '>, <django.template.defaulttags.URLNode object at 0x7f6c81fd73c8>, <Text Node: '" class="contratos"> '>] |
node | <django.template.defaulttags.URLNode object at 0x7f6c81e6a898> |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
/usr/local/lib/python3.4/site-packages/django/template/defaulttags.py
in render
args=args, kwargs=kwargs,
current_app=current_app)
except NoReverseMatch:
if self.asvar is None:
# Re-raise the original exception, not the one with
# the path relative to the project. This makes a
# better error message.
six.reraise(*exc_info)...
else:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
view_name | 'apps.website.views.opcaoConsulta' |
reverse | <function reverse at 0x7f6c8502fd90> |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch("Reverse for 'apps.website.views.opcaoConsulta' with arguments '('organograma',)' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7f6c81a92708>) |
current_app | None |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
url | '' |
self | <django.template.defaulttags.URLNode object at 0x7f6c81e6a898> |
kwargs | {} |
project_name | 'prefeitura_digital' |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
args | ['organograma'] |
/usr/local/lib/python3.4/site-packages/django/utils/six.py
in reraise
def reraise(tp, value, tb=None):
if value is None:
value = tp()
if value.__traceback__ is not tb:
raise value.with_traceback(tb)
raise value...
else:
def exec_(_code_, _globs_=None, _locs_=None):
"""Execute code in a namespace."""
if _globs_ is None:
frame = sys._getframe(1)
Variable | Value |
---|---|
value | NoReverseMatch("Reverse for 'apps.website.views.opcaoConsulta' with arguments '('organograma',)' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
tb | <traceback object at 0x7f6c81a92708> |
tp | <class 'django.core.urlresolvers.NoReverseMatch'> |
/usr/local/lib/python3.4/site-packages/django/template/defaulttags.py
in render
# Try to look up the URL twice: once given the view name, and again
# relative to what we guess is the "main" app. If they both fail,
# re-raise the NoReverseMatch unless we're using the
# {% url ... as var %} construct in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
exc_info = sys.exc_info()
if settings.SETTINGS_MODULE:
project_name = settings.SETTINGS_MODULE.split('.')[0]
try:
url = reverse(project_name + '.' + view_name,
Variable | Value |
---|---|
view_name | 'apps.website.views.opcaoConsulta' |
reverse | <function reverse at 0x7f6c8502fd90> |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch("Reverse for 'apps.website.views.opcaoConsulta' with arguments '('organograma',)' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7f6c81a92708>) |
current_app | None |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
url | '' |
self | <django.template.defaulttags.URLNode object at 0x7f6c81e6a898> |
kwargs | {} |
project_name | 'prefeitura_digital' |
context | [{'None': None, 'True': True, 'False': False}, {}, {'form': <PasswordResetForm bound=False, valid=Unknown, fields=(email)>, 'title': 'Recuperar senha'}] |
args | ['organograma'] |
/usr/local/lib/python3.4/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
path | [] |
resolver | <RegexURLResolver 'prefeitura_digital.urls' (None:None) ^/> |
urlconf | 'prefeitura_digital.urls' |
viewname | 'apps.website.views.opcaoConsulta' |
resolved_path | [] |
current_app | None |
args | ['organograma'] |
view | 'apps.website.views.opcaoConsulta' |
ns_pattern | '' |
parts | ['apps.website.views.opcaoConsulta'] |
kwargs | {} |
prefix | '/' |
/usr/local/lib/python3.4/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
prefix_norm | '/' |
original_lookup | 'apps.website.views.opcaoConsulta' |
args | ('organograma',) |
_prefix | '/' |
m | None |
n | None |
text_args | ['organograma'] |
text_kwargs | {} |
patterns | [] |
kwargs | {} |
possibilities | [] |
self | <RegexURLResolver 'prefeitura_digital.urls' (None:None) ^/> |
lookup_view_s | 'apps.website.views.opcaoConsulta' |
lookup_view | 'apps.website.views.opcaoConsulta' |
prefix_args | [] |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.run_once | False |
wsgi.input | <gunicorn.http.body.Body object at 0x7f6c81bf6eb8> |
PATH_INFO | '/admin/password_reset/' |
SERVER_PORT | '8029' |
SCRIPT_NAME | '' |
HTTP_X_FORWARDED_FOR | '3.235.229.251' |
REMOTE_ADDR | '172.17.0.1' |
HTTP_USER_AGENT | 'claudebot' |
wsgi.url_scheme | 'http' |
SERVER_PROTOCOL | 'HTTP/1.0' |
REQUEST_METHOD | 'GET' |
QUERY_STRING | '' |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6c81bf67f0> |
wsgi.file_wrapper | '' |
wsgi.multiprocess | False |
HTTP_HOST | 'transparencia.massapedopiaui.pi.gov.br' |
SERVER_SOFTWARE | 'gunicorn/19.7.1' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.2', 8029), raddr=('172.17.0.1', 39164)> |
RAW_URI | '/admin/password_reset/' |
wsgi.multithread | False |
SERVER_NAME | '0.0.0.0' |
CSRF_COOKIE | 'qKDfE5sdhlDAw19uPOYj0fcf4Rdf9zRp' |
HTTP_CONNECTION | 'close' |
HTTP_ACCEPT | '*/*' |
REMOTE_PORT | '39164' |
wsgi.version | (1, 0) |
prefeitura_digital.settings
Setting | Value |
---|---|
ROOT_URLCONF | 'prefeitura_digital.urls' |
MINIO_STORAGE_ACCESS_KEY | '********************' |
MONTH_DAY_FORMAT | 'F j' |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
SECURE_SSL_REDIRECT | False |
EMAIL_PORT | 587 |
STATICFILES_DIRS | ('/var/www/media/static',) |
CSRF_COOKIE_DOMAIN | None |
DEFAULT_INDEX_TABLESPACE | '' |
EMAIL_SSL_KEYFILE | '********************' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
DATABASE_ROUTERS | [] |
APPEND_SLASH | True |
SESSION_COOKIE_PATH | '/' |
LOGOUT_URL | '/accounts/logout/' |
FORCE_SCRIPT_NAME | None |
SUIT_CONFIG | {'ADMIN_NAME': 'BluBots', 'MENU': ({'app': 'core', 'color': 'bg-green', 'icon': 'ion ion-ios7-briefcase-outline', 'label': 'Institucional'}, {'app': 'covid', 'color': 'bg-aqua', 'icon': 'ion ion-ios7-briefcase-outline', 'label': 'Covid-19'}, {'app': 'despesas', 'color': 'bg-red', 'icon': 'ion ion-calculator', 'label': 'Despesas'}, {'app': 'diarias', 'color': 'bg-red', 'icon': 'ion ion-pie-graph', 'label': 'Diarias'}, {'app': 'esic', 'color': 'bg-blue', 'icon': 'ion ion-chatbubble-working', 'label': 'Esic'}, {'app': 'informativos', 'color': 'bg-blue', 'icon': 'ion ion-map', 'label': 'Informativos'}, {'app': 'legislacao', 'color': 'bg-green', 'icon': 'ion ion-clipboard', 'label': 'Legislacao'}, {'app': 'licitacao', 'color': 'bg-blue', 'icon': 'ion ion-compose', 'label': 'Licitação'}, {'app': 'receitas', 'color': 'bg-red', 'icon': 'ion ion-android-folder', 'label': 'Receitas'}, {'app': 'relatorios', 'color': 'bg-red', 'icon': 'ion ion-connection-bars', 'label': 'Relatorios'}, {'app': 'servidores', 'color': 'bg-orange', 'icon': 'ion ion-person-stalker', 'label': 'Servidores'}, {'app': 'contratos', 'color': 'bg-blue', 'icon': 'ion ion-person-stalker', 'label': 'Contratos'}, {'app': 'extratos', 'color': 'bg-yellow', 'icon': 'ion ion-person-stalker', 'label': 'Extratos'}, {'icon': 'ion ion-ios7-cog', 'label': 'Configuração', 'models': ('auth.group', 'sites.site', 'flatpages.flatpage')})} |
STATIC_URL | '/static/' |
EMAIL_HOST | 'smtp.gmail.com' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
LANGUAGE_COOKIE_AGE | None |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'prefeitura_digital.context_processors.estaticos']}}] |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CSRF_COOKIE_AGE | 31449600 |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
DEFAULT_CONTENT_TYPE | 'text/html' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SESSION_FILE_PATH | None |
TEMPLATE_DEBUG | False |
MIDDLEWARE_CLASSES | ('prefeitura_digital.middleware.SubdomainMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware') |
FILE_CHARSET | 'utf-8' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
SESSION_COOKIE_HTTPONLY | True |
EMAIL_TIMEOUT | None |
SESSION_COOKIE_AGE | 1209600 |
INSTALLED_APPS | ('suit', 'ckeditor', 'easy_pdf', 'reportlab', 'xhtml2pdf', 'widget_tweaks', 'easy_thumbnails', 'minio_storage', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'apps.contratos', 'apps.core', 'apps.despesas', 'apps.legislacao', 'apps.licitacao', 'apps.migracao', 'apps.receitas', 'apps.servidores', 'apps.website', 'apps.relatorios', 'apps.diarias', 'apps.esic', 'apps.informativos', 'apps.extratos', 'apps.covid') |
SESSION_SAVE_EVERY_REQUEST | False |
FORMAT_MODULE_PATH | None |
SETTINGS_MODULE | 'prefeitura_digital.settings' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
LANGUAGE_COOKIE_PATH | '/' |
SESSION_COOKIE_DOMAIN | None |
TEMPLATE_STRING_IF_INVALID | '' |
EMAIL_HOST_PASSWORD | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
BASE_DIR | '/var/www' |
LANGUAGE_COOKIE_DOMAIN | None |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '108.61.205.61', 'NAME': 'transparencia_py3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'America/Fortaleza', 'USER': 'root'}} |
SESSION_COOKIE_SECURE | False |
SECURE_PROXY_SSL_HEADER | None |
USE_ETAGS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
EMAIL_USE_SSL | False |
ADMINS | () |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
THOUSAND_SEPARATOR | ',' |
CSRF_COOKIE_NAME | 'csrftoken' |
PASSWORD_HASHERS | '********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CSRF_COOKIE_SECURE | False |
SECRET_KEY | '********************' |
DEBUG | True |
SECURE_SSL_HOST | None |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
NUMBER_GROUPING | 0 |
SESSION_CACHE_ALIAS | 'default' |
SECURE_REDIRECT_EXEMPT | [] |
FIXTURE_DIRS | () |
LOCALE_PATHS | () |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DEFAULT_TABLESPACE | '' |
USE_I18N | True |
MINIO_STORAGE_USE_HTTPS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
WSGI_APPLICATION | 'prefeitura_digital.wsgi.application' |
MIGRATION_MODULES | {} |
DECIMAL_SEPARATOR | '.' |
LANGUAGE_COOKIE_NAME | 'django_language' |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
TIME_FORMAT | 'P' |
EMAIL_SSL_CERTFILE | None |
USE_TZ | False |
LANGUAGE_CODE | 'pt-BR' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
DATE_FORMAT | 'N j, Y' |
ALLOWED_INCLUDE_ROOTS | () |
DATETIME_FORMAT | 'N j, Y, P' |
INTERNAL_IPS | () |
SECURE_CONTENT_TYPE_NOSNIFF | False |
USE_X_FORWARDED_HOST | False |
MEDIA_ROOT | '/var/www/media' |
MANAGERS | () |
TIME_ZONE | 'America/Fortaleza' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATIC_ROOT | '/var/www/static' |
SECURE_HSTS_SECONDS | 0 |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
TEST_NON_SERIALIZED_APPS | [] |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
LOGIN_URL | '/admin/' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SILENCED_SYSTEM_CHECKS | [] |
EMAIL_USE_TLS | True |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
EMAIL_HOST_USER | 'transparenciamunicipal2018@gmail.com' |
MEDIA_URL | 'http://minio.blubots.com/media-minio/' |
DEFAULT_FILE_STORAGE | 'minio_storage.storage.MinioMediaStorage' |
CACHE_MIDDLEWARE_SECONDS | 600 |
YEAR_MONTH_FORMAT | 'F Y' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
FIRST_DAY_OF_WEEK | 0 |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
LOG_LEVEL | 'DEBUG' |
USE_L10N | True |
CSRF_COOKIE_HTTPONLY | False |
DISALLOWED_USER_AGENTS | () |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
LOGGING | {} |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
DEFAULT_CHARSET | 'utf-8' |
USE_THOUSAND_SEPARATOR | False |
MINIO_STORAGE_ENDPOINT | '108.61.205.61:9002' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
ALLOWED_HOSTS | ['*'] |
MINIO_STORAGE_SECRET_KEY | '********************' |
MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
FILE_UPLOAD_PERMISSIONS | None |
AUTH_USER_MODEL | 'core.Usuario' |
PREPEND_WWW | False |
CSRF_COOKIE_PATH | '/' |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
SERVER_EMAIL | 'root@localhost' |
TEMPLATE_DIRS | () |
IGNORABLE_404_URLS | () |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
CACHE_MIDDLEWARE_ALIAS | 'default' |
MINIO_STORAGE_MEDIA_BUCKET_NAME | 'media-minio' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.