The 'big_image' attribute has no file associated with it.
Request Method: | GET |
---|---|
Request URL: | http://comercial.canal10.com.uy/programa/755/temporario/ |
Django Version: | 1.10.6 |
Exception Type: | ValueError |
Exception Value: | The 'big_image' attribute has no file associated with it. |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py in _require_file, line 46 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.17 |
Python Path: | ['/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', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/opt/itv/django_projects/', '/opt/itv/django_projects/c10_comercial', '/opt/itv/django_projects/c10_comercial/releases', '/opt/itv/django_projects/c10_comercial/releases/last', '/opt/itv/django_projects/c10_comercial/releases/last/src', '/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial'] |
Server time: | Vie, 29 Mar 2024 10:45:14 -0300 |
In template /opt/itv/django_projects/c10_comercial/releases/Canal10PortalComercial/src/canal10_portal_comercial/resources/templates/portal_comercial/show.html
, error at line 69
59 | {{ show.time }} |
---|---|
60 | </p> |
61 | </div> |
62 | <!-- end data --> |
63 | </div> |
64 | <!-- end horario --> |
65 | </div><!-- end splash right col --> |
66 | </div><!-- end overlay --> |
67 | <div class="slider"> |
68 | <div class="promo {{ show.color_class }}"> |
69 | <img src="{{ show.big_image.url }}" rel="{{ show.title}}|{{ show.day }}|{{ show.time }}|{{ show.description}}"> |
70 | </div> |
71 | <!-- end promo --> |
72 | </div><!-- end slider --> |
73 | </div> |
74 | <!-- end splash --> |
75 | <div id="tab-container" class="programa-content container"> |
76 | <ul class="tabs sixteen columns alpha omega"> |
77 | <li class='tab active'> |
78 | <a href="#desc-general">DESCRIPCIÓN GENERAL</a> |
79 | </li> |
/usr/local/lib/python2.7/dist-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 | ValueError("The 'big_image' attribute has no file associated with it.",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe0677967d0>> |
request | <WSGIRequest: GET '/programa/755/temporario/'> |
/usr/local/lib/python2.7/dist-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 0x7fe065da28d0>> |
request | <WSGIRequest: GET '/programa/755/temporario/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe0677967d0> |
/usr/local/lib/python2.7/dist-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 show at 0x7fe064781ed0> |
callback_args | () |
callback_kwargs | {'show_id': u'755', 'show_title': u'temporario'} |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe065da2550>> |
request | <WSGIRequest: GET '/programa/755/temporario/'> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=portal_comercial.views.show, args=(), kwargs={'show_id': u'755', 'show_title': u'temporario'}, url_name=show, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe0677967d0> |
wrapped_callback | <function show at 0x7fe064781ed0> |
/usr/local/lib/python2.7/dist-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 show at 0x7fe064781ed0> |
callback_args | () |
callback_kwargs | {'show_id': u'755', 'show_title': u'temporario'} |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe065da2550>> |
request | <WSGIRequest: GET '/programa/755/temporario/'> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=portal_comercial.views.show, args=(), kwargs={'show_id': u'755', 'show_title': u'temporario'}, url_name=show, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe0677967d0> |
wrapped_callback | <function show at 0x7fe064781ed0> |
/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial/portal_comercial/views.py
in show
conf = _Conf()
#media_url = StreamingUtil.prepare_url (show.video)
#media_url_ios = StreamingUtil.prepare_url_ios (show.video)
show_advers = ShowAdvertisment.objects.filter(show=show, advertisment__active=True)
if show_title == defaultfilters.slugify(show.title):
return render_to_response('portal_comercial/show.html',
locals(),
RequestContext(request))...
else:
slug = defaultfilters.slugify(show.title)
return redirect('show',
show_id=show_id,
show_title=slug,
permanent=True)
Variable | Value |
---|---|
request | <WSGIRequest: GET '/programa/755/temporario/'> |
show | <Show: TEMPORARIO (Activo)> |
show_advers | <QuerySet []> |
show_id | u'755' |
show_title | u'temporario' |
/usr/local/lib/python2.7/dist-packages/django/shortcuts.py
in render_to_response
def render_to_response(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, using=using)...
return HttpResponse(content, content_type, status)
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
Variable | Value |
---|---|
content_type | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show': <Show: TEMPORARIO (Activo)>, 'show_advers': <QuerySet []>, 'show_id': u'755', 'show_title': u'temporario'} |
status | None |
template_name | 'portal_comercial/show.html' |
using | None |
/usr/local/lib/python2.7/dist-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 | {'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show': <Show: TEMPORARIO (Activo)>, 'show_advers': <QuerySet []>, 'show_id': u'755', 'show_title': u'temporario'} |
request | None |
template | <django.template.backends.django.Template object at 0x7fe0644dee50> |
template_name | 'portal_comercial/show.html' |
using | None |
/usr/local/lib/python2.7/dist-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}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
request | None |
self | <django.template.backends.django.Template object at 0x7fe0644dee50> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
def compile_nodelist(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
self | <django.template.base.Template object at 0x7fe0645fc390> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
self | <django.template.base.Template object at 0x7fe0645fc390> |
/usr/local/lib/python2.7/dist-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}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
node | <ExtendsNode: extends "portal_comercial/base.html"> |
self | [<ExtendsNode: extends "portal_comercial/base.html">] |
/usr/local/lib/python2.7/dist-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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
self | <ExtendsNode: extends "portal_comercial/base.html"> |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7fe0644ff750> |
blocks | {u'body_class': <Block Node: body_class. Contents: []>, u'extra_styles': <Block Node: extra_styles. Contents: []>, u'main_content': <Block Node: main_content. Contents: []>, u'title': <Block Node: title. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7fe064608f10> |
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
node | <django.template.defaulttags.LoadNode object at 0x7fe0644ff790> |
self | <ExtendsNode: extends "portal_comercial/base.html"> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
self | <django.template.base.Template object at 0x7fe064608f10> |
/usr/local/lib/python2.7/dist-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'\'/><span>Acceso al<br> sitio privado</span></a></li>\n </nav>\n </div> <!-- end header content -->\n</header>\n <div id="container" role="main" class="container">\n ' |
bits | [u'', u'\n<!doctype html>\n<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->\n<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->\n<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->\n<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->\n<head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\n <title>', u'Sitio Comercial Canal 10 - Cat\xe1logo', u'</title>\n <meta name="description" content="Pautas publicitarias del canal 10, el canal Uruguayo">\n\n <meta name="viewport" content="width=device-width">\n\n <link rel="stylesheet/less" type="text/css" href=\'', u'/static/css/styles.css', u'\'>\n <link rel="shortcut icon" href=\'', u'/static/img/canal-10.png', u'\'/>\n\n <link href="//vjs.zencdn.net/4.1/video-js.css" rel="stylesheet">\n ', u'', u'\n\n <script>\n \tSTATIC_URL = "', u'/static/', u'";\n \tBASE_URL = "', u'/', u'";\n \tLOGIN_STATUS = ', u'"Logout"', u";\n </script>\n\n <script src='", u'/static/js/libs/modernizr-2.5.3.min.js', u"'></script>\n <script src='", u'/static/js/libs/less.js', u'\' type="text/javascript"></script>\n <script src=\'', u'/static/js/libs/swfobject.js', u'\'></script>\n <!--<script src="', u'', u'js/libs/dajaxice.core.js"></script>\n <script src="/comercial/dajaxice/dajaxice.core.js" type="text/javascript" charset="utf-8"></script>-->\n <script src="//vjs.zencdn.net/4.1/video.js"></script>\n <script src="//content.jwplatform.com/libraries/L6G4Ql8b.js"></script>\n\n</head>\n<body class="', u'home programa', u'">\n <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->\n<header>\n <div class="header container">\n <div class="log-content">\n <div class="log-content-inner">\n <div class="log-title"><h3><a href="', u'/password_reset/', u'">Olvide mi Contrase\xf1a</a>LOGIN DE USUARIO</h3></div>\n <form id="loginForm" name="login" action="', u'/login', u'" method="post">\n \t', u'', u'\n <input type="text" name="username" ', u'', u'/>\n <input type="password" name="password" />\n <input name="remember" type="checkbox" ', u'', u'/>\n <label for="remember">Recordar usuario</label>\n <input type="submit" id=\'submitLogin\' onclick="return false;" class="send" value="INGRESAR" />\n <div id=\'loginMessage\'></div>\n </form>\n\n <div id="loginText" class="login">', u'<span><a class="log" href="#">LOGIN</a></span>', u'</div><!-- end login -->\n </div><!-- end log content inner -->\n </div><!-- end log content -->\n <div class="logo four columns alpha omega">\n <a href="', u'/', u'"></a>\n </div> <!-- end logo -->\n <nav>\n <li ><a class="russia" href="https://sites.google.com/view/media-kit-digital/home?authuser=0" target="_blank"><img src=\'', u'/static/img/icono-media-kit.png', u'\' /><span>Mediakit</span></a></li>\n <li ><a class="tv" href="', u'/grilla/', u'"><img src=\'', u'/static/img/btn_tv.png', u'\' /><span>Grilla de Programaci\xf3n</span></a></li>\n <li ><a class="catalogo" href="', u'/catalogo/', u'"><img src=\'', u'/static/img/btn_cat.png', u'\' /><span>Cat\xe1logo de programas</span></a></li>\n <li ><a class="novedades" href="', u'/novedades/', u'"><img src=\'', u'/static/img/btn_novedades.png', u'\' /><span>Informaci\xf3n<br> y Novedades</span></a></li>\n <li ><a class="quienes" href="https://tupauta.canal10.com.uy/Canal10SgcWebJavaSQL_PT/servlet/wpacceso"><img src=\'', u'/static/img/icono-codigos-materiales-03-chico.png', u'\' /><span>Tu Pauta</span></a></li>\n <li ><a class="tanda" href="', u'/tanda/', u'"><img src=\'', u'/static/img/btn_contacto.png', ... <trimmed 4569 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
node | <Block Node: main_content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe0644ff790>, <TextNode: u'\n<!doctype html>\n<!--[if '>, <Block Node: title. Contents: []>, <TextNode: u'</title>\n <meta name="de'>, <django.templatetags.static.StaticNode object at 0x7fe0644ff8d0>, <TextNode: u'\'>\n <link rel="shortcut '>, <django.templatetags.static.StaticNode object at 0x7fe0644ff910>, <TextNode: u'\'/>\n\n <link href="//vjs.'>, <Block Node: extra_styles. Contents: []>, <TextNode: u'\n\n <script>\n \tSTATIC_UR'>, <django.templatetags.static.StaticNode object at 0x7fe0644ffad0>, <TextNode: u'";\n \tBASE_URL = "'>, <django.template.defaulttags.URLNode object at 0x7fe0644ffb50>, <TextNode: u'";\n \tLOGIN_STATUS = '>, <IfNode>, <TextNode: u';\n </script>\n\n <script '>, <django.templatetags.static.StaticNode object at 0x7fe0644ffd90>, <TextNode: u"'></script>\n <script src">, <django.templatetags.static.StaticNode object at 0x7fe0644ffe10>, <TextNode: u'\' type="text/javascript">'>, <django.templatetags.static.StaticNode object at 0x7fe0644ffed0>, <TextNode: u"'></script>\n <!--<script">, <Variable Node: STATIC_URL>, <TextNode: u'js/libs/dajaxice.core.js"'>, <Block Node: body_class. Contents: []>, <TextNode: u'">\n <!--[if lt IE 7]><p '>, <django.template.defaulttags.URLNode object at 0x7fe064505190>, <TextNode: u'">Olvide mi Contrase\xf1a</a'>, <django.template.defaulttags.URLNode object at 0x7fe064505210>, <TextNode: u'" method="post">\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7fe064505350>, <TextNode: u'\n <input t'>, <IfNode>, <TextNode: u'/>\n <input'>, <IfNode>, <TextNode: u'/>\n <label'>, <IfNode>, <TextNode: u'</div><!-- end login -->\n'>, <django.template.defaulttags.URLNode object at 0x7fe064505b50>, <TextNode: u'"></a>\n </div> <!-- end'>, <django.templatetags.static.StaticNode object at 0x7fe064505c10>, <TextNode: u"' /><span>Mediakit</span>">, <django.template.defaulttags.URLNode object at 0x7fe064505cd0>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe064505d90>, <TextNode: u"' /><span>Grilla de Progr">, <django.template.defaulttags.URLNode object at 0x7fe064505e50>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe064505f50>, <TextNode: u"' /><span>Cat\xe1logo de pro">, <django.template.defaulttags.URLNode object at 0x7fe0645e7050>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe0645e7150>, <TextNode: u"' /><span>Informaci\xf3n<br>">, <django.templatetags.static.StaticNode object at 0x7fe0645e7210>, <TextNode: u"' /><span>Tu Pauta</span>">, <django.template.defaulttags.URLNode object at 0x7fe0645e72d0>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe0645e7390>, <TextNode: u"'/><span>La tanda</span><">, <django.template.defaulttags.URLNode object at 0x7fe0645e7450>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe0645e7510>, <TextNode: u"' /><span>Preguntas frecu">, <django.template.defaulttags.URLNode object at 0x7fe0645e7610>, <TextNode: u'"><img src=\''>, <django.templatetags.static.StaticNode object at 0x7fe0645e76d0>, <TextNode: u"'/><span>Acceso al<br> si">, <Block Node: main_content. Contents: []>, <TextNode: u'\n </div> <!-- end contai'>, <django.templatetags.static.StaticNode object at 0x7fe0645e7890>, <TextNode: u'\' alt="Canal 10"/></a>\n\t '>, <django.templatetags.static.StaticNode object at 0x7fe0645e7910>, <TextNode: u'\' alt="Facebook Canal 10"'>, <django.templatetags.static.StaticNode object at 0x7fe0645e79d0>, <TextNode: u'\'alt="Twitter Canal 10"/>'>, <django.templatetags.static.StaticNode object at 0x7fe0645e7a90>, <TextNode: u'\'alt="Instagram Canal 10"'>, <django.templatetags.static.StaticNode object at 0x7fe0645e7b50>, <TextNode: u'\' alt="Asuntos Publicos"/'>, <django.templatetags.static.StaticNode object at 0x7fe0645e7c10>, <TextNode: u'\' alt="Canal 20"/></a>\n\t '>, <d... <trimmed 4758 bytes string> |
/usr/local/lib/python2.7/dist-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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
self | <Block Node: main_content. Contents: []> |
/usr/local/lib/python2.7/dist-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: main_content. Contents: [<TextNode: u'\n<!--[if lt IE 7]><p clas'>, <django.template.loader_tags.IncludeNode object at 0x7fe0645a2210>, <TextNode: u'\n\t\t</div>\t\t\n\t</div>\n\t<!--'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="t'>, <Variable Node: show.color_class>, <TextNode: u'"></span>\n\t\t\t\t<h1>'>, <Variable Node: show.title|upper>, <TextNode: u'</h1>\n\t\t\t</div>\n\t\t\t<!-- e'>, <IfNode>, <TextNode: u'\n\t\t\t<!-- end video -->\n\t\t'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t</div><!-- end splash '>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="e'>, <Variable Node: show.days>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='>, <Variable Node: show.time>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t'>, <Variable Node: show.color_class>, <TextNode: u'">\n\t\t\t<img src="'>, <Variable Node: show.big_image.url>, <TextNode: u'" rel="'>, <Variable Node: show.title>, <TextNode: u'|'>, <Variable Node: show.day>, <TextNode: u'|'>, <Variable Node: show.time>, <TextNode: u'|'>, <Variable Node: show.description>, <TextNode: u'">\n\t\t</div>\n\t\t<!-- end pr'>, <Variable Node: show.time>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <For Node: for emision in show.emisions.all, tail_len: 2>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t<li class="frecue'>, <Variable Node: show.frequency>, <TextNode: u' / semana</span>\n\t\t\t\t\t\t\t<'>, <Variable Node: show.duration>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <Variable Node: show.description>, <TextNode: u'\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- '>, <For Node: for sa in show_advers, tail_len: 15>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div'>, <django.template.defaulttags.AutoEscapeControlNode object at 0x7fe0645e1750>, <TextNode: u'</p>\n\t\t\t\t\t</div>\n\t\t\t\t</di'>, <For Node: for sa in show_advers, tail_len: 9>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<div'>, <django.template.defaulttags.URLNode object at 0x7fe0646088d0>, <TextNode: u'\n\t\t'>, <django.template.loader_tags.IncludeNode object at 0x7fe064608d10>, <TextNode: u'\n\t\t<!-- end ejemplos -->\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fe0644ff750> |
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
push | <Block Node: main_content. Contents: [<TextNode: u'\n<!--[if lt IE 7]><p clas'>, <django.template.loader_tags.IncludeNode object at 0x7fe0645a2210>, <TextNode: u'\n\t\t</div>\t\t\n\t</div>\n\t<!--'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="t'>, <Variable Node: show.color_class>, <TextNode: u'"></span>\n\t\t\t\t<h1>'>, <Variable Node: show.title|upper>, <TextNode: u'</h1>\n\t\t\t</div>\n\t\t\t<!-- e'>, <IfNode>, <TextNode: u'\n\t\t\t<!-- end video -->\n\t\t'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t</div><!-- end splash '>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="e'>, <Variable Node: show.days>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='>, <Variable Node: show.time>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t'>, <Variable Node: show.color_class>, <TextNode: u'">\n\t\t\t<img src="'>, <Variable Node: show.big_image.url>, <TextNode: u'" rel="'>, <Variable Node: show.title>, <TextNode: u'|'>, <Variable Node: show.day>, <TextNode: u'|'>, <Variable Node: show.time>, <TextNode: u'|'>, <Variable Node: show.description>, <TextNode: u'">\n\t\t</div>\n\t\t<!-- end pr'>, <Variable Node: show.time>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <For Node: for emision in show.emisions.all, tail_len: 2>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t<li class="frecue'>, <Variable Node: show.frequency>, <TextNode: u' / semana</span>\n\t\t\t\t\t\t\t<'>, <Variable Node: show.duration>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <Variable Node: show.description>, <TextNode: u'\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- '>, <For Node: for sa in show_advers, tail_len: 15>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div'>, <django.template.defaulttags.AutoEscapeControlNode object at 0x7fe0645e1750>, <TextNode: u'</p>\n\t\t\t\t\t</div>\n\t\t\t\t</di'>, <For Node: for sa in show_advers, tail_len: 9>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<div'>, <django.template.defaulttags.URLNode object at 0x7fe0646088d0>, <TextNode: u'\n\t\t'>, <django.template.loader_tags.IncludeNode object at 0x7fe064608d10>, <TextNode: u'\n\t\t<!-- end ejemplos -->\n'>]> |
self | <Block Node: main_content. Contents: []> |
/usr/local/lib/python2.7/dist-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\t\t\t<img src="' |
bits | [u'\n<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->\n<!--Para volver a poner las franjas de colores, en los div donde esta la clase de color, poner la clase stripe -->\n<div class="splash-container container alpha omega">\n\t<div class="overlay-video">\n\t\t<div class="inner">\n\t\t\t<a name="video" class="plus"></a>\n\t\t\t', u'<iframe src="https://content.zetatv.com.uy/content//embed/?autoplay=true&download-button=1"\n width="480px" height="360px"\n style="overflow:hidden; border:0;"\n scrolling="no"\n seamless="seamless"\n allowfullscreen\n onload="onFrameLoad(this)">\n</iframe>\n', u'\n\t\t</div>\t\t\n\t</div>\n\t<!-- end overlay video -->\n\t<div class="overlay container">\n\t\t<div class="spl-left-col">\n\t\t\t<div class="', u'g', u'"></div>\n\t\t\t<div class="title">\n\t\t\t\t<span class="', u'g', u'"></span>\n\t\t\t\t<h1>', u'TEMPORARIO', u'</h1>\n\t\t\t</div>\n\t\t\t<!-- end title -->\n\t\t\t', u'', u'\n\t\t\t<!-- end video -->\n\t\t</div><!-- end splash left col -->\n\t\t<div class="spl-middle-col">\n\t\t\t<div class="', u'g', u'"></div>\n\t\t\t', u'', u'\n\t\t</div><!-- end splash middle col -->\n\t\t<div class="spl-right-col">\n\t\t\t<div class="', u'g', u'"></div>\n\t\t\t<div class="empty-one"></div><!-- end empty one -->\n\t\t\t<div class="empty-two"></div><!-- end empty one -->\n\t\t\t<div class="horario">\n\t\t\t\t<div class="data">\n\t\t\t\t\t<p class="dias">\n\t\t\t\t\t\t', u'Viernes', u'\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class="hora">\n\t\t\t\t\t\t', u'23:00', u'\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t\t<!-- end data -->\n\t\t\t</div>\n\t\t\t<!-- end horario -->\n\t\t</div><!-- end splash right col -->\n\t</div><!-- end overlay -->\n\t<div class="slider">\n\t\t<div class="promo ', u'g', u'">\n\t\t\t<img src="'] |
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
node | <Variable Node: show.big_image.url> |
self | [<TextNode: u'\n<!--[if lt IE 7]><p clas'>, <django.template.loader_tags.IncludeNode object at 0x7fe0645a2210>, <TextNode: u'\n\t\t</div>\t\t\n\t</div>\n\t<!--'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="t'>, <Variable Node: show.color_class>, <TextNode: u'"></span>\n\t\t\t\t<h1>'>, <Variable Node: show.title|upper>, <TextNode: u'</h1>\n\t\t\t</div>\n\t\t\t<!-- e'>, <IfNode>, <TextNode: u'\n\t\t\t<!-- end video -->\n\t\t'>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t</div><!-- end splash '>, <Variable Node: show.color_class>, <TextNode: u'"></div>\n\t\t\t<div class="e'>, <Variable Node: show.days>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='>, <Variable Node: show.time>, <TextNode: u'\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t'>, <Variable Node: show.color_class>, <TextNode: u'">\n\t\t\t<img src="'>, <Variable Node: show.big_image.url>, <TextNode: u'" rel="'>, <Variable Node: show.title>, <TextNode: u'|'>, <Variable Node: show.day>, <TextNode: u'|'>, <Variable Node: show.time>, <TextNode: u'|'>, <Variable Node: show.description>, <TextNode: u'">\n\t\t</div>\n\t\t<!-- end pr'>, <Variable Node: show.time>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <For Node: for emision in show.emisions.all, tail_len: 2>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t<li class="frecue'>, <Variable Node: show.frequency>, <TextNode: u' / semana</span>\n\t\t\t\t\t\t\t<'>, <Variable Node: show.duration>, <TextNode: u'</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t'>, <Variable Node: show.description>, <TextNode: u'\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- '>, <For Node: for sa in show_advers, tail_len: 15>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div'>, <django.template.defaulttags.AutoEscapeControlNode object at 0x7fe0645e1750>, <TextNode: u'</p>\n\t\t\t\t\t</div>\n\t\t\t\t</di'>, <For Node: for sa in show_advers, tail_len: 9>, <TextNode: u'\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t<div'>, <django.template.defaulttags.URLNode object at 0x7fe0646088d0>, <TextNode: u'\n\t\t'>, <django.template.loader_tags.IncludeNode object at 0x7fe064608d10>, <TextNode: u'\n\t\t<!-- end ejemplos -->\n'>] |
/usr/local/lib/python2.7/dist-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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
self | <Variable Node: show.big_image.url> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
self | <Variable Node: show.big_image.url> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x7fe06459bb50> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
self | <Variable: u'show.big_image.url'> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)...
except (TypeError, AttributeError) as e:
# Reraise an AttributeError raised by a @property
if (isinstance(e, AttributeError) and
not isinstance(current, BaseContext) and bit in dir(current)):
raise
try: # list-index lookup
Variable | Value |
---|---|
bit | u'url' |
context | [{'False': False, 'None': None, 'True': True}, {'show_advers': <QuerySet []>, 'show_id': u'755', 'request': <WSGIRequest: GET '/programa/755/temporario/'>, 'show_title': u'temporario', 'show': <Show: TEMPORARIO (Activo)>}] |
current | <ImageFieldFile: None> |
e | ValueError("The 'big_image' attribute has no file associated with it.",) |
self | <Variable: u'show.big_image.url'> |
template_name | 'portal_comercial/show.html' |
/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py
in _get_url
def _get_path(self):
self._require_file()
return self.storage.path(self.name)
path = property(_get_path)
def _get_url(self):
self._require_file()...
return self.storage.url(self.name)
url = property(_get_url)
def _get_size(self):
self._require_file()
if not self._committed:
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py
in _require_file
# The standard File contains most of the necessary properties, but
# FieldFiles can be instantiated without a name, so that needs to
# be checked for here.
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)...
def _get_file(self):
self._require_file()
if not hasattr(self, '_file') or self._file is None:
self._file = self.storage.open(self.name, 'rb')
return self._file
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'comercial.canal10.com.uy' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_AMZN_TRACE_ID | 'Root=1-6606c5ea-3531948734212fe1040fbabc' |
HTTP_X_FORWARDED_FOR | '3.236.217.172' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | u'/programa/755/temporario/' |
PATH_TRANSLATED | '/opt/itv/django_projects/c10_comercial/django.wsgi/programa/755/temporario/' |
QUERY_STRING | '' |
REMOTE_ADDR | '10.11.196.90' |
REMOTE_PORT | '52646' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/programa/755/temporario/' |
SCRIPT_FILENAME | '/opt/itv/django_projects/c10_comercial/django.wsgi' |
SCRIPT_NAME | u'' |
SERVER_ADDR | '10.11.192.10' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'comercial.canal10.com.uy' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.29 (Ubuntu) Server at comercial.canal10.com.uy Port 80</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.29 (Ubuntu)' |
apache.version | (2, 4, 29) |
mod_wsgi.application_group | '10.11.192.10|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '80' |
mod_wsgi.path_info | '/programa/755/temporario/' |
mod_wsgi.process_group | '' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'r0p12Ww+MYE' |
mod_wsgi.request_start | '1711719914490543' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711719914490685' |
mod_wsgi.thread_id | 0 |
mod_wsgi.thread_requests | 2L |
mod_wsgi.total_requests | 2L |
mod_wsgi.version | (4, 5, 17) |
wsgi.errors | <mod_wsgi.Log object at 0x7fe0645b9a30> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7fe064658b20> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
canal10_portal_comercial.custom_settings.settings_prod
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_PREFIX | '' |
ALLOWED_HOSTS | ['comercial.canal10.com.uy', '10.11.192.10', '127.0.0.1', 'staging-comercial.canal10.com.uy', '.canal10.com.uy'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_MEDIA_URL | 'http://190.0.132.2:1937/' |
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 |
CDN_URL_BASE | 'https://content.zetatv.com.uy/content/' |
CDN_URL_END | '/embed' |
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 | [] |
DAJAXICE_DEBUG | False |
DAJAXICE_MEDIA_PREFIX | 'dajaxice' |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '10.11.192.70', 'NAME': 'c10comercial', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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 | ['%d/%m/%Y', '%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y', '%Y %B %d', '%Y %B, %d'] |
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'' |
DFP_API_VERSION | u'********************' |
DFP_CLIENT_AUTH_PATH | '/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial/gestion_publicidades/dfp_api/auth_files/prod/' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'portal_comercial.email_backend.EmailBackend' |
EMAIL_HOST | 'email-smtp.us-east-1.amazonaws.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'AKIAJNY7POX6SHBT6HAA' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
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 |
FROM_EMAIL_ACCOUNT | 'info@canal10.com.uy' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('longer_username', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'portal_comercial', 'django.contrib.admin', 'tinymce', 'rest_framework') |
INTEGRA_APP | 'vod' |
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_UY' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOCAL_RESOURCES_PATH | '/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial/resources/' |
LOCAL_ROOT_PATH | '/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial' |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MATCH_RANGE | 0.25 |
MEDIA_ROOT | '/opt/itv/django_projects/c10_comercial/releases/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PDF_SERVICE | 'http://127.0.0.1:8000/dompdf/dompdf.php' |
PLATFORM_DATALOGIC_PATH | '/SGC/servlet/' |
PLATFORM_DATALOGIC_PORT | 8080 |
PLATFORM_DATALOGIC_URL | '172.16.10.4' |
PREFIX_MEDIA_URL | '/smil:' |
PREPEND_WWW | False |
PROGRAMAS_EXCLUIDOS | ['IGLESIA UNIVERSAL', 'EL SHOW DE LA FE'] |
RESOURCES_PATH | '/opt/itv/django_projects/c10_comercial/releases/Canal10PortalComercial/src/canal10_portal_comercial/resources/' |
ROOT_PATH | '/opt/itv/django_projects/c10_comercial/releases/Canal10PortalComercial/src/canal10_portal_comercial' |
ROOT_URLCONF | 'urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | 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' |
SERVER_URL | 'http://comercial.canal10.com.uy' |
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 | 'canal10_portal_comercial.custom_settings.settings_prod' |
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 |
STATICFILES_DIRS | ('/opt/itv/django_projects/c10_comercial/releases/last/src/canal10_portal_comercial/static/',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/opt/itv/django_projects/c10_comercial/releases/static/' |
STATIC_URL | '/static/' |
SUFFIX_MEDIA_URL | '/manifest.f4m' |
SUFFIX_MEDIA_URL_IOS | '/playlist.m3u8' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/itv/django_projects/c10_comercial/releases/Canal10PortalComercial/src/canal10_portal_comercial/resources/templates/'], 'OPTIONS': {'context_processors': ['django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}}] |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.contrib.messages.context_processors.messages', 'portal_comercial.context_processors.cookie_login', 'portal_comercial.context_processors.applist') |
TEMPLATE_DEBUG | True |
TEMPLATE_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 | 'America/Montevideo' |
TINYMCE_DEFAULT_CONFIG | {'theme': 'advanced', 'theme_advanced_buttons1': 'bold,italic,underline,bullist,numlist,outdent,indent,cut,copy,paste,undo,redo,fontsizeselect,forecolor,backcolor,link,unlink,code,image', 'theme_advanced_buttons2': '', 'theme_advanced_buttons3': '', 'theme_advanced_toolbar_align': 'center', 'theme_advanced_toolbar_location': 'top'} |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
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.