libjpeg.so.8: cannot open shared object file: No such file or directory
Request Method: | GET |
---|---|
Request URL: | https://sporthub.ru/dot/wsgi.py/search/grounds/1/ |
Django Version: | 1.8 |
Exception Type: | ImportError |
Exception Value: | libjpeg.so.8: cannot open shared object file: No such file or directory |
Exception Location: | /home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/PIL/Image.py in <module>, line 63 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.18 |
Python Path: | ['/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django_ajaximage-0.2.7-py2.7.egg-info/', '/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/', 'home/s/sporthabru/hub', '/home/s/sporthabru/hub/public_html/', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages'] |
Server time: | Пт, 29 Мар 2024 07:51:25 +0000 |
In template /home/s/sporthabru/hub/public_html/search_manager/templates/search_manager/search_form.html
, error at line 350
340 | {% endif %} |
---|---|
341 | {%if form.sex %} |
342 | <h4 style="margin-top:18px;">Пол:</h4> |
343 | {{form.sex}} |
344 | {% endif %} |
345 | <h4 style="margin-top:16px;">Вид спорта:</h4> |
346 | <div id="sportstabs" class="ages"> |
347 | {{form.sportname}} |
348 | </div> |
349 | <h4 style="margin-top:16px;">Город:</h4> |
350 | {{form.city}} |
351 | <input type="submit" value="Показать" class="clearfix" style="margin-top:20px;margin-bottom:20px; width:150px;" /> |
352 | </form> |
353 | </div> |
354 | {% endblock %} |
355 | |
356 | {% block content %} |
357 | <div id="map-canvas"></div> |
358 | |
359 | {%if pages|length %} |
360 | <div class="large-8 columns"> |
/home/s/sporthabru/.djangoenv/lib64/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:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | ImportError('libjpeg.so.8: cannot open shared object file: No such file or directory',) |
callback_args | (u'1',) |
resolver_match | ResolverMatch(func=search_manager.views.grounds, args=(u'1',), kwargs={}, url_name=None, app_name=None, namespaces=[]) |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0x7f5412d48c50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f5414780a10> |
request | "<WSGIRequest\npath:/dot/wsgi.py/search/grounds/1/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'ooF7iHcYHqehicSOWMX4Qh2EmqfgnAR1',\n u'CSRF_COOKIE_USED': True,\n 'DOCUMENT_ROOT': '/home/s/sporthabru/hub/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CGI_AUTHORIZATION': '',\n 'HTTP_HOST': 'sporthub.ru',\n 'HTTP_HTTPS': 'on',\n 'HTTP_REFERER': 'http://sporthub.ru/search/grounds/1/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '174.129.93.231',\n 'HTTP_X_FORWARDED_PORT': '443',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_SECURITY': 'on',\n 'MEF_PROXY_ADDR': '127.0.0.1',\n 'PATH_INFO': u'/search/grounds/1/',\n 'PATH_TRANSLATED': 'redirect:/dot/wsgi.py/search/grounds/1//grounds/1/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '174.129.93.231',\n 'REMOTE_PORT': '43654',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/dot/wsgi.py/search/grounds/1/',\n 'SCRIPT_FILENAME': '/home/s/sporthabru/hub/public_html/dot/wsgi.py',\n 'SCRIPT_NAME': u'/dot/wsgi.py',\n 'SCRIPT_URI': 'http://sporthub.ru/dot/wsgi.py/search/grounds/1/',\n 'SCRIPT_URL': '/dot/wsgi.py/search/grounds/1/',\n 'SERVER_ADDR': '127.0.0.1',\n 'SERVER_ADMIN': 'support@sweb.ru',\n 'SERVER_NAME': 'sporthub.ru',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18 Server at sporthub.ru Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18',\n 'UNIQUE_ID': 'ZgZy-X8AAAEACy08IWYAAAAZ',\n 'apache.version': (2, 2, 29),\n 'mod_wsgi.application_group': 'vh284.sweb.ru|/dot/wsgi.py',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '8079',\n 'mod_wsgi.path_info': '/search/grounds/1/',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.request_start': '1711698685112086',\n 'mod_wsgi.script_name': '/dot/wsgi.py',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.script_start': '1711698685121690',\n 'mod_wsgi.version': (4, 4, 21),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f5412cfeb70>,\n 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f5412cfeb20>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function grounds at 0x7f5413658bd0> |
wrapped_callback | <function grounds at 0x7f5413658bd0> |
resolver | <RegexURLResolver 'dot.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'dot.urls' |
/home/s/sporthabru/hub/public_html/search_manager/views.py
in grounds
return render_to_response('search_manager/search_form.html', {"form": mform,
'pages': pages,
'username': get_username(request),
"filter":filter,
'content_url':'/profiles/ground/',
'active_cat': 'cat_ground',
"year": datetime.now().year},
context_instance=RequestContext(request))...
def news(request, page_number=1):
if request.method == 'POST':
return redirect("/search/news/1/?%s" % get_filter_and_form(request)[0])
Variable | Value |
---|---|
filter | 'city=&sportname_select=&ages_select=&sex=' |
page_number | u'1' |
mform | <SearchForm bound=False, valid=Unknown, fields=(ages;sportname;city;sex)> |
request | "<WSGIRequest\npath:/dot/wsgi.py/search/grounds/1/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'ooF7iHcYHqehicSOWMX4Qh2EmqfgnAR1',\n u'CSRF_COOKIE_USED': True,\n 'DOCUMENT_ROOT': '/home/s/sporthabru/hub/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CGI_AUTHORIZATION': '',\n 'HTTP_HOST': 'sporthub.ru',\n 'HTTP_HTTPS': 'on',\n 'HTTP_REFERER': 'http://sporthub.ru/search/grounds/1/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '174.129.93.231',\n 'HTTP_X_FORWARDED_PORT': '443',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_SECURITY': 'on',\n 'MEF_PROXY_ADDR': '127.0.0.1',\n 'PATH_INFO': u'/search/grounds/1/',\n 'PATH_TRANSLATED': 'redirect:/dot/wsgi.py/search/grounds/1//grounds/1/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '174.129.93.231',\n 'REMOTE_PORT': '43654',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/dot/wsgi.py/search/grounds/1/',\n 'SCRIPT_FILENAME': '/home/s/sporthabru/hub/public_html/dot/wsgi.py',\n 'SCRIPT_NAME': u'/dot/wsgi.py',\n 'SCRIPT_URI': 'http://sporthub.ru/dot/wsgi.py/search/grounds/1/',\n 'SCRIPT_URL': '/dot/wsgi.py/search/grounds/1/',\n 'SERVER_ADDR': '127.0.0.1',\n 'SERVER_ADMIN': 'support@sweb.ru',\n 'SERVER_NAME': 'sporthub.ru',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18 Server at sporthub.ru Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18',\n 'UNIQUE_ID': 'ZgZy-X8AAAEACy08IWYAAAAZ',\n 'apache.version': (2, 2, 29),\n 'mod_wsgi.application_group': 'vh284.sweb.ru|/dot/wsgi.py',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '8079',\n 'mod_wsgi.path_info': '/search/grounds/1/',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.request_start': '1711698685112086',\n 'mod_wsgi.script_name': '/dot/wsgi.py',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.script_start': '1711698685121690',\n 'mod_wsgi.version': (4, 4, 21),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f5412cfeb70>,\n 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f5412cfeb20>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
pages | <Page 1 of 1> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/shortcuts.py
in render_to_response
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)...
return HttpResponse(content, content_type, status)
def render(request, template_name, context=None,
context_instance=_context_instance_undefined,
Variable | Value |
---|---|
dirs | <object object at 0x7f541484dc60> |
status | None |
content_type | None |
dictionary | <object object at 0x7f541484dc50> |
template_name | 'search_manager/search_form.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
context | {'active_cat': 'cat_ground', 'content_url': '/profiles/ground/', 'filter': 'city=&sportname_select=&ages_select=&sex=', 'form': <SearchForm bound=False, valid=Unknown, fields=(ages;sportname;city;sex)>, 'pages': <Page 1 of 1>, 'username': None, 'year': 2024} |
using | None |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/loader.py
in render_to_string
if request is not None:
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
continue
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)...
elif context_instance is not _context_instance_undefined:
warnings.warn(
"Skipping template backend %s because its render_to_string "
"method doesn't support the context_instance argument." %
engine.name, stacklevel=2)
elif dirs is not _dirs_undefined:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x7f54136eea10> |
dirs | <object object at 0x7f541484dc60> |
dictionary | <object object at 0x7f541484dc50> |
template_name | 'search_manager/search_form.html' |
request | None |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
context | {'active_cat': 'cat_ground', 'content_url': '/profiles/ground/', 'filter': 'city=&sportname_select=&ages_select=&sex=', 'form': <SearchForm bound=False, valid=Unknown, fields=(ages;sportname;city;sex)>, 'pages': <Page 1 of 1>, 'username': None, 'year': 2024} |
using | None |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/engine.py
in render_to_string
else:
return t.render(Context(context))
if not context:
return t.render(context_instance)
# Add the context to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
with context_instance.push(context):
return t.render(context_instance)...
def select_template(self, template_name_list, dirs=_dirs_undefined):
"""
Given a list of template names, returns the first that can be loaded.
"""
if dirs is _dirs_undefined:
Variable | Value |
---|---|
dirs | <object object at 0x7f541484dc60> |
dictionary | None |
template_name | 'search_manager/search_form.html' |
self | <django.template.engine.Engine object at 0x7f54136ee910> |
t | <django.template.base.Template object at 0x7f5412d06d10> |
context | {'active_cat': 'cat_ground', 'content_url': '/profiles/ground/', 'filter': 'city=&sportname_select=&ages_select=&sex=', 'form': <SearchForm bound=False, valid=Unknown, fields=(ages;sportname;city;sex)>, 'pages': <Page 1 of 1>, 'username': None, 'year': 2024} |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f5412d06d10> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
def setup_test_environment():
"""Perform any global pre-test setup. This involves:
- Installing the instrumented test renderer
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f5412d06d10> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/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 = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "base_2cols.html"> |
self | [<ExtendsNode: extends "base_2cols.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends "base_2cols.html"> |
self | [<ExtendsNode: extends "base_2cols.html">] |
e | ImportError('libjpeg.so.8: cannot open shared object file: No such file or directory',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f5412c6b390> |
blocks | {u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'footer': <Block Node: footer. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c6be10>, <Text Node: ' '>]>, u'head': <Block Node: head. Contents: [<Text Node: ' '>]>, u'left_col': <Block Node: left_col. Contents: [<Text Node: ' '>]>, u'menu': <Block Node: menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c754d0>]>, u'navigation_bar': <Block Node: navigation_bar. Contents: []>, u'title': <Block Node: title. Contents: [<Text Node: '???? ????????? ??????'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f5412ca7250> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
compiled_parent | <django.template.base.Template object at 0x7f5412caf8d0> |
self | <ExtendsNode: extends "base_2cols.html"> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
def setup_test_environment():
"""Perform any global pre-test setup. This involves:
- Installing the instrumented test renderer
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f5412caf8d0> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/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 = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: left_col. Contents: [<Text Node: ' '>]> |
bit | u'\n</div>\n</div>\n<div style="position:absolute;width:180px;min-height: 640px;border-right: 1px solid #ccc;" class="shadow">\n' |
bits | [u'\ufeff', u'', u'\n<!DOCTYPE html>\n<html>\n\n<head>\n<title>', u'\u041a\u043b\u0443\u0431 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u0441\u043f\u043e\u0440\u0442\u0430', u'</title>\n<script type="text/javascript" src="/static/js/jquery.min.js"></script>\n<script type="text/javascript" src="/static/js/jquery-ui.js"></script>\n<script type="text/javascript" src="', u'/static/js/csrf.js', u'"></script>\n<link type="text/css" rel="stylesheet" href="/static/jquery-ui.css" >\n<link type="text/css" rel="stylesheet" href="/static/foundation.css" >\n<link rel="shortcut icon" href="/images/favicon.ico" />\n <style>\n.black_overlay{\n visibility:hidden;\n opacity:0;\n transition:visibility 0s linear 0.5s,opacity 0.5s linear;\n position: absolute;\n top: 0%;\n left: 0%;\n width: 100%;\n height: 100%;\n background-color: black;\n z-index:1001;\n}\n.feedback_content {\n z-index:1002;\n overflow: auto;\n}\n.titleh2 {\n\n}\n#sendus:hover{\nbackground-color:#a0a0a0;\n}\n#sendus{\nbackground-color:rgba(160,160,160,0.6);\n}\n#feedbacktext{\nposition: absolute;\nmargin: 130px 23px 0 13px;\n}\n#fleft_col {\nfloat:left;\nmargin:13px 0px 0px 13px;\nwidth: 300px;\n}\n#fright_col {\nfloat:right;\nmargin:13px 0px 0px 13px;\nwidth: 300px;\n}\n#fdialog {\n-webkit-border-radius: 4px;\n-moz-border-radius: 4px;\n-o-border-radius: 4px;\nborder-radius: 4px;\n\n}\n.fradio{\nfont-size: 18px;position: relative;left: 10px;margin-right: 19px;\n}\n.flabel{\nclear:both;\ncolor:#6d6d6d;\ndisplay:block;\nheight: 24px;\nwidth:300px;\nmargin-left\n}\n\n.input_wrapper{\npadding:3px 5px;\n}\n</style>\n\n<script>\nvar ignore_fade = false;\n$( document ).ready(function() {\n\t$( "#sendus" ).attr("onclick","popup_feedback()");\n\t$( "#send_feedback" ).attr("onclick","submit_feedback()");\n\t$( "#fdialog").click(function (event){event.stopPropagation();});\n\t$( "#fade" ).attr("onclick","hide_feedback()");\n\t$( "#url" ).val($(location).attr(\'href\'));\n});\nfunction submit_forget(formid){\n\tform = $(formid);\n $.ajax({\n \t data: form.serialize(), // get the form data\n type: form.attr(\'method\'), // GET or POST\n url: form.attr(\'action\'), // the file to call\n context: form,\n // handle a successful response\n success : function(json) {\n console.log(json); // log the returned json to the console\n console.log("success"); // another sanity check\n },\n\n // handle a non-successful response\n error : function(xhr,errmsg,err) {\n console.log(xhr.status + ": " + xhr.responseText); // provide a bit more info about the error to the console\n }\n });\n}\nfunction submit_feedback() {\n\t if (ignore_fade == false) {\n\t\t ignore_fade = true;\n\t\t submit_forget("#feedbackform");\n\t\t $( "#sendus" ).attr("onclick","popup_feedback()");\n\t\t $( "#feedback_box" ).animate({\n\t\t\t marginLeft: "+=3300",\n\t\t\t }, 500, function() {\n\t\t\t\t $(\'#fade\').fadeTo("slow",0.0);\n\t\t\t\t $("#feedbackform")[0].reset();\n\t\t\t\t $( "#feedback_box" ).animate({\n\t\t\t\t\t\t marginBottom: "-=370",\n\t\t\t\t\t\t }, 600, function() {\n\t\t\t\t\t\t\t $(\'#fade\').css("visibility","hidden");\n\t\t\t\t\t\t\t $( "#feedback_box" ).animate({\n\t\t\t\t\t\t\t\t marginLeft: "-=3300",\n\t\t\t\t\t\t\t\t }, 500, function() {\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t $( "#feedback_box" ).animate({\n\t\t\t\t\t\t\t\t\t\t marginBottom: "+=40",\n\t\t\t\t\t\t\t\t\t\t }, 1000, function() {\n\t\t\t\t\t\t\t\t\t\t\t ignore_fade = false;\n\t\t\t\t\t\t\t\t\t\t });\n\t\t\t\t\t\t\t\t });\n\t\n\t\t\t\t\t \t});\n\t\t\t });\n\t}\n}\nfunction hide_feedback() {\n\t if (ignore_fade == false) {\n\t\t ignore_fade = true;\n\t\t $( "#sendus" ).attr("onclick","popup_feedback()");\n\t\t $(\'#fade\').fadeTo("slow",0.0);\n\t\t $( "#feedback_box" ).animate({\n\t\t\t marginBottom: "-=330",\n\t\t\t }, 500, function() {\n\t\t\t\t $(\'#fade\').css("visibility","hidden");\n\t\t\t\t ignore_fade = false;... <trimmed 15442 bytes string> |
self | [<Text Node: '?'>, <django.template.defaulttags.LoadNode object at 0x7f5412c6b390>, <Text Node: ' <!DOCTYPE html> <html> '>, <Block Node: title. Contents: [<Text Node: '???? ????????? ??????'>]>, <Text Node: '</title> <script type="te'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c6b510>, <Text Node: '"></script> <link type="t'>, <Block Node: head. Contents: [<Text Node: ' '>]>, <Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c6b690>, <Text Node: '"/> <link rel="stylesheet'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c752d0>, <Text Node: '"/> <meta http-equiv="con'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c6b7d0>, <Text Node: ' <div id="fleft_col"> <sp'>, <IfNode>, <Text Node: ' <div id="logo"><a href='>, <Variable Node: region>, <Text Node: '</div> </div> <div id="r'>, <Variable Node: region>, <Text Node: '</span></div> </div>'>, <Block Node: menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c754d0>]>, <Text Node: ' </div> </div> <div id="'>, <Block Node: navigation_bar. Contents: []>, <Text Node: ' </div> </div> <div style'>, <Block Node: left_col. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Block Node: footer. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c6be10>, <Text Node: ' '>]>, <Text Node: ' </div> <div style="margi'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> </div> </'>] |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: left_col. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '?'>, <django.template.defaulttags.LoadNode object at 0x7f5412c6b390>, <Text Node: ' <!DOCTYPE html> <html> '>, <Block Node: title. Contents: [<Text Node: '???? ????????? ??????'>]>, <Text Node: '</title> <script type="te'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c6b510>, <Text Node: '"></script> <link type="t'>, <Block Node: head. Contents: [<Text Node: ' '>]>, <Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c6b690>, <Text Node: '"/> <link rel="stylesheet'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f5412c752d0>, <Text Node: '"/> <meta http-equiv="con'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c6b7d0>, <Text Node: ' <div id="fleft_col"> <sp'>, <IfNode>, <Text Node: ' <div id="logo"><a href='>, <Variable Node: region>, <Text Node: '</div> </div> <div id="r'>, <Variable Node: region>, <Text Node: '</span></div> </div>'>, <Block Node: menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c754d0>]>, <Text Node: ' </div> </div> <div id="'>, <Block Node: navigation_bar. Contents: []>, <Text Node: ' </div> </div> <div style'>, <Block Node: left_col. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Block Node: footer. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f5412c6be10>, <Text Node: ' '>]>, <Text Node: ' </div> <div style="margi'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> </div> </'>] |
e | ImportError('libjpeg.so.8: cannot open shared object file: No such file or directory',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/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 |
---|---|
push | <Block Node: left_col. Contents: [<Text Node: ' <div class="columns" sty'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c9ec10>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <h4 style="margin-top:16'>, <Variable Node: form.sportname>, <Text Node: ' </div> <h4 style="m'>, <Variable Node: form.city>, <Text Node: ' <input type="submit" val'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f5412ca7250> |
block | <Block Node: left_col. Contents: [<Text Node: ' <div class="columns" sty'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c9ec10>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <h4 style="margin-top:16'>, <Variable Node: form.sportname>, <Text Node: ' </div> <h4 style="m'>, <Variable Node: form.city>, <Text Node: ' <input type="submit" val'>]> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
self | <Block Node: left_col. Contents: [<Text Node: ' '>]> |
/home/s/sporthabru/.djangoenv/lib64/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 = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Variable Node: form.city> |
bit | u'\n </div>\n<h4 style="margin-top:16px;">\u0413\u043e\u0440\u043e\u0434:</h4>\n' |
bits | [u'\n<div class="columns" style="width:100%; margin-top: -16px;padding-bottom: 35px;">\n<form action="" method="post">\n', u"<input type='hidden' name='csrfmiddlewaretoken' value='ooF7iHcYHqehicSOWMX4Qh2EmqfgnAR1' />", u'\n', u'\n<h4 style="margin-top:18px;">\u0412\u043e\u0437\u0440\u0430\u0441\u0442:</h4>\n <div id="agestabs" class="ages">\n<select multiple="multiple" id="id_ages" name="ages" style="display:None;">\n<option value="2">\u043e\u0442 0 \u0434\u043e 3 \u043b\u0435\u0442</option>\n<option value="3">\u043e\u0442 4 \u0434\u043e 7 \u043b\u0435\u0442</option>\n<option value="4">\u043e\u0442 8 \u0434\u043e 17 \u043b\u0435\u0442</option>\n<option value="6">\u043e\u0442 18 \u0434\u043e 30 \u043b\u0435\u0442</option>\n<option value="7">\u043e\u0442 30 \u0434\u043e 40 \u043b\u0435\u0442</option>\n<option value="8">\u043e\u0442 40 \u043b\u0435\u0442</option>\n</select>\n</div>\n', u'\n', u'', u'\n<h4 style="margin-top:16px;">\u0412\u0438\u0434 \u0441\u043f\u043e\u0440\u0442\u0430:</h4>\n <div id="sportstabs" class="ages">\n', u'<select multiple="multiple" id="id_sport" name="sportname" style="display:None;">\n<option value="1">\u0424\u0443\u0442\u0431\u043e\u043b</option>\n<option value="5">\u0424\u0438\u0442\u043d\u0435\u0441</option>\n<option value="3">\u0412\u043e\u043b\u0435\u0439\u0431\u043e\u043b</option>\n<option value="7">\u041d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043d\u043d\u0438\u0441</option>\n<option value="10">\u0415\u0434\u0438\u043d\u043e\u0431\u043e\u0440\u0441\u0442\u0432\u0430</option>\n<option value="18">\u0411\u0430\u0434\u043c\u0438\u043d\u0433\u0442\u043e\u043d</option>\n<option value="20">\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u0435\u043d\u043d\u0438\u0441</option>\n<option value="26">\u041c\u0438\u043d\u0438-\u0444\u0443\u0442\u0431\u043e\u043b</option>\n<option value="28">\u0420\u0443\u043a\u043e\u043f\u0430\u0448\u043d\u044b\u0439 \u0431\u043e\u0439</option>\n<option value="29">\u0413\u0438\u043c\u043d\u0430\u0441\u0442\u0438\u043a\u0430</option>\n<option value="30">\u0411\u0435\u0439\u0441\u0431\u043e\u043b</option>\n<option value="31">\u0428\u0430\u0445\u043c\u0430\u0442\u044b</option>\n<option value="32">\u0422\u0430\u043d\u0446\u044b</option>\n<option value="17">\u041f\u0438\u043e\u043d\u0435\u0440\u0431\u043e\u043b</option>\n<option value="15">\u0411\u0430\u0434\u043c\u0438\u043d\u0442\u043e\u043d</option>\n<option value="14">\u041b\u044b\u0436\u0438</option>\n<option value="2">\u0411\u0430\u0441\u043a\u0435\u0442\u0431\u043e\u043b</option>\n<option value="4">\u0425\u043e\u043a\u043a\u0435\u0439</option>\n<option value="6">\u0422\u0435\u043d\u043d\u0438\u0441</option>\n<option value="8">\u041f\u043b\u044f\u0436\u043d\u044b\u0439 \u0432\u043e\u043b\u0435\u0439\u0431\u043e\u043b</option>\n<option value="9">\u0411\u043e\u043a\u0441</option>\n<option value="11">\u041b\u0435\u0433\u043a\u0430\u044f \u0430\u0442\u043b\u0435\u0442\u0438\u043a\u0430</option>\n<option value="12">\u0410\u0432\u0442\u043e/\u043c\u043e\u0442\u043e\u0441\u043f\u043e\u0440\u0442</option>\n<option value="13">\u0412\u0435\u043b\u043e\u0441\u043f\u043e\u0440\u0442</option>\n<option value="34">\u0424\u0435\u0445\u0442\u043e\u0432\u0430\u043d\u0438\u0435</option>\n</select>', u'\n </div>\n<h4 style="margin-top:16px;">\u0413\u043e\u0440\u043e\u0434:</h4>\n'] |
self | [<Text Node: ' <div class="columns" sty'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c9ec10>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <h4 style="margin-top:16'>, <Variable Node: form.sportname>, <Text Node: ' </div> <h4 style="m'>, <Variable Node: form.city>, <Text Node: ' <input type="submit" val'>] |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Variable Node: form.city> |
self | [<Text Node: ' <div class="columns" sty'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f5412c9ec10>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <h4 style="margin-top:16'>, <Variable Node: form.sportname>, <Text Node: ' </div> <h4 style="m'>, <Variable Node: form.city>, <Text Node: ' <input type="submit" val'>] |
e | ImportError('libjpeg.so.8: cannot open shared object file: No such file or directory',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/template/debug.py
in render
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)
output = template_localtime(output, use_tz=context.use_tz)
output = localize(output, use_l10n=context.use_l10n)
output = force_text(output)...
except UnicodeDecodeError:
return ''
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = self.source
raise
Variable | Value |
---|---|
output | <django.forms.forms.BoundField object at 0x7f5412c75810> |
self | <Variable Node: form.city> |
e | ImportError('libjpeg.so.8: cannot open shared object file: No such file or directory',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/utils/encoding.py
in force_text
if not isinstance(s, six.string_types):
if six.PY3:
if isinstance(s, bytes):
s = six.text_type(s, encoding, errors)
else:
s = six.text_type(s)
elif hasattr(s, '__unicode__'):
s = six.text_type(s)...
else:
s = six.text_type(bytes(s), encoding, errors)
else:
# Note: We use .decode() here, instead of six.text_type(s, encoding,
# errors), so that if s is a SafeBytes, it ends up being a
# SafeText at the end.
Variable | Value |
---|---|
s | <django.forms.forms.BoundField object at 0x7f5412c75810> |
strings_only | False |
errors | u'strict' |
encoding | u'utf-8' |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/utils/html.py
in <lambda>
if six.PY2:
if '__unicode__' not in klass.__dict__:
raise ValueError(
"can't apply @html_safe to %s because it doesn't "
"define __unicode__()." % klass.__name__
)
klass_unicode = klass.__unicode__
klass.__unicode__ = lambda self: mark_safe(klass_unicode(self))...
klass.__html__ = lambda self: unicode(self)
else:
if '__str__' not in klass.__dict__:
raise ValueError(
"can't apply @html_safe to %s because it doesn't "
"define __str__()." % klass.__name__
Variable | Value |
---|---|
self | <django.forms.forms.BoundField object at 0x7f5412c75810> |
klass_unicode | <unbound method BoundField.__str__> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/forms/forms.py
in __str__
self.help_text = field.help_text or ''
self._initial_value = UNSET
def __str__(self):
"""Renders this field as an HTML widget."""
if self.field.show_hidden_initial:
return self.as_widget() + self.as_hidden(only_initial=True)
return self.as_widget()...
def __iter__(self):
"""
Yields rendered strings that comprise all widgets in this BoundField.
This really is only useful for RadioSelect widgets, so that you can
Variable | Value |
---|---|
self | <django.forms.forms.BoundField object at 0x7f5412c75810> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/forms/forms.py
in as_widget
else:
attrs['id'] = self.html_initial_id
if not only_initial:
name = self.html_name
else:
name = self.html_initial_name
return force_text(widget.render(name, self.value(), attrs=attrs))...
def as_text(self, attrs=None, **kwargs):
"""
Returns a string of HTML for representing this as an <input type="text">.
"""
return self.as_widget(TextInput(), attrs, **kwargs)
Variable | Value |
---|---|
auto_id | u'id_city' |
widget | <ajax_select.fields.AutoCompleteWidget object at 0x7f5412d06bd0> |
name | u'city' |
self | <django.forms.forms.BoundField object at 0x7f5412c75810> |
only_initial | False |
attrs | {u'id': u'id_city'} |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajax_select/fields.py
in render
'current_id': initial,
'help_text': help_text,
'html_id': self.html_id,
'name': name,
'extra_attrs': mark_safe(flatatt(final_attrs)),
'func_slug': self.html_id.replace("-", ""),
}
context.update(plugin_options(lookup, self.channel, self.plugin_options, initial))...
templates = ('autocomplete_%s.html' % self.channel,
'autocomplete.html')
return mark_safe(render_to_string(templates, context))
Variable | Value |
---|---|
name | u'city' |
final_attrs | {u'maxlength': '255', 'size': 30, 'style': 'width:145px;padding:1px;height:25px;'} |
initial | u'' |
value | '' |
lookup | <dot.lookups.CityLookup object at 0x7f5412c75ed0> |
attrs | {u'id': u'id_city'} |
context | {u'current_id': u'', u'current_repr': u'', u'extra_attrs': u' maxlength="255" size="30" style="width:145px;padding:1px;height:25px;"', u'func_slug': u'id_city', u'help_text': None, u'html_id': u'id_city', u'name': u'city'} |
help_text | None |
self | <ajax_select.fields.AutoCompleteWidget object at 0x7f5412d06bd0> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajax_select/fields.py
in plugin_options
po.update(getattr(channel, 'plugin_options', {}))
po.update(widget_plugin_options)
if not po.get('min_length'):
# backward compatibility: honor the channel's min_length attribute
# will deprecate that some day and prefer to use plugin_options
po['min_length'] = getattr(channel, 'min_length', 1)
if not po.get('source'):
po['source'] = reverse('ajax_lookup', kwargs={'channel': channel_name})...
# allow html unless explictly false
if po.get('html') is None:
po['html'] = True
return {
Variable | Value |
---|---|
widget_plugin_options | {} |
channel_name | 'cities' |
initial | u'' |
po | {u'min_length': 1} |
channel | <dot.lookups.CityLookup object at 0x7f5412c75ed0> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
viewname | u'ajax_lookup' |
args | [] |
current_app | None |
prefix | u'/dot/wsgi.py/' |
parts | [u'ajax_lookup'] |
resolver | <RegexURLResolver 'dot.urls' (None:None) ^/> |
kwargs | {u'channel': 'cities'} |
path | [] |
view | u'ajax_lookup' |
urlconf | 'dot.urls' |
resolved_path | [] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
def _reverse_with_prefix(self, lookup_view, _prefix, *args, **kwargs):
if args and kwargs:
raise ValueError("Don't mix *args and **kwargs in call to reverse()!")
text_args = [force_text(v) for v in args]
text_kwargs = {k: force_text(v) for (k, v) in kwargs.items()}
if not self._populated:
self._populate()...
original_lookup = lookup_view
try:
if self._is_callback(lookup_view):
lookup_view = get_callable(lookup_view, True)
except (ImportError, AttributeError) as e:
Variable | Value |
---|---|
self | <RegexURLResolver 'dot.urls' (None:None) ^/> |
args | () |
_prefix | u'/dot/wsgi.py/' |
text_args | [] |
lookup_view | u'ajax_lookup' |
text_kwargs | {u'channel': u'cities'} |
kwargs | {u'channel': 'cities'} |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in _populate
if isinstance(pattern, RegexURLResolver):
if pattern.namespace:
namespaces[pattern.namespace] = (p_pattern, pattern)
if pattern.app_name:
apps.setdefault(pattern.app_name, []).append(pattern.namespace)
else:
parent_pat = pattern.regex.pattern
for name in pattern.reverse_dict:...
for matches, pat, defaults in pattern.reverse_dict.getlist(name):
new_matches = normalize(parent_pat + pat)
lookups.appendlist(
name,
(
new_matches,
Variable | Value |
---|---|
lookups | <MultiValueDict: {<function RegistrationView at 0x7f541375e050>: [([(u'accounts/register/', [])], 'accounts/register/$', {})], <function rating at 0x7f54136bbad0>: [([(u'profiles/rating', [])], 'profiles/rating$', {})], <function games at 0x7f5412bde150>: [([(u'profiles/team/%(idk)s/games', [u'idk'])], 'profiles/team/(?P<idk>\\d+)/games$', {})], <function teamedit at 0x7f5412bde1d0>: [([(u'profiles/teamcreate', [])], 'profiles/teamcreate', {}), ([(u'profiles/teamedit/%(idk)s', [u'idk'])], 'profiles/teamedit/(?P<idk>\\d+)$', {})], 'registration_activate': [([(u'accounts/activate/%(activation_key)s/', [u'activation_key'])], 'accounts/activate/(?P<activation_key>\\w+)/$', {})], <function accplayerreq at 0x7f5412bde5d0>: [([(u'profiles/accplayerreq', [])], 'profiles/accplayerreq', {})], 'registration_disallowed': [([(u'accounts/register/closed/', [])], 'accounts/register/closed/$', {})], <function serve at 0x7f5413722350>: [([(u'images/%(path)s', [u'path'])], u'images\\/(?P<path>.*)$', {'document_root': '/home/s/sporthabru/hub/public_html/images'}), ([(u'static/%(path)s', [u'path'])], u'static\\/(?P<path>.*)$', {'document_root': '/home/s/sporthabru/hub/public_html/static_root/'})], <function teamrequests at 0x7f5412bde3d0>: [([(u'profiles/team/%(idk)s/requests', [u'idk'])], 'profiles/team/(?P<idk>\\d+)/requests$', {})], <function activate at 0x7f5412bde450>: [([(u'profiles/activate/%(type)s/%(id)s/%(activate_key)s', [u'type', u'id', u'activate_key'])], 'profiles/activate/(?P<type>\\w+)/(?P<id>\\d+)/(?P<activate_key>\\w+)$', {})], <function request4team at 0x7f5412bde4d0>: [([(u'profiles/request4team', [])], 'profiles/request4team', {})], <function gym at 0x7f54136c0550>: [([(u'profiles/gym', [])], 'profiles/gym', {})], <function password_reset at 0x7f541375c5d0>: [([(u'accounts/password/reset/', [])], 'accounts/password/reset/$', {})], <function password_reset_done at 0x7f541375c650>: [([(u'accounts/password/reset/done/', [])], 'accounts/password/reset/done/$', {})], 'registration_activation_complete': [([(u'accounts/activate/complete/', [])], 'accounts/activate/complete/$', {})], <function addteamcomment at 0x7f5412bde650>: [([(u'profiles/addteamcomment', [])], 'profiles/addteamcomment', {})], <function addteamnew at 0x7f5412bde6d0>: [([(u'profiles/addteamnew', [])], 'profiles/addteamnew', {})], <function grounds at 0x7f5413658bd0>: [([(u'search/grounds/%(_0)s/', [u'_0'])], 'search/grounds/(\\d+)/$', {})], <function moveplayer at 0x7f5412bde750>: [([(u'profiles/moveplayer', [])], 'profiles/moveplayer', {})], <function inviteteam at 0x7f5412c23a50>: [([(u'tournaments%(tourid)s/invite2tournament', [u'tourid'])], 'tournaments(?P<tourid>\\d+)/invite2tournament', {})], <function updateplayertype at 0x7f5412bde7d0>: [([(u'profiles/updateplayertype', [])], 'profiles/updateplayertype', {})], <function leaveteam at 0x7f5412bde850>: [([(u'profiles/leaveteam', [])], 'profiles/leaveteam', {})], <function delplayer at 0x7f5412bde8d0>: [([(u'profiles/delplayer', [])], 'profiles/delplayer$', {})], <function tranningedit at 0x7f54136c06d0>: [([(u'profiles/tranningcreate', [])], 'profiles/tranningcreate', {}), ([(u'profiles/tranningedit/%(idk)s', [u'idk'])], 'profiles/tranningedit/(?P<idk>\\d+)$', {})], <function invite2team at 0x7f5412bde950>: [([(u'profiles/invite2team', [])], 'profiles/invite2team', {})], <function userteams at 0x7f54136bb1d0>: [([(u'profiles/profile/%(idk)s/%(section)s', [u'idk', u'section'])], 'profiles/profile/(?P<idk>\\d+)/(?P<section>.*)$', {})], <function trannings at 0x7f5413658b50>: [([(u'search/trannings/%(_0)s/', [u'_0'])], 'search/trannings/(\\d+)/$', {})], <function password_change at 0x7f541375cbd0>: [([(u'accounts/password/change/', [])], 'accounts/password/change/$', {})], <function news at 0x7f5413658c50>: [([(u'search/news/%(_0)s/', [u'_0'])], 'search/news/(\\d+)/$', {})], <function TemplateView at 0x7f541375ecd0>: [([(u'accounts/register/complete/', [])], 'accounts/register/complete/$', {})], <function men at 0x7f5413658cd0>: [([(u'search/men/%(_0)s/', [u'_0'])], 'search/men/(\\d+)/$', {})], 'password_r... <trimmed 12107 bytes string> |
pat | 'password/change/$' |
name | 'password_change' |
bits | [(u'gym', [])] |
matches | [(u'password/change/', [])] |
parent_pat | '^ajaximage/' |
self | <RegexURLResolver 'dot.urls' (None:None) ^/> |
apps | {'admin': ['admin'], u'djdt': [u'djdt']} |
callback | <function TemplateView at 0x7f54136f3ad0> |
p_pattern | 'ajaximage/' |
defaults | {} |
language_code | u'ru' |
pattern | <RegexURLResolver <module 'ajaximage.urls' from '/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajaximage/urls.pyc'> (None:None) ^ajaximage/> |
new_matches | [(u'accounts/password/change/', [])] |
lookup_str | u'django.views.generic.base.TemplateView' |
namespaces | {'admin': ('admin/', <RegexURLResolver <RegexURLPattern list> (admin:admin) ^admin/>), u'djdt': ('__debug__/', <RegexURLResolver <module 'debug_toolbar.toolbar' from '/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/debug_toolbar/toolbar.pyc'> (djdt:djdt) ^__debug__/>)} |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in reverse_dict
self._app_dict[language_code] = apps
self._populated = True
@property
def reverse_dict(self):
language_code = get_language()
if language_code not in self._reverse_dict:
self._populate()...
return self._reverse_dict[language_code]
@property
def namespace_dict(self):
language_code = get_language()
if language_code not in self._namespace_dict:
Variable | Value |
---|---|
self | <RegexURLResolver <module 'ajaximage.urls' from '/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajaximage/urls.pyc'> (None:None) ^ajaximage/> |
language_code | u'ru' |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in _populate
for namespace, (prefix, sub_pattern) in pattern.namespace_dict.items():
namespaces[namespace] = (p_pattern + prefix, sub_pattern)
for app_name, namespace_list in pattern.app_dict.items():
apps.setdefault(app_name, []).extend(namespace_list)
self._callback_strs.update(pattern._callback_strs)
else:
bits = normalize(p_pattern)
lookups.appendlist(pattern.callback, (bits, p_pattern, pattern.default_args))...
if pattern.name is not None:
lookups.appendlist(pattern.name, (bits, p_pattern, pattern.default_args))
self._reverse_dict[language_code] = lookups
self._namespace_dict[language_code] = namespaces
self._app_dict[language_code] = apps
self._populated = True
Variable | Value |
---|---|
lookups | <MultiValueDict: {}> |
pattern | <RegexURLPattern ajaximage ^upload/(?P<upload_to>.*)/(?P<max_width>\d+)/(?P<max_height>\d+)/(?P<crop>\d+)> |
self | <RegexURLResolver <module 'ajaximage.urls' from '/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajaximage/urls.pyc'> (None:None) ^ajaximage/> |
apps | {} |
p_pattern | 'upload/(?P<upload_to>.*)/(?P<max_width>\\d+)/(?P<max_height>\\d+)/(?P<crop>\\d+)' |
namespaces | {} |
language_code | u'ru' |
bits | [(u'upload/%(upload_to)s/%(max_width)s/%(max_height)s/%(crop)s', [u'upload_to', u'max_width', u'max_height', u'crop'])] |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in callback
return ResolverMatch(self.callback, args, kwargs, self.name)
@property
def callback(self):
if self._callback is not None:
return self._callback
self._callback = get_callable(self._callback_str)...
return self._callback
class RegexURLResolver(LocaleRegexProvider):
def __init__(self, regex, urlconf_name, default_kwargs=None, app_name=None, namespace=None):
LocaleRegexProvider.__init__(self, regex)
Variable | Value |
---|---|
self | <RegexURLPattern ajaximage ^upload/(?P<upload_to>.*)/(?P<max_width>\d+)/(?P<max_height>\d+)/(?P<crop>\d+)> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/utils/lru_cache.py
in wrapper
def wrapper(*args, **kwds):
# simple caching without ordering or size limit
key = make_key(args, kwds, typed)
result = cache_get(key, root) # root used here as a unique not-found sentinel
if result is not root:
stats[HITS] += 1
return result
result = user_function(*args, **kwds)...
cache[key] = result
stats[MISSES] += 1
return result
else:
Variable | Value |
---|---|
HITS | 0 |
args | ('ajaximage.views.ajaximage',) |
stats | [7, 61] |
kwds | {} |
typed | False |
cache | {'profile_manager.forms.gym_create': <function gym_create at 0x7f54136667d0>, 'profile_manager.team.views.accplayerreq': <function accplayerreq at 0x7f5412bde5d0>, 'profile_manager.team.views.activate': <function activate at 0x7f5412bde450>, 'profile_manager.team.views.addteamcomment': <function addteamcomment at 0x7f5412bde650>, 'profile_manager.team.views.addteamnew': <function addteamnew at 0x7f5412bde6d0>, 'profile_manager.team.views.delplayer': <function delplayer at 0x7f5412bde8d0>, 'profile_manager.team.views.delplayerreq': <function delplayerreq at 0x7f5412bde550>, 'profile_manager.team.views.games': <function games at 0x7f5412bde150>, 'profile_manager.team.views.info': <function info at 0x7f5412c53b50>, 'profile_manager.team.views.invite2team': <function invite2team at 0x7f5412bde950>, 'profile_manager.team.views.leaveteam': <function leaveteam at 0x7f5412bde850>, 'profile_manager.team.views.moveplayer': <function moveplayer at 0x7f5412bde750>, 'profile_manager.team.views.request4team': <function request4team at 0x7f5412bde4d0>, 'profile_manager.team.views.sendevent': <function sendevent at 0x7f5412bde350>, 'profile_manager.team.views.team': <function team at 0x7f5412c538d0>, 'profile_manager.team.views.teamedit': <function teamedit at 0x7f5412bde1d0>, 'profile_manager.team.views.teammembers': <function teammembers at 0x7f5412c53a50>, 'profile_manager.team.views.teamrequests': <function teamrequests at 0x7f5412bde3d0>, 'profile_manager.team.views.updateplayertype': <function updateplayertype at 0x7f5412bde7d0>, 'profile_manager.views.creation': <function creation at 0x7f54136bb150>, 'profile_manager.views.ground': <function ground at 0x7f54136bb850>, 'profile_manager.views.groundedit': <function groundedit at 0x7f54136c03d0>, 'profile_manager.views.gym': <function gym at 0x7f54136c0550>, 'profile_manager.views.noway': <function noway at 0x7f54136668d0>, 'profile_manager.views.profile': <function profile at 0x7f54136bb6d0>, 'profile_manager.views.profileedit': <function profileedit at 0x7f54136bbc50>, 'profile_manager.views.rating': <function rating at 0x7f54136bbad0>, 'profile_manager.views.tranning': <function tranning at 0x7f54136bbcd0>, 'profile_manager.views.tranningedit': <function tranningedit at 0x7f54136c06d0>, 'profile_manager.views.userteams': <function userteams at 0x7f54136bb1d0>, 'registration.views.login': <function login at 0x7f54136f38d0>, 'search_manager.views.grounds': <function grounds at 0x7f5413658bd0>, 'search_manager.views.men': <function men at 0x7f5413658cd0>, 'search_manager.views.news': <function news at 0x7f5413658c50>, 'search_manager.views.teams': <function teams at 0x7f5413658d50>, 'search_manager.views.tournaments': <function tournaments at 0x7f5413658dd0>, 'search_manager.views.trannings': <function trannings at 0x7f5413658b50>, 'teamtournament.views.accteamreq': <function accteamreq at 0x7f5412c237d0>, 'teamtournament.views.activate': <function activate at 0x7f5412c23650>, 'teamtournament.views.creategroup': <function creategroup at 0x7f5412c1ce50>, 'teamtournament.views.createtour': <function createtour at 0x7f5412c232d0>, 'teamtournament.views.delteam': <function delteam at 0x7f5412c239d0>, 'teamtournament.views.delteamreq': <function delteamreq at 0x7f5412c23750>, 'teamtournament.views.deltour': <function deltour at 0x7f5412c23350>, 'teamtournament.views.edit': <function edit at 0x7f5412c23250>, 'teamtournament.views.inviteteam': <function inviteteam at 0x7f5412c23a50>, 'teamtournament.views.leavetournament': <function leavetournament at 0x7f5412c238d0>, 'teamtournament.views.main': <function main at 0x7f5412c231d0>, 'teamtournament.views.members': <function members at 0x7f5412c230d0>, 'teamtournament.views.move2nexttour': <function move2nexttour at 0x7f5412c23950>, 'teamtournament.views.reorder': <function reorder at 0x7f5412c21f50>, 'teamtournament.views.requests': <function requests at 0x7f5412c23550>, 'teamtournament.views.results': <function results at 0x7f5412c23050>, 'teamtournament.views.saveresult': <function saver... <trimmed 4692 bytes string> |
MISSES | 1 |
result | [<Recursion on list with id=139999098214032>, <Recursion on list with id=139999098214032>, None, None] |
key | 'ajaximage.views.ajaximage' |
user_function | <function get_callable at 0x7f5415c9cad0> |
make_key | <function _make_key at 0x7f5417e07650> |
root | [<Recursion on list with id=139999098214032>, <Recursion on list with id=139999098214032>, None, None] |
cache_get | <built-in method get of dict object at 0x7f5414851290> |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/django/core/urlresolvers.py
in get_callable
return lookup_view
else:
raise ImportError(
"Could not import '%s'. The path must be fully qualified." %
lookup_view)
try:
mod = import_module(mod_name)...
except ImportError:
if can_fail:
return lookup_view
else:
parentmod, submod = get_mod_func(mod_name)
if submod and not module_has_submodule(import_module(parentmod), submod):
Variable | Value |
---|---|
func_name | 'ajaximage' |
lookup_view | 'ajaximage.views.ajaximage' |
submod | 'views' |
parentmod | 'ajaximage' |
mod_name | 'ajaximage.views' |
can_fail | False |
/usr/lib64/python2.7/importlib/__init__.py
in import_module
raise TypeError("relative imports require the 'package' argument")
level = 0
for character in name:
if character != '.':
break
level += 1
name = _resolve_name(name[level:], package, level)
__import__(name)...
return sys.modules[name]
Variable | Value |
---|---|
name | 'ajaximage.views' |
package | None |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajaximage/views.py
in <module>
from django.conf import settings
from django.contrib.auth.decorators import user_passes_test
from django.core.files.storage import default_storage
from django.http import HttpResponse
from django.utils.text import slugify
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_POST
from .image import resize...
from .forms import FileForm
UPLOAD_PATH = getattr(settings, 'AJAXIMAGE_DIR', 'ajaximage/')
AUTH_TEST = getattr(settings, 'AJAXIMAGE_AUTH_TEST', lambda u: u.is_staff)
FILENAME_NORMALIZER = getattr(settings, 'AJAXIMAGE_FILENAME_NORMALIZER', slugify)
Variable | Value |
---|---|
settings | None |
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2020 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in ... <trimmed 6325 bytes string> |
require_POST | None |
csrf_exempt | None |
user_passes_test | None |
__package__ | None |
json | None |
default_storage | None |
__name__ | None |
HttpResponse | None |
__doc__ | None |
os | None |
__file__ | None |
slugify | None |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/ajaximage/image.py
in <module>
import os
from PIL import Image, ImageOps...
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from django.core.files.base import ContentFile
Variable | Value |
---|---|
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2020 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in ... <trimmed 6325 bytes string> |
__file__ | None |
__package__ | None |
__name__ | None |
os | None |
__doc__ | None |
/home/s/sporthabru/.djangoenv/lib64/python2.7/site-packages/PIL/Image.py
in <module>
try:
# If the _imaging C module is not present, Pillow will not load.
# Note that other modules should not refer to _imaging directly;
# import Image and use the Image.core variable instead.
# Also note that Image.core is not a publicly documented interface,
# and should be considered private and subject to change.
from PIL import _imaging as core...
if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
raise ImportError("The _imaging extension was built for another "
" version of Pillow or PIL")
except ImportError as v:
core = _imaging_not_installed()
Variable | Value |
---|---|
core | None |
warnings | None |
__builtins__ | {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2020 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in ... <trimmed 6325 bytes string> |
_plugins | None |
__file__ | None |
PILLOW_VERSION | None |
__package__ | None |
VERSION | None |
_imaging_not_installed | None |
v | None |
__name__ | None |
DecompressionBombWarning | None |
__doc__ | None |
print_function | None |
MAX_IMAGE_PIXELS | None |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '8079' |
HTTP_REFERER | 'http://sporthub.ru/search/grounds/1/' |
SERVER_SOFTWARE | 'Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18' |
SCRIPT_NAME | u'/dot/wsgi.py' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.29 (Gentoo) mod_dp/0.99.7 Phusion_Passenger/4.0.60 mod_wsgi/4.4.21 Python/2.7.18 Server at sporthub.ru Port 80</address>\n' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_HTTPS | 'on' |
PATH_INFO | u'/search/grounds/1/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_CGI_AUTHORIZATION | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'sporthub.ru' |
REMOTE_ADDR | '174.129.93.231' |
HTTP_X_SECURITY | 'on' |
apache.version | (2, 2, 29) |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | 'redirect:/dot/wsgi.py/search/grounds/1//grounds/1/' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
SERVER_ADDR | '127.0.0.1' |
DOCUMENT_ROOT | '/home/s/sporthabru/hub/public_html' |
mod_wsgi.process_group | '' |
MEF_PROXY_ADDR | '127.0.0.1' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_FILENAME | '/home/s/sporthabru/hub/public_html/dot/wsgi.py' |
SERVER_ADMIN | 'support@sweb.ru' |
SCRIPT_URI | 'http://sporthub.ru/dot/wsgi.py/search/grounds/1/' |
wsgi.input | <mod_wsgi.Input object at 0x7f5412cfeb20> |
HTTP_HOST | 'sporthub.ru' |
SCRIPT_URL | '/dot/wsgi.py/search/grounds/1/' |
wsgi.multithread | False |
mod_wsgi.callable_object | 'application' |
mod_wsgi.enable_sendfile | '0' |
REQUEST_URI | '/dot/wsgi.py/search/grounds/1/' |
HTTP_ACCEPT | '*/*' |
mod_wsgi.path_info | '/search/grounds/1/' |
wsgi.file_wrapper | '' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '174.129.93.231' |
mod_wsgi.script_name | '/dot/wsgi.py' |
REMOTE_PORT | '43654' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (4, 4, 21) |
CSRF_COOKIE_USED | True |
wsgi.run_once | False |
REQUEST_METHOD | 'GET' |
mod_wsgi.script_start | '1711698685121690' |
mod_wsgi.application_group | 'vh284.sweb.ru|/dot/wsgi.py' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.request_start | '1711698685112086' |
CSRF_COOKIE | u'ooF7iHcYHqehicSOWMX4Qh2EmqfgnAR1' |
wsgi.errors | <mod_wsgi.Log object at 0x7f5412cfeb70> |
UNIQUE_ID | 'ZgZy-X8AAAEACy08IWYAAAAZ' |
dot.settings
Setting | Value |
---|---|
DEBUG_TOOLBAR_PANELS | ('debug_toolbar.panels.version.VersionDebugPanel', 'debug_toolbar.panels.timer.TimerDebugPanel', 'debug_toolbar.panels.headers.HeaderDebugPanel', 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel', 'debug_toolbar.panels.sql.SQLDebugPanel', 'debug_toolbar.panels.template.TemplateDebugPanel', 'debug_toolbar.panels.cache.CacheDebugPanel', 'debug_toolbar.panels.signals.SignalDebugPanel') |
AJAXIMAGE_DIR | 'ajaximage/' |
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'ru-RU' |
ROOT_URLCONF | 'dot.urls' |
MANAGERS | () |
BASE_DIR | '/home/s/sporthabru/hub/public_html' |
SILENCED_SYSTEM_CHECKS | [] |
ACCOUNT_ACTIVATION_DAYS | 10 |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/s/sporthabru/hub/public_html/static_root/' |
AJAXIMAGE_AUTH_TEST | <function <lambda> at 0x7f5416b2d4d0> |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'sporthabru_dot', 'OPTIONS': {'init_command': 'SET names utf8'}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'sporthabru_dot'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | ('/home/s/sporthabru/hub/public_html/locale/',) |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'dot.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
DEFAULT_CHARSET | 'utf-8' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.humanize', 'django.contrib.staticfiles', 'registration', 'utility', 'profile_manager', 'profile', 'sorl.thumbnail', 'ajax_select', 'ajaximage', 'multiselectfield', 'search_manager', 'template_debug', 'dot', 'teamtournament', 'djcelery_email', 'bootstrap3_datetime', 'debug_toolbar') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/home/s/sporthabru/hub/public_html/static', u'C:/Python27/Lib/site-packages/django_ajax_selects-1.3.5-py2.7.egg/ajax_select/static') |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
CACHE_MIDDLEWARE_ALIAS | 'default' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
AJAX_LOOKUP_CHANNELS | {'cities': ('dot.lookups', 'CityLookup'), 'sports': ('dot.lookups', 'SportLookup')} |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/profiles/myprofile' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/s/sporthabru/hub/public_html/images' |
TEAM_INVITATION_DAYS | 30 |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'admin@komyna.ru' |
MEDIA_URL | u'/images/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | [u'/home/s/sporthabru/hub/public_html/templates', u'/home/s/sporthabru/hub/public_html/profiles/templates', u'/home/s/sporthabru/hub/public_html/profile_manager/templates', u'/home/s/sporthabru/hub/public_html/teamtournament/templates', u'/home/s/sporthabru/hub/public_html/search_manager/templates'] |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'standard': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'standard', 'level': 'INFO'}, 'logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': u'/home/s/sporthabru/hub/public_html/logfile', 'formatter': 'standard', 'level': 'DEBUG', 'maxBytes': 50000}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'django': {'handlers': ['console'], 'level': 'WARN', 'propagate': True}, 'django.db.backends': {'handlers': ['logfile'], 'level': 'DEBUG', 'propagate': True}, 'django.request': {'handlers': ['logfile'], 'level': 'DEBUG', 'propagate': True}, 'dot': {'handlers': ['console', 'logfile'], 'level': 'DEBUG'}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'djcelery_email.backends.CeleryEmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.media', 'django.contrib.auth.context_processors.auth') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'dot.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | u'/static/' |
EMAIL_PORT | 1025 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
DEBUG_TOOLBAR_CONFIG | {'INTERCEPT_REDIRECTS': False} |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
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.