Could not parse the remainder: ')' from ')'
Request Method: | GET |
---|---|
Request URL: | https://selecao.uncisal.edu.br/objetoselecao/17/ |
Django Version: | 1.9.1 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: ')' from ')' |
Exception Location: | /srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/base.py in parse, line 514 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 2.7.18 |
Python Path: | ['/srv/http/processoseletivo/processoseletivo;/srv/http/processoseletivo', '.', '', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/srv/http/envs/selecoes_env/lib/python2.7/site-packages'] |
Server time: | Sex, 29 Mar 2024 09:09:01 -0300 |
In template /srv/http/processoseletivo/templates/cadastro/objetoselecao.html
, error at line 24
14 | |
---|---|
15 | {% if objetoselecao %} |
16 | |
17 | <form action="{% url 'inscrever' objetoselecao.id %}" method="GET"> |
18 | {%csrf_token%} |
19 | |
20 | <ul> |
21 | <li> Descrição: {{objetoselecao.nome}} </li> |
22 | <li> Escolaridade: {{objetoselecao.escolaridade.descricao}} </li> |
23 | <li> Valor da Taxa de Inscrição: R$ {{objetoselecao.taxa_inscricao}} </li> |
24 | {% if objetoselecao.remuneracao > 0 ) %} |
25 | <li> Salário Base: R$ {{objetoselecao.remuneracao}} </li> |
26 | {% endif %} |
27 | <li> Número de Vagas: h {{objetoselecao.vagas}} </li> |
28 | {% if objetoselecao.vagas_especiais > 0 ) %} |
29 | <li> Número de Vagas Especiais: {{objetoselecao.vagas_especiais}} </li> |
30 | {% endif %} |
31 | </ul> |
32 | {#<input id="objetoselecao" type="hidden" value="{{objetoselecao.id}}"/>#} |
33 | <div>Etapas:</div> |
34 | {%for etapa in objetoselecao.etapa_set.all%} |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
e | TemplateSyntaxError(u"Could not parse the remainder: ')' from ')'",) |
callback_args | () |
resolver_match | ResolverMatch(func=cadastro.views.objetoselecao, args=(), kwargs={'objetoselecao_id': u'17'}, url_name=objetoselecao, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fdcff48fe50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fdd014c80d0> |
request | <WSGIRequest: GET '/objetoselecao/17/'> |
callback | <function objetoselecao at 0x7fdcff44a150> |
wrapped_callback | <function objetoselecao at 0x7fdcff44a150> |
resolver | <RegexURLResolver 'processoseletivo.urls' (None:None) ^/> |
callback_kwargs | {'objetoselecao_id': u'17'} |
response | None |
urlconf | 'processoseletivo.urls' |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
e | TemplateSyntaxError(u"Could not parse the remainder: ')' from ')'",) |
callback_args | () |
resolver_match | ResolverMatch(func=cadastro.views.objetoselecao, args=(), kwargs={'objetoselecao_id': u'17'}, url_name=objetoselecao, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fdcff48fe50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fdd014c80d0> |
request | <WSGIRequest: GET '/objetoselecao/17/'> |
callback | <function objetoselecao at 0x7fdcff44a150> |
wrapped_callback | <function objetoselecao at 0x7fdcff44a150> |
resolver | <RegexURLResolver 'processoseletivo.urls' (None:None) ^/> |
callback_kwargs | {'objetoselecao_id': u'17'} |
response | None |
urlconf | 'processoseletivo.urls' |
./cadastro/views.py
in objetoselecao
except ObjetoSelecao.DoesNotExist:
raise Http404("Seleção nao existe")
return selecao
def objetoselecao(request, objetoselecao_id):
objetoselecao = getObjetoSelecaoByid(objetoselecao_id)
inscricaoaberta = inscricaoAberta(objetoselecao_id)
return render(request, "cadastro/objetoselecao.html", {"objetoselecao" : objetoselecao, "inscricaoaberta": inscricaoaberta})...
def getProcessoSeletivoByid(processoseletivo_id):
try:
processo_seletivo = ProcessoSeletivo.getById(processoseletivo_id)
except ProcessoSeletivo.DoesNotExist:
Variable | Value |
---|---|
objetoselecao | <ObjetoSelecao: Residência em Medicina - Psiquiatria / 2 vaga(s)> |
inscricaoaberta | False |
request | <WSGIRequest: GET '/objetoselecao/17/'> |
objetoselecao_id | u'17' |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/shortcuts.py
in render
if (context_instance is _context_instance_undefined
and current_app is _current_app_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
# In Django 1.10, request should become a positional argument.
content = loader.render_to_string(
template_name, context, request=request, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
if context_instance is not _context_instance_undefined:
if current_app is not _current_app_undefined:
raise ValueError('If you provide a context_instance you must '
Variable | Value |
---|---|
dirs | <object object at 0x7fdd01152140> |
status | None |
content_type | None |
dictionary | <object object at 0x7fdd01152130> |
template_name | 'cadastro/objetoselecao.html' |
current_app | <object object at 0x7fdd011520e0> |
request | <WSGIRequest: GET '/objetoselecao/17/'> |
context_instance | <object object at 0x7fdd01152110> |
context | {'inscricaoaberta': False, 'objetoselecao': <ObjetoSelecao: Residência em Medicina - Psiquiatria / 2 vaga(s)>} |
using | None |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
if (context_instance is _context_instance_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)...
return template.render(context, request)
else:
chain = []
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
Variable | Value |
---|---|
dirs | <object object at 0x7fdd01152140> |
dictionary | <object object at 0x7fdd01152130> |
template_name | 'cadastro/objetoselecao.html' |
request | <WSGIRequest: GET '/objetoselecao/17/'> |
context_instance | <object object at 0x7fdd01152110> |
context | {'inscricaoaberta': False, 'objetoselecao': <ObjetoSelecao: Residência em Medicina - Psiquiatria / 2 vaga(s)>} |
using | None |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/loader.py
in get_template
chain = []
engines = _engine_list(using)
for engine in engines:
try:
# This is required for deprecating the dirs argument. Simply
# return engine.get_template(template_name) in Django 1.10.
if isinstance(engine, DjangoTemplates):
return engine.get_template(template_name, dirs)...
elif dirs is not _dirs_undefined:
warnings.warn(
"Skipping template backend %s because its get_template "
"method doesn't support the dirs argument." % engine.name,
stacklevel=2)
else:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x7fdcfd4fb0d0> |
dirs | <object object at 0x7fdd01152140> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7fdcfd4fb0d0>] |
chain | [] |
template_name | 'cadastro/objetoselecao.html' |
using | None |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/backends/django.py
in get_template
self.engine = Engine(self.dirs, self.app_dirs, **options)
def from_string(self, template_code):
return Template(self.engine.from_string(template_code), self)
def get_template(self, template_name, dirs=_dirs_undefined):
try:
return Template(self.engine.get_template(template_name, dirs), self)...
except TemplateDoesNotExist as exc:
reraise(exc, self)
def get_templatetag_libraries(self, custom_libraries):
"""
Return a collation of template tag libraries from installed
Variable | Value |
---|---|
dirs | <object object at 0x7fdd01152140> |
template_name | 'cadastro/objetoselecao.html' |
self | <django.template.backends.django.DjangoTemplates object at 0x7fdcfd4fb0d0> |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/engine.py
in get_template
if dirs is _dirs_undefined:
dirs = None
else:
warnings.warn(
"The dirs argument of get_template is deprecated.",
RemovedInDjango110Warning, stacklevel=2)
template, origin = self.find_template(template_name, dirs)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
# This method was originally a function defined in django.template.loader.
Variable | Value |
---|---|
dirs | None |
template_name | 'cadastro/objetoselecao.html' |
self | <django.template.engine.Engine object at 0x7fdcfd45da10> |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/engine.py
in find_template
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
if loader.supports_recursion:
try:
template = loader.get_template(
name, template_dirs=dirs, skip=skip,...
)
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
else:
# RemovedInDjango20Warning: Use old api for non-recursive
Variable | Value |
---|---|
dirs | None |
tried | [] |
skip | None |
self | <django.template.engine.Engine object at 0x7fdcfd45da10> |
loader | <django.template.loaders.filesystem.Loader object at 0x7fdcfd436a90> |
name | 'cadastro/objetoselecao.html' |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/loaders/base.py
in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(
contents, origin, origin.template_name, self.engine,...
)
raise TemplateDoesNotExist(template_name, tried=tried)
def load_template(self, template_name, template_dirs=None):
warnings.warn(
Variable | Value |
---|---|
origin | <django.template.base.Origin object at 0x7fdcfd2043d0> |
template_dirs | None |
tried | [] |
skip | None |
self | <django.template.loaders.filesystem.Loader object at 0x7fdcfd436a90> |
args | ['cadastro/objetoselecao.html', None] |
template_name | 'cadastro/objetoselecao.html' |
contents | u'{% extends "modelos/base_modelo.html" %}\n{% block content %}\n\n\n{% block nav-global %}{% endblock %}\n\n{% block content_title %}{% endblock %}\n\n{% block breadcrumbs %}{% endblock %}\n\n<h2>{{ objetoselecao.processo_seletivo.nome }}</h2>\n\n{% if error_message %} <p><strong>{{ error_message }}</strong></p> {% endif %}\n\n{% if objetoselecao %}\n\n<form action="{% url \'inscrever\' objetoselecao.id %}" method="GET">\n{%csrf_token%}\n\t\n <ul>\n \t<li> Descri\xe7\xe3o: {{objetoselecao.nome}} </li>\n \t<li> Escolaridade: {{objetoselecao.escolaridade.descricao}} </li>\n <li> Valor da Taxa de Inscri\xe7\xe3o: R$ {{objetoselecao.taxa_inscricao}} </li>\n{% if objetoselecao.remuneracao > 0 ) %}\n <li> Sal\xe1rio Base: R$ {{objetoselecao.remuneracao}} </li>\n{% endif %}\n \t<li> N\xfamero de Vagas: h {{objetoselecao.vagas}} </li>\n{% if objetoselecao.vagas_especiais > 0 ) %}\n \t<li> N\xfamero de Vagas Especiais: {{objetoselecao.vagas_especiais}} </li>\n{% endif %}\n </ul>\n{#<input id="objetoselecao" type="hidden" value="{{objetoselecao.id}}"/>#}\n <div>Etapas:</div>\n {%for etapa in objetoselecao.etapa_set.all%}\n \t<ul> \t\n\t\t\t<li><h4><strong>{{etapa.data_inicio | date:"d/m/Y" }} - {{etapa.data_fim | date:"d/m/Y" }}</strong> - {{etapa.descricao}}</h4></li>\n\t\t</ul>\n\t{%endfor%}\n\t<div>Inscri\xe7\xf5es:</div>\n\t{% if inscricoes %}\n\t{% if inscricoes|length > 0 %}\n\t {% for inscricao in inscricoes %}\n\t <ul>\n\t <li>{{ inscricao.objeto_selecao.processo_seletivo.nome }} - {{ inscricao.objeto_selecao.nome }}</li>\n\t </ul>\n\t {% endfor %}\n\t{% endif %}\n{% endif %}\n\n{% if inscricaoaberta %} \n\t<p> <input type="submit" value="Realizar Inscri\xe7\xe3o" /> </p> \n{% else %}\n\t<p style="color: #f00;"> <strong> Inscri\xe7\xf5es Encerradas! </strong></p>\n{% endif %} \n\t\n</form> \n{% else %}\n <p>Nenhuma sele\xe7\xe3o com este nome</p>\n{% endif %}\t\t\n\t\n\n<a href="{% url \'home_index\' %}">P\xe1gina inicial</a>\n\n{% endblock %}\n' |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/base.py
in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = template_string
self.nodelist = self.compile_nodelist()...
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7fdcfd45da10> |
origin | <django.template.base.Origin object at 0x7fdcfd2043d0> |
self | <django.template.base.Template object at 0x7fdcfd204110> |
name | 'cadastro/objetoselecao.html' |
template_string | u'{% extends "modelos/base_modelo.html" %}\n{% block content %}\n\n\n{% block nav-global %}{% endblock %}\n\n{% block content_title %}{% endblock %}\n\n{% block breadcrumbs %}{% endblock %}\n\n<h2>{{ objetoselecao.processo_seletivo.nome }}</h2>\n\n{% if error_message %} <p><strong>{{ error_message }}</strong></p> {% endif %}\n\n{% if objetoselecao %}\n\n<form action="{% url \'inscrever\' objetoselecao.id %}" method="GET">\n{%csrf_token%}\n\t\n <ul>\n \t<li> Descri\xe7\xe3o: {{objetoselecao.nome}} </li>\n \t<li> Escolaridade: {{objetoselecao.escolaridade.descricao}} </li>\n <li> Valor da Taxa de Inscri\xe7\xe3o: R$ {{objetoselecao.taxa_inscricao}} </li>\n{% if objetoselecao.remuneracao > 0 ) %}\n <li> Sal\xe1rio Base: R$ {{objetoselecao.remuneracao}} </li>\n{% endif %}\n \t<li> N\xfamero de Vagas: h {{objetoselecao.vagas}} </li>\n{% if objetoselecao.vagas_especiais > 0 ) %}\n \t<li> N\xfamero de Vagas Especiais: {{objetoselecao.vagas_especiais}} </li>\n{% endif %}\n </ul>\n{#<input id="objetoselecao" type="hidden" value="{{objetoselecao.id}}"/>#}\n <div>Etapas:</div>\n {%for etapa in objetoselecao.etapa_set.all%}\n \t<ul> \t\n\t\t\t<li><h4><strong>{{etapa.data_inicio | date:"d/m/Y" }} - {{etapa.data_fim | date:"d/m/Y" }}</strong> - {{etapa.descricao}}</h4></li>\n\t\t</ul>\n\t{%endfor%}\n\t<div>Inscri\xe7\xf5es:</div>\n\t{% if inscricoes %}\n\t{% if inscricoes|length > 0 %}\n\t {% for inscricao in inscricoes %}\n\t <ul>\n\t <li>{{ inscricao.objeto_selecao.processo_seletivo.nome }} - {{ inscricao.objeto_selecao.nome }}</li>\n\t </ul>\n\t {% endfor %}\n\t{% endif %}\n{% endif %}\n\n{% if inscricaoaberta %} \n\t<p> <input type="submit" value="Realizar Inscri\xe7\xe3o" /> </p> \n{% else %}\n\t<p style="color: #f00;"> <strong> Inscri\xe7\xf5es Encerradas! </strong></p>\n{% endif %} \n\t\n</form> \n{% else %}\n <p>Nenhuma sele\xe7\xe3o com este nome</p>\n{% endif %}\t\t\n\t\n\n<a href="{% url \'home_index\' %}">P\xe1gina inicial</a>\n\n{% endblock %}\n' |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/base.py
in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
)
try:
return parser.parse()...
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
tokens | [<django.template.base.Token object at 0x7fdcfcf421d0>, <django.template.base.Token object at 0x7fdcfcf42210>, <django.template.base.Token object at 0x7fdcfcf426d0>, <django.template.base.Token object at 0x7fdcfcf429d0>, <django.template.base.Token object at 0x7fdcfd3cc250>, <django.template.base.Token object at 0x7fdcfd3ccdd0>, <django.template.base.Token object at 0x7fdcfd3cc210>, <django.template.base.Token object at 0x7fdcfd3cccd0>, <django.template.base.Token object at 0x7fdcfd3cc490>, <django.template.base.Token object at 0x7fdcfcd72ed0>, <django.template.base.Token object at 0x7fdcfcd72ad0>, <django.template.base.Token object at 0x7fdcfcd72cd0>, <django.template.base.Token object at 0x7fdcfcd723d0>, <django.template.base.Token object at 0x7fdcfcd72810>, <django.template.base.Token object at 0x7fdcfcd722d0>, <django.template.base.Token object at 0x7fdcfcd72f10>, <django.template.base.Token object at 0x7fdcfcd72110>, <django.template.base.Token object at 0x7fdcfcd72e50>, <django.template.base.Token object at 0x7fdcfcd727d0>, <django.template.base.Token object at 0x7fdcfcd72410>, <django.template.base.Token object at 0x7fdcfcd72450>, <django.template.base.Token object at 0x7fdcfcd72650>, <django.template.base.Token object at 0x7fdcfcd72990>, <django.template.base.Token object at 0x7fdcfcd72790>, <django.template.base.Token object at 0x7fdcfcd72750>, <django.template.base.Token object at 0x7fdcfcd72b10>, <django.template.base.Token object at 0x7fdcfcd72dd0>, <django.template.base.Token object at 0x7fdcfcd72e10>, <django.template.base.Token object at 0x7fdcfcd72a90>, <django.template.base.Token object at 0x7fdcfcd72710>, <django.template.base.Token object at 0x7fdcfcd72690>, <django.template.base.Token object at 0x7fdcfcd72150>, <django.template.base.Token object at 0x7fdcfcd72890>, <django.template.base.Token object at 0x7fdcfcd72c50>, <django.template.base.Token object at 0x7fdcfcd72550>, <django.template.base.Token object at 0x7fdcfcd72b50>, <django.template.base.Token object at 0x7fdcfcd725d0>, <django.template.base.Token object at 0x7fdcfcd72b90>, <django.template.base.Token object at 0x7fdcfcd724d0>, <django.template.base.Token object at 0x7fdcfcd726d0>, <django.template.base.Token object at 0x7fdcfcd72190>, <django.template.base.Token object at 0x7fdcfcd72290>, <django.template.base.Token object at 0x7fdcfcd72950>, <django.template.base.Token object at 0x7fdcfcd72390>, <django.template.base.Token object at 0x7fdcfcd72d90>, <django.template.base.Token object at 0x7fdcfcd72610>, <django.template.base.Token object at 0x7fdcfcd72910>, <django.template.base.Token object at 0x7fdcfcd72590>, <django.template.base.Token object at 0x7fdcfcd728d0>, <django.template.base.Token object at 0x7fdcfcd72850>, <django.template.base.Token object at 0x7fdcfcd721d0>, <django.template.base.Token object at 0x7fdcfcd72a10>, <django.template.base.Token object at 0x7fdcfcd72a50>, <django.template.base.Token object at 0x7fdcfd08ad90>, <django.template.base.Token object at 0x7fdcfd204210>] |
self | <django.template.base.Template object at 0x7fdcfd204110> |
parser | <django.template.base.Parser object at 0x7fdcfd08a890> |
e | TemplateSyntaxError(u"Could not parse the remainder: ')' from ')'",) |
lexer | <django.template.base.DebugLexer object at 0x7fdcfd4367d0> |
/srv/http/envs/selecoes_env/lib/python2.7/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)...
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
nodelist | [] |
compile_func | <function do_extends at 0x7fdd010f3650> |
self | <django.template.base.Parser object at 0x7fdcfd08a890> |
token | <django.template.base.Token object at 0x7fdcfd204810> |
parse_until | [] |
command | u'extends' |
e | TemplateSyntaxError(u"Could not parse the remainder: ')' from ')'",) |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/objetoselecao/17/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'selecao.uncisal.edu.br' |
REMOTE_ADDR | '44.195.30.216' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'uncisal-prod-04-shank' |
DOCUMENT_ROOT | '/srv/http/processoseletivo' |
wsgi.input | <uwsgi._Input object at 0x7fdcfd239810> |
HTTP_HOST | 'selecao.uncisal.edu.br' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/objetoselecao/17/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7fdd018c4f60> |
REMOTE_PORT | '33992' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.19.1' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
processoseletivo.settings
Setting | Value |
---|---|
NORECAPTCHA_SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'pt-br' |
ROOT_URLCONF | 'processoseletivo.urls' |
MANAGERS | [] |
BASE_DIR | '/srv/http/processoseletivo' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/srv/http/processoseletivo/static' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '172.16.45.227', 'NAME': 'selecoes_new', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'pic'}, 'qga': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '10.50.120.16', 'NAME': 'sagu2', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}, 'quest_generico': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '10.50.120.16', 'NAME': 'sagu2', 'OPTIONS': {'options': '-c search_path=questionario_generico'}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}, 'uncisat': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '172.21.0.15', 'NAME': 'oficinas', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'oficinas'}, 'vestibular': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '172.21.0.15', 'NAME': 'processo_seletivo', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'vestibular'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
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'] |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | [] |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
NORECAPTCHA_SITE_KEY | u'********************' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', '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'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'processoseletivo.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
DATA_NOTICIAS | 30 |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'nested_inline', 'nocaptcha_recaptcha', 'cadastro', 'inscricao', 'recurso', 'vestibular', 'uncisat'] |
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-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('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-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | [] |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
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'] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
TEMPLATE_DIRS | [] |
DB_MAIL_FILE | 'settings_local_prod.py' |
FIXTURE_DIRS | [] |
EMAIL_HOST | 'smtp.gmail.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/srv/http/processoseletivo/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | [] |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'mailer@uncisal.edu.br' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
MAX_UPLOAD_SIZE | 20971520 |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/srv/http/processoseletivo/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.media']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'America/Maceio' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
MODO | 'PRODUCAO' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'processoseletivo.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
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'] |
EMAIL_HOST_USER | 'mailer@uncisal.edu.br' |
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.