Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\w]+)/(?P<entrada>[-\\w]+)/(?P<pk>\\d+)$']
Request Method: | GET |
---|---|
Request URL: | https://ecosegundos.com/incentivos/informatica/pagina-web-wordpress/81 |
Django Version: | 1.11.2 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\w]+)/(?P<entrada>[-\\w]+)/(?P<pk>\\d+)$'] |
Exception Location: | /var/www/entornos/ecodreamsserver/lib/python2.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 |
Python Executable: | /var/www/entornos/ecodreamsserver/bin/python |
Python Version: | 2.7.18 |
Python Path: | ['/usr/share/python-wheels/webencodings-0.5.1-py2.py3-none-any.whl', '/usr/share/python-wheels/requests-2.22.0-py2.py3-none-any.whl', '/usr/share/python-wheels/certifi-2019.11.28-py2.py3-none-any.whl', '/usr/share/python-wheels/CacheControl-0.12.6-py2.py3-none-any.whl', '/usr/share/python-wheels/wheel-0.34.2-py2.py3-none-any.whl', '/usr/share/python-wheels/distro-1.4.0-py2.py3-none-any.whl', '/usr/share/python-wheels/contextlib2-0.6.0-py2.py3-none-any.whl', '/usr/share/python-wheels/packaging-20.3-py2.py3-none-any.whl', '/usr/share/python-wheels/setuptools-44.0.0-py2.py3-none-any.whl', '/usr/share/python-wheels/retrying-1.3.3-py2.py3-none-any.whl', '/usr/share/python-wheels/colorama-0.4.3-py2.py3-none-any.whl', '/usr/share/python-wheels/chardet-3.0.4-py2.py3-none-any.whl', '/usr/share/python-wheels/six-1.14.0-py2.py3-none-any.whl', '/usr/share/python-wheels/progress-1.5-py2.py3-none-any.whl', '/usr/share/python-wheels/lockfile-0.12.2-py2.py3-none-any.whl', '/usr/share/python-wheels/msgpack-0.6.2-py2.py3-none-any.whl', '/usr/share/python-wheels/toml-0.10.0-py2.py3-none-any.whl', '/usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl', '/usr/share/python-wheels/pip-20.0.2-py2.py3-none-any.whl', '/usr/share/python-wheels/ipaddr-2.2.0-py2.py3-none-any.whl', '/usr/share/python-wheels/pep517-0.8.2-py2.py3-none-any.whl', '/usr/share/python-wheels/appdirs-1.4.3-py2.py3-none-any.whl', '/usr/share/python-wheels/html5lib-1.0.1-py2.py3-none-any.whl', '/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl', '/usr/share/python-wheels/distlib-0.3.0-py2.py3-none-any.whl', '/usr/share/python-wheels/pyparsing-2.4.6-py2.py3-none-any.whl', '/usr/share/python-wheels/idna-2.8-py2.py3-none-any.whl', '/var/www/ecodreamsserver', '/var/www/entornos/ecodreamsserver/bin', '/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', '/var/www/entornos/ecodreamsserver/lib/python2.7/site-packages'] |
Server time: | Jue, 28 Mar 2024 10:38:40 +0100 |
In template /var/www/ecodreamsserver/templates/base.html
, error at line 0
1 | {% load static staticfiles web_app_tags django_simple_cookie_consent_tags %} |
---|---|
2 | |
3 | <!DOCTYPE html> |
4 | <html lang="en"> |
5 | |
6 | <head> |
7 | <!-- Google Tag Manager --> |
8 | <script>(function (w, d, s, l, i) { |
9 | w[l] = w[l] || []; |
10 | w[l].push({ |
/var/www/entornos/ecodreamsserver/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 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f2495c30b90>> |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
/var/www/entornos/ecodreamsserver/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 MultipleDomainMiddleware.process_request of <multipledomain.middleware.MultipleDomainMiddleware object at 0x7f2489273ad0>> |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2495c30b90> |
/var/www/entornos/ecodreamsserver/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 IncentivoDetail at 0x7f2488e019d0> |
callback_args | () |
callback_kwargs | {'categoria': u'informatica', 'entrada': u'pagina-web-wordpress', 'pk': u'81'} |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f24892e5f10>> |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
resolver | <RegexURLResolver 'configuracion.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=ofertas.views.IncentivoDetail, args=(), kwargs={'categoria': u'informatica', 'pk': u'81', 'entrada': u'pagina-web-wordpress'}, url_name=incentivo_detail, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2495c30b90> |
urlconf | 'configuracion.urls' |
wrapped_callback | <function IncentivoDetail at 0x7f2488e019d0> |
/var/www/entornos/ecodreamsserver/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 IncentivoDetail at 0x7f2488e019d0> |
callback_args | () |
callback_kwargs | {'categoria': u'informatica', 'entrada': u'pagina-web-wordpress', 'pk': u'81'} |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f24892e5f10>> |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
resolver | <RegexURLResolver 'configuracion.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=ofertas.views.IncentivoDetail, args=(), kwargs={'categoria': u'informatica', 'pk': u'81', 'entrada': u'pagina-web-wordpress'}, url_name=incentivo_detail, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2495c30b90> |
urlconf | 'configuracion.urls' |
wrapped_callback | <function IncentivoDetail at 0x7f2488e019d0> |
/var/www/entornos/ecodreamsserver/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'ofertas.views.IncentivoDetail'> |
initkwargs | {} |
kwargs | {'categoria': u'informatica', 'entrada': u'pagina-web-wordpress', 'pk': u'81'} |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
self | <ofertas.views.IncentivoDetail object at 0x7f24855b3f50> |
/var/www/entornos/ecodreamsserver/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method IncentivoDetail.get of <ofertas.views.IncentivoDetail object at 0x7f24855b3f50>> |
kwargs | {'categoria': u'informatica', 'entrada': u'pagina-web-wordpress', 'pk': u'81'} |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
self | <ofertas.views.IncentivoDetail object at 0x7f24855b3f50> |
/var/www/ecodreamsserver/ofertas/views.py
in get
# oferta = None
except:
oferta = None
post_populares = models.Oferta.objects.filter(activo=True).order_by('-fecha_creacion')[:5]
categorias = models.Categoria.objects.order_by("nombre_slug")
return render(request, self.template_name, {'oferta': oferta,
'post_populares': post_populares,
"categorias": categorias})...
class EventoEquiposList(CreateView):
template_name = 'web_rosetta/incentivos/incentivo_detail.html'
def get(self, request, *args, **kwargs):
Variable | Value |
---|---|
args | () |
categorias | <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']> |
kwargs | {'categoria': u'informatica', 'entrada': u'pagina-web-wordpress', 'pk': u'81'} |
oferta | None |
post_populares | <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]> |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
self | <ofertas.views.IncentivoDetail object at 0x7f24855b3f50> |
/var/www/entornos/ecodreamsserver/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 | {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>} |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
status | None |
template_name | 'web_rosetta/incentivos/incentivo_detail.html' |
using | None |
/var/www/entornos/ecodreamsserver/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 | {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>} |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
template | <django.template.backends.django.Template object at 0x7f2484dbed50> |
template_name | 'web_rosetta/incentivos/incentivo_detail.html' |
using | None |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
request | <WSGIRequest: GET '/incentivos/informatica/pagina-web-wordpress/81'> |
self | <django.template.backends.django.Template object at 0x7f2484dbed50> |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
self | <django.template.base.Template object at 0x7f2485d77750> |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
self | <django.template.base.Template object at 0x7f2485d77750> |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
self | <ExtendsNode: extends 'base.html'> |
/var/www/entornos/ecodreamsserver/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 0x7f2485887450> |
blocks | {u'analiticas': <Block Node: analiticas. Contents: []>, u'blog_content': <Block Node: blog_content. Contents: []>, u'blog_header': <Block Node: blog_header. Contents: []>, u'cannonical_link': <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]>, u'canonical_url': <Block Node: canonical_url. Contents: []>, u'como_funciona': <Block Node: como_funciona. Contents: []>, u'content': <Block Node: content. Contents: []>, u'descfb': <Block Node: descfb. Contents: [<TextNode: u'Deposita tus envases en n'>]>, u'desctw': <Block Node: desctw. Contents: [<TextNode: u'Deposita tus envases en n'>]>, u'economia': <Block Node: economia. Contents: []>, u'entradas_blog': <Block Node: entradas_blog. Contents: []>, u'extra_css': <Block Node: extra_css. Contents: []>, u'extra_js': <Block Node: extra_js. Contents: []>, u'faq': <Block Node: faq. Contents: []>, u'footer': <Block Node: footer. Contents: [<TextNode: u'\n <!-- Footer -->\n '>, <TextNode: u'\n '>, <TextNode: u'\n </ul>\n\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f2485be2350>, <TextNode: u'" method="post" name="con'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f2485be22d0>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u' name="nombre" id="name"\n'>, <IfNode>, <TextNode: u' name="correo" id="email"'>, <IfNode>, <TextNode: u' name="asunto" id="asunto'>, <IfNode>, <TextNode: u'</textarea></div>\n '>, <django.template.defaulttags.URLNode object at 0x7f2484dbfad0>, <TextNode: u'" style="cursor: pointer"'>, <django.template.library.SimpleNode object at 0x7f2484dbf5d0>, <TextNode: u'\n '>, <Variable Node: captchaform>, <TextNode: u'\n\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n </div>\n\n '>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/fotos_'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/icons/'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/icons/'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/icons/'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/icons/'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/images/icons/'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f248615efd0>, <TextNode: u'">Aviso Legal,\n '>]>, u'fotos_equipo': <Block Node: fotos_equipo. Contents: []>, u'fotos_equipo_horizontal': <Block Node: fotos_equipo_horizontal. Contents: []>, u'header': <Block Node: header. Contents: []>, u'imagenfb': <Block Node: imagenfb. Contents: [<TextNode: u'https://ecosegundos.com/s'>]>, u'imagentw': <Block Node: imagentw. Contents: [<TextNode: u'https://ecosegundos.com/s'>]>, u'mapa': <Block Node: mapa. Contents: []>, u'metadescripcion': <Block Node: metadescripcion. Contents: [<TextNode: u'Deposita tus envases en n'>]>, u'metakeywords': <Block Node: metakeywords. Contents: [<TextNode: u'Ecosegundos, Reciclar, Ga'>]>, u'movil_app': <Block Node: movil_app. Contents: []>, u'movil_pasos': <Block Node: movil_pasos. Contents: []>, u'nav': <Block Node: nav. Contents: [<TextNode: u'\n <!-- Nav -->\n <!-'>, <django.template.defaulttags.URLNode object at 0x7f24862f4610>, <TextNode: u'">\n <i'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/logo_ecosegund'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/ecosegundos_bl'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/icon_reloj_sol'>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n <div cla'>, <IfNode>, <TextNode: u'\n\n ... <trimmed 5409 bytes string> |
compiled_parent | <django.template.base.Template object at 0x7f2485537a10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f2485887d50> |
self | <ExtendsNode: extends 'base.html'> |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
self | <django.template.base.Template object at 0x7f2485537a10> |
/var/www/entornos/ecodreamsserver/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'EcoSegundos</title>\n ' |
bits | [u'', u'\n\n<!DOCTYPE html>\n<html lang="en">\n\n<head>\n <!-- Google Tag Manager -->\n <script>(function (w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({\n \'gtm.start\': new Date().getTime(), event: \'gtm.js\'\n });\n var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s), dl = l != \'dataLayer\' ? \'&l=\' + l : \'\';\n j.async = true;\n j.src =\n \'https://www.googletagmanager.com/gtm.js?id=\' + i + dl;\n f.parentNode.insertBefore(j, f);\n })(window, document, \'script\', \'dataLayer\', \'GTM-5K6L4N7\');</script>\n <!-- End Google Tag Manager -->\n <title>', u'', u'EcoSegundos</title>\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
node | <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f2485887d50>, <TextNode: u'\n\n<!DOCTYPE html>\n<html l'>, <Block Node: tittle. Contents: []>, <TextNode: u'EcoSegundos</title>\n '>, <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]>, <TextNode: u'\n\n <meta charset="utf-'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/icon_reloj_sol'>, <Block Node: metakeywords. Contents: [<TextNode: u'Ecosegundos, Reciclar, Ga'>]>, <TextNode: u'">\n <meta name="descri'>, <Block Node: metadescripcion. Contents: [<TextNode: u'Deposita tus envases en n'>]>, <TextNode: u'">\n '>, <Block Node: extra_css. Contents: []>, <TextNode: u'\n\n\n <!-- Facebook Pixe'>, <Block Node: imagenfb. Contents: [<TextNode: u'https://ecosegundos.com/s'>]>, <TextNode: u'">\n <meta property="og'>, <Block Node: urlfb. Contents: [<TextNode: u'https://ecosegundos.com/'>]>, <TextNode: u'">\n <meta property="og'>, <Block Node: descfb. Contents: [<TextNode: u'Deposita tus envases en n'>]>, <TextNode: u'">\n\n <!-- Twitter Card'>, <Block Node: urltw. Contents: [<TextNode: u'https://ecosegundos.com/'>]>, <TextNode: u'">\n <meta name="twitte'>, <Block Node: desctw. Contents: [<TextNode: u'Deposita tus envases en n'>]>, <TextNode: u'">\n <meta name="twitte'>, <Block Node: imagentw. Contents: [<TextNode: u'https://ecosegundos.com/s'>]>, <TextNode: u'">\n\n '>, <TextNode: u'\n <link href="'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/bootstrap'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/animate.c'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/smartbann'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/maincss.c'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/master.cs'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/owl.carou'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/owl.trans'>, <Variable Node: STATIC_URL>, <TextNode: u'web_rosetta/css/simple-li'>, <django.template.library.InclusionNode object at 0x7f24862f4790>, <TextNode: u'\n</head>\n\n<body id="home"'>, <TextNode: u'\n'>, <TextNode: u'\n\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n'>, <TextNode: u'\n\n<div class="smartbanner'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/icon_reloj_sol'>, <Block Node: nav. Contents: [<TextNode: u'\n <!-- Nav -->\n <!-'>, <django.template.defaulttags.URLNode object at 0x7f24862f4610>, <TextNode: u'">\n <i'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/logo_ecosegund'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/ecosegundos_bl'>, <Variable Node: STATIC_URL>, <TextNode: u'web/images/icon_reloj_sol'>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n <div cla'>, <IfNode>, <TextNode: u'\n\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n </ul'>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n '>, <TextNode: u'\n </nav>\n </hea'>]>, <TextNo... <trimmed 9735 bytes string> |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
self | <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]> |
/var/www/entornos/ecodreamsserver/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: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f2485887450> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
push | <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]> |
self | <Block Node: cannonical_link. Contents: [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>]> |
/var/www/entornos/ecodreamsserver/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 <link rel="canonical"\n href="https://ecosegundos.com' |
bits | [u'\n <link rel="canonical"\n href="https://ecosegundos.com'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
node | <Block Node: canonical_url. Contents: []> |
self | [<TextNode: u'\n <link rel="canon'>, <Block Node: canonical_url. Contents: []>, <TextNode: u'">'>] |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
self | <Block Node: canonical_url. Contents: []> |
/var/www/entornos/ecodreamsserver/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: canonical_url. Contents: [<TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f2486904950>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f2485887450> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
push | <Block Node: canonical_url. Contents: [<TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f2486904950>]> |
self | <Block Node: canonical_url. Contents: []> |
/var/www/entornos/ecodreamsserver/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 ' |
bits | [u'\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
node | <django.template.defaulttags.URLNode object at 0x7f2486904950> |
self | [<TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f2486904950>] |
/var/www/entornos/ecodreamsserver/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}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
e | NoReverseMatch(u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']",) |
self | <django.template.defaulttags.URLNode object at 0x7f2486904950> |
/var/www/entornos/ecodreamsserver/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 0x7f2484d15cd0> |
args | ['', u'', ''] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'categorias': <QuerySet [<Categoria: Academias>, <Categoria: Alimentación>, <Categoria: Ayuntamiento>, <Categoria: Ayuntamientos>, <Categoria: Bares>, <Categoria: Cine>, <Categoria: Colegios e Institutos>, <Categoria: Comida rápida>, <Categoria: Decoración>, <Categoria: Diseño y creacion>, <Categoria: Estética>, <Categoria: Eventos>, <Categoria: Ferretería>, <Categoria: Floristería>, <Categoria: Hogar>, <Categoria: Impresión>, <Categoria: Informática>, <Categoria: Joyerias>, <Categoria: Mascotas>, <Categoria: Moda>, '...(remaining elements truncated)...']>, 'oferta': None, 'post_populares': <QuerySet [<Oferta: EMPRESA: TrainerShop -- DESCRIPCION : 300>, <Oferta: EMPRESA: Joyería Bonilla -- DESCRIPCION : 299>, <Oferta: EMPRESA: Doré -- DESCRIPCION : 293>, <Oferta: EMPRESA: Opportunity Denia -- DESCRIPCION : 292>, <Oferta: EMPRESA: ANIMAL PLANET -- DESCRIPCION : 287>]>}] |
current_app | u'' |
kwargs | {} |
reverse | <function reverse at 0x7f249407fad0> |
self | <django.template.defaulttags.URLNode object at 0x7f2486904950> |
url | u'' |
view_name | u'incentivo_detail' |
/var/www/entornos/ecodreamsserver/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 | ['', u'', ''] |
current_app | u'' |
current_path | None |
kwargs | {} |
ns_pattern | u'' |
parts | [u'incentivo_detail'] |
path | [] |
prefix | u'/' |
resolved_path | [] |
resolver | <RegexURLResolver 'configuracion.urls' (None:None) ^/> |
urlconf | 'configuracion.urls' |
view | u'incentivo_detail' |
viewname | u'incentivo_detail' |
/var/www/entornos/ecodreamsserver/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 '('', u'', '')'" |
args | ('', u'', '') |
candidate_pat | u'/incentivos/%(categoria)s/%(entrada)s/%(pk)s' |
candidate_subs | {u'categoria': u'', u'entrada': u'', u'pk': u''} |
defaults | {} |
kwargs | {} |
lookup_view | u'incentivo_detail' |
lookup_view_s | u'incentivo_detail' |
m | None |
msg | u"Reverse for 'incentivo_detail' with arguments '('', u'', '')' not found. 1 pattern(s) tried: ['incentivos/(?P<categoria>[-\\\\w]+)/(?P<entrada>[-\\\\w]+)/(?P<pk>\\\\d+)$']" |
n | None |
params | [u'categoria', u'entrada', u'pk'] |
pattern | 'incentivos/(?P<categoria>[-\\w]+)/(?P<entrada>[-\\w]+)/(?P<pk>\\d+)$' |
patterns | ['incentivos/(?P<categoria>[-\\w]+)/(?P<entrada>[-\\w]+)/(?P<pk>\\d+)$'] |
possibilities | [([(u'incentivos/%(categoria)s/%(entrada)s/%(pk)s', [u'categoria', u'entrada', u'pk'])], 'incentivos/(?P<categoria>[-\\w]+)/(?P<entrada>[-\\w]+)/(?P<pk>\\d+)$', {})] |
possibility | [(u'incentivos/%(categoria)s/%(entrada)s/%(pk)s', [u'categoria', u'entrada', u'pk'])] |
result | u'incentivos/%(categoria)s/%(entrada)s/%(pk)s' |
self | <RegexURLResolver 'configuracion.urls' (None:None) ^/> |
text_args | [u'', u'', u''] |
text_kwargs | {} |
v | '' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'ecosegundos.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDER_FOR | '3.231.146.172' |
HTTP_X_REAL_IP | '3.231.146.172' |
PATH_INFO | u'/incentivos/informatica/pagina-web-wordpress/81' |
QUERY_STRING | '' |
RAW_URI | '/incentivos/informatica/pagina-web-wordpress/81' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'ecosegundos.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.10.0' |
gunicorn.socket | <socket object, fd=10, family=1, type=1, protocol=0> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2487bd0750> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f2487bd0450> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
configuracion.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['ecosegundos.com', 'empresas.ecosegundos.com', 'empresas.miip', 'retail.ecosegundos.com', 'localhost', 'fabrica.localhost', 'empresas.localhost', '192.168.1.18', '185.197.194.90', '192.168.1.16', '192.168.1.97', '192.168.2.152', '192.168.2.164', '192.168.1.37'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('social_core.backends.facebook.FacebookOAuth2', 'social_core.backends.google.GoogleOAuth2', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/www/ecodreamsserver' |
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 |
CKEDITOR_CONFIGS | {'default': {'extraPlugins': 'div,autolink,autoembed,embedsemantic,autogrow,youtube,widget,lineutils,clipboard,dialog,dialogui,elementspath', 'skin': 'office2013', 'tabSpaces': 4, 'toolbar': 'YourCustomToolbarConfig', 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YourCustomToolbarConfig': [{'items': ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates'], 'name': 'document'}, {'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], 'name': 'clipboard'}, {'items': ['Find', 'Replace', '-', 'SelectAll'], 'name': 'editing'}, {'items': ['Maximize', 'Preview', 'ShowBlocks'], 'name': 'tools'}, '/', {'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], 'name': 'basicstyles'}, {'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'], 'name': 'paragraph'}, {'items': ['Link', 'Unlink', 'Anchor'], 'name': 'links'}, {'items': ['Image', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'Youtube', 'PageBreak', 'Iframe'], 'name': 'insert'}, '/', {'items': ['Styles', 'Format', 'FontSize'], 'name': 'styles'}, {'items': ['TextColor', 'BGColor'], 'name': 'colors'}, {'items': [], 'name': 'yourcustomtools'}], 'width': '100%'}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_JQUERY_URL | '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CONTENT_TYPES | ['image', 'video', 'audio'] |
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.sqlite3', 'HOST': '', 'NAME': '/var/www/ecodreamsserver/dbsqlite', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
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 | 'EcoSegundos <plataforma@ecosegundos.es>' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
DKIM_DOMAIN | 'ecosegundos.es' |
DKIM_PRIVATE_KEY | u'********************' |
DKIM_SELECTOR | 'com' |
DREAMS_ADMIN_CUSTOM_MENU | [{'items': [{'label': 'Eventos', 'tipo': 'url_django', 'url': 'eventos_list'}], 'label': 'Eventos', 'tipo': 'seccion'}] |
DREAMS_ADMIN_STAFF_MENU | [{'items': [{'label': 'Empresas', 'tipo': 'url_django', 'url': 'empresas_list'}, {'label': 'Facturas', 'tipo': 'url_django', 'url': 'admin_facturas_total_list'}, {'label': 'Suscripciones', 'tipo': 'url_django', 'url': 'suscripciones_list'}, {'label': 'Estadisticas', 'tipo': 'url_django', 'url': 'admin_estadisticas'}], 'label': 'Empresas', 'tipo': 'seccion'}, {'items': [{'label': 'Dar Ecosegundos', 'tipo': 'url_django', 'url': 'dar_ecosegundos_admin'}], 'label': 'Usuarios', 'tipo': 'seccion'}] |
EMAIL_BACKEND | 'django_dkim.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtppro.zoho.eu' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'plataforma@ecosegundos.es' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | 511 |
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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.staticfiles', 'dal', 'dal_select2', 'dreamsadmin', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.sites', 'django.contrib.sitemaps', 'robots', 'multipledomain', 'sermepa', 'sslserver', 'social_django', 'mathfilters', 'floppyforms', 'bootstrapform', 'ckeditor', 'ckeditor_uploader', 'django_simple_cookie_consent', 'private_storage', 'datetimewidget', 'mapwidgets', 'usuarios', 'ofertas', 'admincliente', 'adminretail', 'adminfabrica', 'blog', 'web', 'juego', 'captcha') |
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 | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MAP_WIDGETS | {'GOOGLE_MAP_API_KEY': u'********************', 'GooglePointFieldWidget': (('zoom', 15), ('mapCenterLocationName', 'granada'))} |
MAX_UPLOAD_SIZE | '5242880' |
MEDIA_AUDIO | '/var/www/ecodreamsserver/static/media//audio/' |
MEDIA_AUDIO_URL | '/static/media/audio/' |
MEDIA_FILES | '/var/www/ecodreamsserver/static/media//archivos/' |
MEDIA_FILES_URL | '/static/media/archivos/' |
MEDIA_IMAGE | '/var/www/ecodreamsserver/static/media/imagenes/' |
MEDIA_IMAGE_URL | '/static/media/imagenes/' |
MEDIA_ROOT | '/var/www/ecodreamsserver/static/media/' |
MEDIA_URL | '/static/media/' |
MEDIA_VIDEO | '/var/www/ecodreamsserver/static/media//video/' |
MEDIA_VIDEO_URL | '/static/media/video/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.locale.LocaleMiddleware', 'multipledomain.middleware.MultipleDomainMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
MULTIURL_CONFIG | {'ecosegundos.com': 'configuracion.urls', 'empresas.ecosegundos.com': 'admincliente.urls.urls', 'empresas.localhost:8000': 'admincliente.urls.urls', 'empresas.miip:8000': 'admincliente.urls.urls', 'empresas.miip:9000': 'admincliente.urls.urls', 'fabrica.localhost:8000': 'adminfabrica.urls.urls', 'fabrica.miip:8000': 'adminfabrica.urls.urls', 'localhost:8000': 'configuracion.urls', 'miip:8000': 'configuracion.urls', 'retail.miip:8000': 'adminretail.urls.urls'} |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
PROJECT_PATH | '/var/www/ecodreamsserver/configuracion' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
RECAPTCHA_PUBLIC_KEY | u'********************' |
ROOT_URLCONF | 'configuracion.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 |
SERMEPA_BUTTON_CLASS | 'btn btn-primary pull-right' |
SERMEPA_BUTTON_TEXT | 'Pagar ahora' |
SERMEPA_CURRENCY | '978' |
SERMEPA_MERCHANT_CODE | '141145326' |
SERMEPA_SECRET_KEY | u'********************' |
SERMEPA_SIGNATURE_VERSION | u'********************' |
SERMEPA_TERMINAL | '001' |
SERMEPA_URL_PRO | 'https://sis.redsys.es/sis/realizarPago' |
SERMEPA_URL_TEST | 'https://sis-t.redsys.es:25443/sis/realizarPago' |
SERVER_EMAIL | 'EcoSegundos <plataforma@ecosegundos.es>' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 18000 |
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 | True |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'configuracion.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 | [] |
SITE_ID | 1 |
SOCIAL_AUTH_ADMIN_USER_SEARCH_FIELDS | ['username', 'first_name', 'email'] |
SOCIAL_AUTH_FACEBOOK_API_VERSION | u'********************' |
SOCIAL_AUTH_FACEBOOK_KEY | u'********************' |
SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS | {'fields': 'id, name, email, age_range', 'locale': 'es_ES'} |
SOCIAL_AUTH_FACEBOOK_SCOPE | ['email'] |
SOCIAL_AUTH_FACEBOOK_SECRET | u'********************' |
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | u'********************' |
SOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE | ['email', 'profile'] |
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | u'********************' |
SOCIAL_AUTH_LOGIN_REDIRECT_URL | '/' |
SOCIAL_AUTH_REVOKE_TOKENS_ON_DISCONNECT | u'********************' |
SOCIAL_AUTH_URL_NAMESPACE | 'social' |
SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL | True |
STATICFILES_DIRS | ('/var/www/ecodreamsserver/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
STRIPE_PUBLIC_KEY | u'********************' |
STRIPE_SECRET_KEY | u'********************' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/ecodreamsserver/templates', '/var/www/ecodreamsserver/blog/templates', '/var/www/ecodreamsserver/admincliente/templates', '/var/www/ecodreamsserver/adminretail/templates', '/var/www/ecodreamsserver/adminfabrica/templates', '/var/www/ecodreamsserver/dreamsadmin/templates', '/var/www/ecodreamsserver/web_app/templates', '/var/www/ecodreamsserver/web_app2/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.request', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', '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'], 'debug': True, 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader']}}] |
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 | 'Europe/Madrid' |
URL_SERVER | 'https://ecosegundos.com' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VERSION_ANDROID | '2.1.1' |
VERSION_IOS | '1.9.2' |
WSGI_APPLICATION | 'configuracion.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.