Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\d+)/(?P<match_type>[-\\w]+)$']
Request Method: | GET |
---|---|
Request URL: | https://ligasmunicipales.ayto-pinto.es/deportes/competitions/referees/set/match/record/972/league |
Django Version: | 1.11.24 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\d+)/(?P<match_type>[-\\w]+)$'] |
Exception Location: | /opt/envs/sdpinto/lib/python2.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.17 |
Python Path: | ['/var/www/django/deportes2/deportes2', '/opt/envs/sdpinto/lib/python2.7/site-packages', '/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', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/var/www/django/deportes2'] |
Server time: | Vie, 29 Mar 2024 02:24:46 +0000 |
In template /var/www/django/deportes2/sdull_common_app/templates/sdull_common/front-base.html
, error at line 0
1 | {% load i18n staticfiles sdull_common_tags activities_filters app_tags %} |
---|---|
2 | <!DOCTYPE html> |
3 | <html lang="es"> |
4 | |
5 | <head> |
6 | <meta charset="utf-8"> |
7 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
9 | <meta name="description" content="{% settings_value "APP_NAME" %}"> |
10 | <meta name="keywords" content="{% settings_value "APP_NAME" %}" /> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f0162a86450>> |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x7f015876f050>> |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0162a86450> |
/opt/envs/sdpinto/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 |
---|---|
callback | <function set_match_record at 0x7f0156fbc5d0> |
callback_args | () |
callback_kwargs | {'match_id': u'972', 'match_type': u'league'} |
e | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f015876f110>> |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
resolver | <RegexURLResolver 'deportes2.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=competitions.referees.set_match_record, args=(), kwargs={'match_type': u'league', 'match_id': u'972'}, url_name=set_match_record, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0162a86450> |
wrapped_callback | <function set_match_record at 0x7f0156fbc5d0> |
/opt/envs/sdpinto/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 |
---|---|
callback | <function set_match_record at 0x7f0156fbc5d0> |
callback_args | () |
callback_kwargs | {'match_id': u'972', 'match_type': u'league'} |
e | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f015876f110>> |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
resolver | <RegexURLResolver 'deportes2.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=competitions.referees.set_match_record, args=(), kwargs={'match_type': u'league', 'match_id': u'972'}, url_name=set_match_record, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0162a86450> |
wrapped_callback | <function set_match_record at 0x7f0156fbc5d0> |
/var/www/django/deportes2/competitions/referees.py
in set_match_record
context = {'match_type': match_type }
match = get_match(match_id, match_type)
if match:
context['match'] = match
else:
context['error'] = "Error al buscar el partido solicitado."
return render(request, "referees/match_record_edit.html", context)...
#Deprecated
def print_match_record(request, match_id, match_type):
context = {'match_type': match_type }
context['match'] = get_match(match_id, match_type)
#form = MatchScoreForm(match)
Variable | Value |
---|---|
context | {'error': 'Error al buscar el partido solicitado.', 'match_type': u'league'} |
match | None |
match_id | u'972' |
match_type | u'league' |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, **kwargs):
"""
Returns an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'error': 'Error al buscar el partido solicitado.', 'match_type': u'league'} |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
status | None |
template_name | 'referees/match_record_edit.html' |
using | None |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
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)...
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'error': 'Error al buscar el partido solicitado.', 'match_type': u'league'} |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
template | <django.template.backends.django.Template object at 0x7f0156be6790> |
template_name | 'referees/match_record_edit.html' |
using | None |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
request | <WSGIRequest: GET '/deportes/competitions/referees/set/match/record/972/league'> |
self | <django.template.backends.django.Template object at 0x7f0156be6790> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
self | <django.template.base.Template object at 0x7f01569a0e90> |
/opt/envs/sdpinto/lib/python2.7/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"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
self | <django.template.base.Template object at 0x7f01569a0e90> |
/opt/envs/sdpinto/lib/python2.7/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
node | <ExtendsNode: extends "sdull_common/front-base.html"> |
self | [<ExtendsNode: extends "sdull_common/front-base.html">] |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
e | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
self | <ExtendsNode: extends "sdull_common/front-base.html"> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/loader_tags.py
in render
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.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f01568899d0> |
blocks | {u'content': <Block Node: content. Contents: [<TextNode: u'\n '>]>, u'extra_footer': <Block Node: extra_footer. Contents: [<TextNode: u'\n '>]>, u'extra_head': <Block Node: extra_head. Contents: []>, u'footer': <Block Node: footer. Contents: [<TextNode: u'\t\n <footer class="'>, <django.template.library.SimpleNode object at 0x7f01567e43d0>, <TextNode: u'" class="thumbnail" style'>, <django.template.library.SimpleNode object at 0x7f01567e49d0>, <TextNode: u'</p> \n '>, <django.template.library.SimpleNode object at 0x7f01567e4810>, <TextNode: u' | Teléfono: '>, <django.template.library.SimpleNode object at 0x7f01567e41d0>, <TextNode: u'</p>\n '>, <django.template.library.SimpleNode object at 0x7f01567e4090>, <TextNode: u'" ><span class="fab fa-fa'>, <django.template.library.SimpleNode object at 0x7f01567e4410>, <TextNode: u'"><i class="fab fa-instag'>, <django.template.library.SimpleNode object at 0x7f01567e4c10>, <TextNode: u'"><i class="fab fa-twitte'>, <django.template.library.SimpleNode object at 0x7f01567e4b50>, <TextNode: u'"><i class="fab fa-linked'>, <django.template.library.SimpleNode object at 0x7f01567e47d0>, <TextNode: u'"><i class="fas fa-globe"'>]>, u'title': <Block Node: title. Contents: [<TextNode: u' '>, <django.template.library.SimpleNode object at 0x7f0156889510>, <TextNode: u' '>]>, u'ull_header': <Block Node: ull_header. Contents: [<TextNode: u'\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f0158f3afd0>, <TextNode: u'\n <nav class="navb'>, <django.template.library.SimpleNode object at 0x7f01567e4750>, <TextNode: u'" class="thumbnail" style'>, <django.template.library.SimpleNode object at 0x7f01567e4710>, <TextNode: u' </small></a>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f01567e44d0>, <TextNode: u'\n </ul>\n '>]>} |
compiled_parent | <django.template.base.Template object at 0x7f0156be6bd0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
node | <django.template.defaulttags.LoadNode object at 0x7f0156889610> |
self | <ExtendsNode: extends "sdull_common/front-base.html"> |
/opt/envs/sdpinto/lib/python2.7/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"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
self | <django.template.base.Template object at 0x7f0156be6bd0> |
/opt/envs/sdpinto/lib/python2.7/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n <div class="container-fluid">\n <div class="row">\n <div class="col-md-12" id="content" role="main"\t>\n ' |
bits | [u'', u'\n<!DOCTYPE html>\n<html lang="es">\n\n <head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <meta name="description" content="', u'Servicio de deportes del Ayuntamiento de Pinto.', u'">\n <meta name="keywords" content="', u'Servicio de deportes del Ayuntamiento de Pinto.', u'" />\n <meta name="author" content="', u'Servicio de deportes del Ayuntamiento de Pinto.', u'" />\n <title>', u' Servicio de deportes del Ayuntamiento de Pinto. ', u'</title>\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">\n <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>\n\n <link rel="stylesheet" href="', u'/static/css/style.css', u'">\n\t\t<link rel="stylesheet" href="', u'/static/css/cookiealert.css', u'">\n\t\t<link rel="stylesheet" href="', u'/static/css/foopicker.css', u'">\n\n <script src="https://kit.fontawesome.com/638f14f57f.js" crossorigin="anonymous"></script>\n <script src="', u'/static/js/utils.js', u'" crossorigin="anonymous"></script>\n\t\t<script src="', u'/static/js/foopicker.js', u'" crossorigin="aonymous"></script>\t\n <script src="https://cdn.tiny.cloud/1/4wbo594keuthutvayrg74mukg894c6j9dssdt8v5xqdpz9md/tinymce/5/tinymce.min.js"></script>\n\n\n ', u'\n<style>\n\n@media (max-width: 768px) {\n .card {\n max-width:95%!important;\n margin:auto!important;\n\n }\n}\n\n@media print {\n @page {\n }\n *{\n -webkit-print-color-adjust: exact;\n }\n body{ background:none }\n .btn {display:none}\n -webkit-print-color-adjust: exact;\n table { page-break-inside:auto; page-break-after:auto; }\n tr { page-break-inside:avoid !important; page-break-after:auto }\n thead { display:table-header-group }\n hr {\n display:none;\n }\n\n}\n</style>\n\n', u' \n </head>\n\n <body class="" style="width:100%;">\n ', u'\n <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'ZRIVqMChMpnbFXbrNf8dF1HCspzC8y7OC7ztbsfK0z7GiXTq5c81LDR4O1skVdqQ\' />\n <nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-2 d-print-none">\n <a class="navbar-brand" href="/"><img src="/static/images/pinto_brand.png" class="thumbnail" style="width:1.2em;"/> <small> Servicio de deportes del Ayuntamiento de Pinto. </small></a>\n <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">\n <span class="navbar-toggler-icon"></span>\n </button>\n\n <div class="collapse navbar-collapse" id="navbarSupportedContent" style="font-size:0.9em;">\n <ul class="navbar-nav ml-auto">\n \n\n<li class="nav-item "> \n <a class="nav-link active current" href="\\"><i class="fa fa-th small"></i> Inicio </a>\n</li>\n\n<li class="nav-item">\n <a href="/deportes/competitions/public/documents/" class="nav-link "><i class="fa fa-file-alt"></i> Documentos</a>\n</li>\n\n<li class="nav-item">\n <a href="/deportes/news/" class="nav-link "><i class="fa fa-newspaper"></i> Noticias</a>\n</li>\n\n\n <li class="nav-item">\n <a class="nav-link" href="/deportes/local/accounts/login/"> <i class="fas fa-sign-in-alt small"></i> Entrar </a>\n </li>\n\n\n </ul>\n </div>\n </nav>\n ', u'\n <div class="container-fluid">\n <div class="row">\n <div class="col-md-12" id="content" role="main"\t>\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
node | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f0156889610>, <TextNode: u'\n<!DOCTYPE html>\n<html la'>, <django.template.library.SimpleNode object at 0x7f0156889050>, <TextNode: u'">\n <meta name="ke'>, <django.template.library.SimpleNode object at 0x7f0156889c50>, <TextNode: u'" />\n <meta name="'>, <django.template.library.SimpleNode object at 0x7f0156889b50>, <TextNode: u'" />\n <title>'>, <Block Node: title. Contents: [<TextNode: u' '>, <django.template.library.SimpleNode object at 0x7f0156889510>, <TextNode: u' '>]>, <TextNode: u'</title>\n <link re'>, <django.templatetags.static.StaticNode object at 0x7f0156889f50>, <TextNode: u'">\n\t\t<link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f0156889790>, <TextNode: u'">\n\t\t<link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f0156889dd0>, <TextNode: u'">\n\n <script src="'>, <django.templatetags.static.StaticNode object at 0x7f0156889f10>, <TextNode: u'" crossorigin="anonymous"'>, <django.templatetags.static.StaticNode object at 0x7f015698a490>, <TextNode: u'" crossorigin="aonymous">'>, <Block Node: extra_head. Contents: []>, <TextNode: u' \n </head>\n\n <body '>, <Block Node: ull_header. Contents: [<TextNode: u'\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f0158f3afd0>, <TextNode: u'\n <nav class="navb'>, <django.template.library.SimpleNode object at 0x7f01567e4750>, <TextNode: u'" class="thumbnail" style'>, <django.template.library.SimpleNode object at 0x7f01567e4710>, <TextNode: u' </small></a>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f01567e44d0>, <TextNode: u'\n </ul>\n '>]>, <TextNode: u'\n <div class="cont'>, <Block Node: content. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n </div>\n '>, <Block Node: footer. Contents: [<TextNode: u'\t\n <footer class="'>, <django.template.library.SimpleNode object at 0x7f01567e43d0>, <TextNode: u'" class="thumbnail" style'>, <django.template.library.SimpleNode object at 0x7f01567e49d0>, <TextNode: u'</p> \n '>, <django.template.library.SimpleNode object at 0x7f01567e4810>, <TextNode: u' | Teléfono: '>, <django.template.library.SimpleNode object at 0x7f01567e41d0>, <TextNode: u'</p>\n '>, <django.template.library.SimpleNode object at 0x7f01567e4090>, <TextNode: u'" ><span class="fab fa-fa'>, <django.template.library.SimpleNode object at 0x7f01567e4410>, <TextNode: u'"><i class="fab fa-instag'>, <django.template.library.SimpleNode object at 0x7f01567e4c10>, <TextNode: u'"><i class="fab fa-twitte'>, <django.template.library.SimpleNode object at 0x7f01567e4b50>, <TextNode: u'"><i class="fab fa-linked'>, <django.template.library.SimpleNode object at 0x7f01567e47d0>, <TextNode: u'"><i class="fas fa-globe"'>]>, <TextNode: u'\n\n\n\t\t<!-- START Bootstrap'>, <django.templatetags.static.StaticNode object at 0x7f01567e40d0>, <TextNode: u'" ></script>\n\t\t<script sr'>, <django.templatetags.static.StaticNode object at 0x7f0156b5a310>, <TextNode: u'" crossorigin="anonymous"'>, <Block Node: extra_footer. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n </body>\n</html>\n'>] |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
e | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
self | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: u'\n\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n <div class="row d-pr'>, <django.templatetags.i18n.TranslateNode object at 0x7f0156b5b190>, <TextNode: u'</h4>\n <div class='>, <django.template.loader_tags.IncludeNode object at 0x7f0156b5be90>, <TextNode: u'\n\t\t\t\t </div>\n </di'>, <IfNode>, <TextNode: u'\n\n\n <div class'>, <django.template.defaulttags.URLNode object at 0x7f0156a12550>, <TextNode: u'">\n\n </div>\n '>, <IfNode>, <TextNode: u' \n '>, <django.template.defaulttags.CommentNode object at 0x7f01569a02d0>, <TextNode: u'\n </div>\n <'>, <Variable Node: match.referee.full_name>, <TextNode: u' </td> </tr>\n '>, <Variable Node: match.aux_referee.full_name>, <TextNode: u'</td> </tr>\n '>, <TextNode: u'\n\t\t\t\t\t '>, <IfNode>, <TextNode: u'\n\n </div>\n'>, <IfNode>, <TextNode: u'\n<div style="margin-top: '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f01568899d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
push | <Block Node: content. Contents: [<TextNode: u'\n\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n <div class="row d-pr'>, <django.templatetags.i18n.TranslateNode object at 0x7f0156b5b190>, <TextNode: u'</h4>\n <div class='>, <django.template.loader_tags.IncludeNode object at 0x7f0156b5be90>, <TextNode: u'\n\t\t\t\t </div>\n </di'>, <IfNode>, <TextNode: u'\n\n\n <div class'>, <django.template.defaulttags.URLNode object at 0x7f0156a12550>, <TextNode: u'">\n\n </div>\n '>, <IfNode>, <TextNode: u' \n '>, <django.template.defaulttags.CommentNode object at 0x7f01569a02d0>, <TextNode: u'\n </div>\n <'>, <Variable Node: match.referee.full_name>, <TextNode: u' </td> </tr>\n '>, <Variable Node: match.aux_referee.full_name>, <TextNode: u'</td> </tr>\n '>, <TextNode: u'\n\t\t\t\t\t '>, <IfNode>, <TextNode: u'\n\n </div>\n'>, <IfNode>, <TextNode: u'\n<div style="margin-top: '>]> |
self | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
/opt/envs/sdpinto/lib/python2.7/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n\n <div class="row ga-load-on-ready" id="general_score_container" data-ga-target="#general_score_container" \n data-ga-loading="true" data-ga-url="' |
bits | [u'\n\n ', u'', u'\n ', u'\n <div class="alert alert-danger"> Error al buscar el partido solicitado.</div>\n ', u'\n <div class="row d-print-none mt-3">\n <h4 class="col-8"> ', u'Detalles del Encuentro', u'</h4>\n <div class="col-4 text-right text-light"><a class="btn btn-info" onclick="print_match_record()"><i class="fa fa-print"></i> <span class="d-none d-md-inline">Imprimir</span> </a></div>\n\n </div>\n\n <hr/>\n <div class="col-12">\n <div class="card" style="">\n <div class="card-header bg-info text-light"> Datos Generales</div> \n <div class="card-body">\n \t', u' \n<div class="row d-print-none">\n\n\t<div class="col-12 d-block d-md-none "><i></i></div>\n\t<div class="col-12 d-block d-md-none "><h5> <small>Campeonato:</small> - </h5></div>\n\t<div class="col-12 d-block d-md-none"><h5 class="text-left"> \n\t\t\t<small>Ronda:</small> 1 </h5></div>\n</div>\n<div class="row ">\n\t<div class="col-12 d-block d-md-none"><h5 class="text-left"> <small> Lugar: </small> </h5></div>\n\t<div class=" col-12 text-right d-block d-md-none"><h5 class="text-left"> <small> Fecha y hora: </small> </h5></div>\n</div>\n\n <div class="row d-print-block">\n\t<div class="col-xl-2 col-md-3 d-none d-md-inline"><i></i></div>\n\t<div class="col-xl-8 col-md-6 d-none d-md-inline text-center"><h5> <small>Campeonato:</small> - </h5></div>\n\t<div class="col-xl-2 col-md-3 d-none d-md-inline text-right"><h5 class="text-right">\n\t\t\t \n\t\t\t<small>Ronda:</small> 1 </h5>\n\t</div>\n</div>\n<div class="row ">\n\t<div class="col-md-8 d-none d-md-block"><h5> <small> Lugar: </small> </h5></div>\n\t<div class="col-md-4 d-none d-md-block text-right"><h5> <small> Fecha y hora: </small> </h5></div>\n</div>\n\n\n', u'\n\t\t\t\t </div>\n </div>\n <div class="container-fluid">\n \n ', u'\n <div class="row d-print-none mb-3">\n <div class="col-12 text-center" style=""><span class="badge badge-warning"><i class="fa fa-times"></i> Partido Pendiente de disputar</span></div>\n </div>\n ', u'\n\n\n <div class="row ga-load-on-ready" id="general_score_container" data-ga-target="#general_score_container" \n data-ga-loading="true" data-ga-url="'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
node | <django.template.defaulttags.URLNode object at 0x7f0156a12550> |
self | [<TextNode: u'\n\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n <div class="row d-pr'>, <django.templatetags.i18n.TranslateNode object at 0x7f0156b5b190>, <TextNode: u'</h4>\n <div class='>, <django.template.loader_tags.IncludeNode object at 0x7f0156b5be90>, <TextNode: u'\n\t\t\t\t </div>\n </di'>, <IfNode>, <TextNode: u'\n\n\n <div class'>, <django.template.defaulttags.URLNode object at 0x7f0156a12550>, <TextNode: u'">\n\n </div>\n '>, <IfNode>, <TextNode: u' \n '>, <django.template.defaulttags.CommentNode object at 0x7f01569a02d0>, <TextNode: u'\n </div>\n <'>, <Variable Node: match.referee.full_name>, <TextNode: u' </td> </tr>\n '>, <Variable Node: match.aux_referee.full_name>, <TextNode: u'</td> </tr>\n '>, <TextNode: u'\n\t\t\t\t\t '>, <IfNode>, <TextNode: u'\n\n </div>\n'>, <IfNode>, <TextNode: u'\n<div style="margin-top: '>] |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
e | NoReverseMatch(u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']",) |
self | <django.template.defaulttags.URLNode object at 0x7f0156a12550> |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
arg | <django.template.base.FilterExpression object at 0x7f0156a12110> |
args | ['', ''] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'match_type': u'league', 'error': 'Error al buscar el partido solicitado.'}] |
current_app | u'' |
kwargs | {} |
reverse | <function reverse at 0x7f0162c35cd0> |
self | <django.template.defaulttags.URLNode object at 0x7f0156a12550> |
url | u'' |
view_name | u'match_general_score' |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/urls/base.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():
Variable | Value |
---|---|
args | ['', ''] |
current_app | u'' |
current_path | None |
kwargs | {} |
ns_pattern | u'' |
parts | [u'match_general_score'] |
path | [] |
prefix | u'/' |
resolved_path | [] |
resolver | <RegexURLResolver 'deportes2.urls' (None:None) ^/> |
urlconf | 'deportes2.urls' |
view | u'match_general_score' |
viewname | u'match_general_score' |
/opt/envs/sdpinto/lib/python2.7/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
_prefix | u'/' |
arg_msg | u"arguments '('', '')'" |
args | ('', '') |
candidate_pat | u'/deportes/competitions/referees/match/general/score/%(match_id)s/%(match_type)s' |
candidate_subs | {u'match_id': u'', u'match_type': u''} |
defaults | {} |
kwargs | {} |
lookup_view | u'match_general_score' |
lookup_view_s | u'match_general_score' |
m | None |
msg | u"Reverse for 'match_general_score' with arguments '('', '')' not found. 1 pattern(s) tried: ['deportes/competitions/referees/match/general/score/(?P<match_id>\\\\d+)/(?P<match_type>[-\\\\w]+)$']" |
n | None |
params | [u'match_id', u'match_type'] |
pattern | 'deportes/competitions/referees/match/general/score/(?P<match_id>\\d+)/(?P<match_type>[-\\w]+)$' |
patterns | ['deportes/competitions/referees/match/general/score/(?P<match_id>\\d+)/(?P<match_type>[-\\w]+)$'] |
possibilities | [([(u'deportes/competitions/referees/match/general/score/%(match_id)s/%(match_type)s', [u'match_id', u'match_type'])], 'deportes/competitions/referees/match/general/score/(?P<match_id>\\d+)/(?P<match_type>[-\\w]+)$', {})] |
possibility | [(u'deportes/competitions/referees/match/general/score/%(match_id)s/%(match_type)s', [u'match_id', u'match_type'])] |
result | u'deportes/competitions/referees/match/general/score/%(match_id)s/%(match_type)s' |
self | <RegexURLResolver 'deportes2.urls' (None:None) ^/> |
text_args | [u'', u''] |
text_kwargs | {} |
v | '' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/django/deportes2/deportes2/' |
CONTEXT_PREFIX | '' |
CSRF_COOKIE | u'NLScL9mBMBBy1YFXUKcI64wDq2jinPpDq1JKwPZ40Ll3EYnWcHcwcGG5MEc0auIF' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/var/www/django/deportes2/deportes2/' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'ligasmunicipales.ayto-pinto.es' |
HTTP_REFERER | 'http://ligasmunicipales.ayto-pinto.es/deportes/competitions/referees/set/match/record/972/league' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/deportes/competitions/referees/set/match/record/972/league' |
PATH_TRANSLATED | '/var/www/django/deportes2/deportes2/wsgi.py/deportes/competitions/referees/set/match/record/972/league' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.238.233.189' |
REMOTE_PORT | '53422' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/deportes/competitions/referees/set/match/record/972/league' |
SCRIPT_FILENAME | '/var/www/django/deportes2/deportes2/wsgi.py' |
SCRIPT_NAME | u'' |
SERVER_ADDR | '51.77.210.241' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'ligasmunicipales.ayto-pinto.es' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.29 (Ubuntu) Server at ligasmunicipales.ayto-pinto.es Port 443</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.29 (Ubuntu)' |
SSL_TLS_SNI | 'ligasmunicipales.ayto-pinto.es' |
apache.version | (2, 4, 29) |
mod_wsgi.application_group | 'ligasmunicipales.ayto-pinto.es|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711679086884078' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/deportes/competitions/referees/set/match/record/972/league' |
mod_wsgi.process_group | 'ligas.pinto.ssl' |
mod_wsgi.queue_start | '1711679086883894' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'LXPxVwstjXg' |
mod_wsgi.request_start | '1711679086883629' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711679086884141' |
mod_wsgi.thread_id | 4 |
mod_wsgi.thread_requests | 400L |
mod_wsgi.total_requests | 2032L |
mod_wsgi.version | (4, 5, 17) |
wsgi.errors | <mod_wsgi.Log object at 0x7f0156ada300> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f0156b02d50> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
deportes2.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
APP_NAME | 'Servicio de deportes del Ayuntamiento de Pinto.' |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend', 'django_cas_ng.backends.CASBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/www/django/deportes2' |
BRAND_LOGO_URL | '/static/images/pinto_brand.png' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAS_ADMIN_PREFIX | None |
CAS_APPLY_ATTRIBUTES_TO_USER | False |
CAS_CREATE_USER | True |
CAS_CREATE_USER_WITH_ID | False |
CAS_EXTRA_LOGIN_PARAMS | None |
CAS_FORCE_CHANGE_USERNAME_CASE | None |
CAS_IGNORE_REFERER | False |
CAS_LOGGED_MSG | u'Has iniciado sesi\xf3n como %s.' |
CAS_LOGIN_MSG | u'Inicio de sesi\xf3n correcto. Bienvenido, %s.' |
CAS_LOGOUT_COMPLETELY | True |
CAS_PROXY_CALLBACK | None |
CAS_REDIRECT_URL | u'/' |
CAS_RENAME_ATTRIBUTES | {} |
CAS_RENEW | False |
CAS_RETRY_LOGIN | False |
CAS_SERVER_URL | 'https://loginpre.ull.es/cas-1/login' |
CAS_STORE_NEXT | False |
CAS_USERNAME_ATTRIBUTE | u'uid' |
CAS_VERIFY_SSL_CERTIFICATE | True |
CAS_VERSION | u'2' |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'deportes_pro', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'deportes'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_FROM | 'deportes@ayto-pinto.es' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'shidixtenerife@gmail.com' |
EMAIL_PORT | 465 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_AUTHENTICATION | True |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | True |
EMAIL_USE_TLS | False |
FACEBOOK_PAGE | 'https://www.facebook.com/AytoPinto/' |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
HOST_URL | 'http://devpinto.shidix.es' |
IGNORABLE_404_URLS | [] |
'' |
|
INSTALLED_APPS | ['sdull_common_app', 'ajax_select', 'suit', 'suit_redactor', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_cas_ng', 'rangefilter', 'actionlogs', 'crispy_forms', 'easy_select2', 'ganalytics', 'nested_inline', 'events', 'reservations', 'competitions', 'activities', 'oldversion', 'front_compet', 'emailnotifications', 'news'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'es-es' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
'' |
|
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': 'logs', 'level': 'INFO'}}, 'loggers': {'django.request': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}, 'events': {'handlers': ['file'], 'level': 'INFO'}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | '/deportes/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOGO_URL | '/static/images/pinto_landscape.png' |
LOG_FILENAME | 'logs' |
LOG_ROOT | '' |
MAIN_ADDRESS | 'C/ Sur, s/n. Parque Juan Carlos I' |
MAIN_EMAIL | 'deportes@ayto-pinto.es' |
MAIN_PHONE | '91 248 38 02 / 15' |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/django/deportes2/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREFIX_PATTERN | 'deportes' |
PREPEND_WWW | False |
ROOT_URLCONF | 'deportes2.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'deportes2.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ('/var/www/django/deportes2/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/django/deportes2/collect_static' |
STATIC_URL | '/static/' |
SUIT_CONFIG | {'ADMIN_NAME': 'Servicio de deportes del Ayuntamiento de Pinto.', 'LIST_PER_PAGE': 300, 'MENU': ({'app': 'sdull_common_app', 'icon': 'icon-star', 'label': 'Perfiles', 'models': ({'label': 'Perfiles', 'permissions': 'auth.add_user', 'url': 'auth.user'}, 'profilecard', {'label': 'Groups', 'permissions': 'auth.add_group', 'url': 'auth.group'})}, {'app': 'competitions', 'label': 'Competiciones', 'models': ('competition', 'documents', 'enrollperiod', 'facility', 'referee', 'course', 'sanctiontype')}, {'icon': 'icon-list-alt', 'label': 'Competiciones 2.0', 'permissions': 'auth.add_user', 'url': '/deportes/competitions/'})} |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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']}}] |
TEST_EMAIL_TO | '' |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Atlantic/Canary' |
'https://twitter.com/AytoPinto' |
|
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WEBSITE | 'https://www.ayto-pinto.es/deportes' |
WSGI_APPLICATION | 'deportes2.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
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.