name 'dept' is not defined
Request Method: | GET |
---|---|
Request URL: | http://web.nawroz.edu.krd/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/ |
Django Version: | 1.10.5 |
Exception Type: | NameError |
Exception Value: | name 'dept' is not defined |
Exception Location: | /home/nz/env/web/blog/templatetags/blog_tags.py in course_listing, line 1772 |
Python Executable: | /home/nz/env/bin/python3.5 |
Python Version: | 3.5.2 |
Python Path: | ['/home/nz/env/web/lib/python3.5/site-packages', '/home/nz/env/web', '/home/nz/env', '/home/nz/env/bin', '/home/nz/env/lib/python35.zip', '/home/nz/env/lib/python3.5', '/home/nz/env/lib/python3.5/plat-linux', '/home/nz/env/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/home/nz/env/lib/python3.5/site-packages', '/home/nz/env/web/', '/home/nz/env/web/web', '/home/nz/envqa/lib/python3.5/site-packages', '/home/nz/envqa/qa'] |
Server time: | Thu, 28 Mar 2024 23:35:34 +0000 |
In template /home/nz/env/web/blog/templates/blog/stage.html
, error at line 5
1 | {% extends "blog/list_simple_style.html" %} |
---|---|
2 | {% load static wagtailcore_tags blog_tags %} |
3 | {% load i18n %} |
4 | {% get_current_language as LANGUAGE_CODE %} |
5 | {% block listing %}{% course_listing self %}{% endblock %} |
/home/nz/env/lib/python3.5/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NameError("name 'dept' is not defined",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f9c603c7630>> |
request | <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'> |
/home/nz/env/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function serve at 0x7f9c56dfc950> |
callback_args | ('colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/',) |
callback_kwargs | {} |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0x7f9c57cc3b00>> |
request | <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'> |
resolver | <RegexURLResolver 'web.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=wagtail.wagtailcore.views.serve, args=('colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/',), kwargs={}, url_name=wagtail_serve, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9c603c7630> |
wrapped_callback | <function serve at 0x7f9c56dfc950> |
/home/nz/env/lib/python3.5/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function serve at 0x7f9c56dfc950> |
callback_args | ('colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/',) |
callback_kwargs | {} |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0x7f9c57cc3b00>> |
request | <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'> |
resolver | <RegexURLResolver 'web.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=wagtail.wagtailcore.views.serve, args=('colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/',), kwargs={}, url_name=wagtail_serve, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9c603c7630> |
wrapped_callback | <function serve at 0x7f9c56dfc950> |
/home/nz/env/lib/python3.5/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/nz/env/lib/python3.5/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'page': <Stage: Stage Three>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'self': <Stage: Stage Three>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f9c55ea6860> |
/home/nz/env/lib/python3.5/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
request | <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'> |
self | <django.template.backends.django.Template object at 0x7f9c55ea6860> |
/home/nz/env/lib/python3.5/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):
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 | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <django.template.base.Template object at 0x7f9c56a8cb70> |
/home/nz/env/lib/python3.5/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 global pre-test setup, such as installing the instrumented template
renderer and setting the email backend to the locmem email backend.
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <django.template.base.Template object at 0x7f9c56a8cb70> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <ExtendsNode: extends "blog/list_simple_style.html"> |
self | [<ExtendsNode: extends "blog/list_simple_style.html">] |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <ExtendsNode: extends "blog/list_simple_style.html"> |
/home/nz/env/lib/python3.5/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):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f9c56ae3fd0> |
compiled_parent | <django.template.base.Template object at 0x7f9c56ae6320> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <ExtendsNode: extends "base.html"> |
self | <ExtendsNode: extends "blog/list_simple_style.html"> |
/home/nz/env/lib/python3.5/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 global pre-test setup, such as installing the instrumented template
renderer and setting the email backend to the locmem email backend.
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <django.template.base.Template object at 0x7f9c56ae6320> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <ExtendsNode: extends "base.html"> |
/home/nz/env/lib/python3.5/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):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f9c56ae3fd0> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n '>]>, 'extra_css': <Block Node: extra_css. Contents: []>, 'extra_extra_js': <Block Node: extra_extra_js. Contents: [<TextNode: '\n <script type="te'>]>, 'extra_js': <Block Node: extra_js. Contents: []>, 'page_title': <Block Node: page_title. Contents: [<TextNode: ' '>]>, 'title': <Block Node: title. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, 'title_suffix': <Block Node: title_suffix. Contents: [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>]>} |
compiled_parent | <django.template.base.Template object at 0x7f9c56aa0f28> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f9c54989eb8> |
self | <ExtendsNode: extends "base.html"> |
/home/nz/env/lib/python3.5/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 global pre-test setup, such as installing the instrumented template
renderer and setting the email backend to the locmem email backend.
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <django.template.base.Template object at 0x7f9c56aa0f28> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | (' \n' ' </div>\n' ' </header>\n' ' \n' ' <div id="contentWrapper">\n' ' \n' ' ') |
bits | ['', '\n', '', '\n', '', '\n', '', '\n', '', '\n', '', '\n', '', '\n<!DOCTYPE html>\n<html>\n <head>\n <title>\n ', '\n' ' \n' ' \n' ' Stage Three\n' ' \n' ' \n' ' \n' ' ', '\n ', '\n \n \n \n ', '\n ', ' ', '\n - \n ', '\n' ' Nawroz University\n' ' ', '\n' ' </title>\n' ' <meta name="description" content="Nawroz University">\n' ' <meta name="author" content="Nawroz University">\n' ' \n' ' <!-- Mobile Meta -->\n' ' <meta name="viewport" content="width=device-width, initial-scale=1, ' 'maximum-scale=1">\n' ' \n' ' <!-- Put favicon.ico and apple-touch-icon(s).png in the images ' 'folder -->\n' ' <link rel="shortcut icon" href="', '/static/assets/images/favicon.ico', '">\n' ' \n' ' <!-- CSS StyleSheets -->\n' ' <link ' "href='https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900' " "rel='stylesheet' type='text/css'>\n" ' <link rel="stylesheet" href="', '/static/assets/css/assets.css', '">\n \n <link rel="stylesheet" href="', '/static/assets/css/style.css', '">\n <link id="theme_css" rel="stylesheet" href="', '/static/assets/css/light.css', '">\n' ' \n' ' <!-- REVOLUTION SLIDER STYLES -->\n' ' <!--\n' ' <link rel="stylesheet" href="', '/static/assets/revolution/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css', '" type="text/css">\n <link rel="stylesheet" href="', '/static/assets/revolution/css/settings.css', '" type="text/css">\n <link rel="stylesheet" href="', '/static/assets/revolution/css/layers.css', '" type="text/css">\n <link rel="stylesheet" href="', '/static/assets/revolution/css/navigation.css', '" type="text/css">\n' ' -->\n' ' <!--[if lt IE 9]>\n' ' <script type="text/javascript" src="', '/static/assets/js/html5.js', '"></script>\n' ' <![endif]-->\n' ' \n' ' <!-- Skin CSS file -->\n' ' <link id="skin_css" rel="stylesheet" href="', '/static/assets/css/skins/default.css', '">\n <link rel="stylesheet" href="', '/static/assets/css/custom.css', '">\n ', '', '\n ', '', '\n ', '', '\n' ' <style>\n' ' /*table, th, td { color: #333; }*/\n' ' .top-bar.main-bg { background: #333!important; }\n' ' .boxed-slider{\n' ' -webkit-box-shadow: none!important;\n' ' -moz-box-shadow: none!important;\n' ' box-shadow: none!important;\n' ' }\n' ' ', '', '\n' ' .rich-text, .rich-text p, .rich-text a, .menu-widget li, ' '.menu-widget a, .rich-text ul.list, .rich-text .list li, .rich-text .list ' 'li a {\n' ' font-size: 16px!important;\n' ' }\n' ' img.richtext-image.full-width { float: none; display: block; margin: ' 'auto!important; }\n' ' ', '', '\n' '\n' ' #to-top { margin: 12px; }\n' '\n' ' </style>\n' ' </head>\n' ' <body>\n' ' \n' ' <div class="pageWrapper animsition1">\n' ' ', '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '\n' '<style>\n' ' ul.top-info li a { font-size: 10px !important; }\n' ' nav.top-nav li, nav.top-nav li a { font-size: 12px !important; }\n' ' nav.top-menu-top ul li ul li a { border-top: 1px solid #111 !important; ' 'color: #999 !important; }\n' ' nav.top-menu-top ul li ul li a:hover { color: white !important; }\n' '</style>\n' '<!-- top bar start -->\n' '<div class="top-bar main-bg">\n' ' <div class="container">\n' ' \n' ' <div class="center-tbl1111">\n' ' \n' '\t<nav class="top-nav nav-animat... <trimmed 18158 bytes string> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <Block Node: content. Contents: [<TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f9c54989eb8>, <TextNode: '\n'>, <django.template.library.SimpleNode object at 0x7f9c54989240>, <TextNode: '\n'>, <django.template.library.SimpleNode object at 0x7f9c549892b0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f9c54989f28>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f9c54989198>, <TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f9c54989be0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f9c54989ac8>, <TextNode: '\n<!DOCTYPE html>\n<html>\n '>, <Block Node: title. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: title_suffix. Contents: [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: page_title. Contents: [<TextNode: ' '>]>, <TextNode: '\n - \n '>, <IfNode>, <TextNode: '\n </title>\n '>, <django.templatetags.static.StaticNode object at 0x7f9c5603ee80>, <TextNode: '">\n \n '>, <django.templatetags.static.StaticNode object at 0x7f9c560374a8>, <TextNode: '">\n \n <link'>, <django.templatetags.static.StaticNode object at 0x7f9c56037a90>, <TextNode: '">\n <link id="them'>, <django.templatetags.static.StaticNode object at 0x7f9c56037198>, <TextNode: '">\n \n <!-- '>, <django.templatetags.static.StaticNode object at 0x7f9c56037d30>, <TextNode: '" type="text/css">\n '>, <django.templatetags.static.StaticNode object at 0x7f9c56037710>, <TextNode: '" type="text/css">\n '>, <django.templatetags.static.StaticNode object at 0x7f9c546c0198>, <TextNode: '" type="text/css">\n '>, <django.templatetags.static.StaticNode object at 0x7f9c546c0470>, <TextNode: '" type="text/css">\n '>, <django.templatetags.static.StaticNode object at 0x7f9c546c04e0>, <TextNode: '"></script>\n <![en'>, <django.templatetags.static.StaticNode object at 0x7f9c546c0eb8>, <TextNode: '">\n <link rel="sty'>, <django.templatetags.static.StaticNode object at 0x7f9c546c0e10>, <TextNode: '">\n '>, <IfNode>, <TextNode: '\n '>, <Block Node: extra_css. Contents: []>, <TextNode: '\n '>, <Block Node: extra_js. Contents: []>, <TextNode: '\n <style>\n '>, <IfNode>, <TextNode: '\n .rich-text, .ric'>, <IfNode>, <TextNode: '\n\n #to-top { margi'>, <django.template.loader_tags.IncludeNode object at 0x7f9c54b01dd8>, <TextNode: '\n \n '>, <Variable Node: site_settings.site_header_style>, <TextNode: '" data-sticky="'>, <Variable Node: site_settings.site_header_sticky>, <TextNode: '" style="padding-top: 5px'>, <django.template.loader_tags.IncludeNode object at 0x7f9c54b01a58>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f9c54b01940>, <TextNode: ' \n </div>'>, <Block Node: content. Contents: [<TextNode: '\n '>]>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f9c54b01438>, <TextNode: '\n </div>\n '>, <django.templatetags.static.StaticNode object at 0x7f9c54b01c50>, <TextNode: '"></script>\n \n '>, <django.templatetags.static.StaticNode object at 0x7f9c54b01860>, <TextNode: '"></script>\n <scri'>, <django.templatetags.static.StaticNode object at 0x7f9c54b01978>, <TextNode: '"></script>\n -->\n '>, <django.templatetags.static.StaticNode object at 0x7f9c54ed9978>, <TextNode: '"></script>\n <scri'>, <django.templatetags.static.StaticNode object at 0x7f9c54ed9e80>, <TextNode: '"></script>\n <scri'>, <django.templatetags.static.StaticNode object at 0x7f9c54ed9240>, <TextNode: '"></script>\n <scri'>, <django.templatetags.static.StaticNode object at 0x7f9c54ed9198>, <TextNode: '"></script>\n <scri'>, <django.templatetags.stat... <trimmed 6433 bytes string> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/nz/env/lib/python3.5/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f9c56b4c3c8>, <TextNode: '\n\n<div class="pageContent'>, <django.template.library.InclusionNode object at 0x7f9c56b4cb38>, <TextNode: '\n\n\t<div class="section">\n'>, <IfNode>, <TextNode: '">\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t \n\t\t\t\n\n\t\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\n\n\t\t \n\t\t \n\t\t '>, <For Node: for block in self.blocks, tail_len: 3>, <TextNode: '\n\n '>, <Block Node: listing. Contents: [<TextNode: ' '>]>, <TextNode: '\n\t\t '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\n\t\t\t\t\t\n\t\t\t\t\t<div class='>, <IfNode>, <TextNode: ' :</strong></span>\n\t\t\t\t\t<'>, <IfNode>, <TextNode: '\n\t\t\t<!-- End sidebar -->\n'>, <IfNode>, <TextNode: '\n</script>\n\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f9c56ae3fd0> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
push | <Block Node: content. Contents: [<TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f9c56b4c3c8>, <TextNode: '\n\n<div class="pageContent'>, <django.template.library.InclusionNode object at 0x7f9c56b4cb38>, <TextNode: '\n\n\t<div class="section">\n'>, <IfNode>, <TextNode: '">\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t \n\t\t\t\n\n\t\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\n\n\t\t \n\t\t \n\t\t '>, <For Node: for block in self.blocks, tail_len: 3>, <TextNode: '\n\n '>, <Block Node: listing. Contents: [<TextNode: ' '>]>, <TextNode: '\n\t\t '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\n\t\t\t\t\t\n\t\t\t\t\t<div class='>, <IfNode>, <TextNode: ' :</strong></span>\n\t\t\t\t\t<'>, <IfNode>, <TextNode: '\n\t\t\t<!-- End sidebar -->\n'>, <IfNode>, <TextNode: '\n</script>\n\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\n ' |
bits | ['\n', '', '\n\n<div class="pageContent">\n\t\n\t', '\n' '\n' '\n' '\n' '\n' ' \n' ' \n' ' \n' ' \n' ' <!-- Page Title | If parent Header is active -->\n' ' <div class="page-title title-1" style="background: ' 'url(/media/images/eng.width-1700.jpg) center center no-repeat; ">\n' ' <div class="container">\n' ' <div class="row">\n' ' \n' ' <h1 style="color: white">College of ' 'Engineering</h1>\n' ' \n' ' <h3 style="color: white; display: none;">Stage ' 'Three</h3>\n' ' </div>\n' ' </div>\n' '\n' ' </div>\n' ' <div class="row">\n' ' \n' '\n' '\n' '\n' '\n' '\n' ' <div class="breadcrumbs">\n' ' <a href="/">\n' ' \n' ' Home\n' ' \n' ' </a>\n' ' <i class="fa fa-long-arrow-right main-color"></i>\n' ' \n' ' \n' ' <a href="#"><a href="/colleges/">\n' ' \n' ' Colleges\n' ' \n' ' </a>\n' ' <span class="crumbs-spacer"><i class="fa fa-long-arrow-right ' 'main-color"></i></span>\n' ' \n' ' \n' ' \n' ' <a href="#"><a href="/colleges/college-of-engineering/">\n' ' \n' ' College of Engineering\n' ' \n' ' </a>\n' ' <span class="crumbs-spacer"><i class="fa fa-long-arrow-right ' 'main-color"></i></span>\n' ' \n' ' \n' ' \n' ' <a href="#"><a ' 'href="/colleges/college-of-engineering/academic-department/">\n' ' \n' ' Academic Department\n' ' \n' ' </a>\n' ' <span class="crumbs-spacer"><i class="fa fa-long-arrow-right ' 'main-color"></i></span>\n' ' \n' ' \n' ' \n' ' <a href="#"><a ' 'href="/colleges/college-of-engineering/academic-department/architecture/">\n' ' \n' ' Architecture Department\n' ' \n' ' </a>\n' ' <span class="crumbs-spacer"><i class="fa fa-long-arrow-right ' 'main-color"></i></span>\n' ' \n' ' \n' ' \n' ' <a href="#"><a ' 'href="/colleges/college-of-engineering/academic-department/architecture/academic-program/">\n' ' \n' ' Academic Program\n' ' \n' ' </a>\n' ' <span class="crumbs-spacer"><i class="fa fa-long-arrow-right ' 'main-color"></i></span>\n' ' \n' ' \n' ' \n' ' <span>\n' ' \n' ' Stage Three\n' ' \n' ' </span>\n' ' \n' ' \n' ' </div>\n' '\n' '\n' ' </div>\n' ' \n' '\n' '<style>\n' ' .breadcrumbs { \n' ' position: relative !important;\n' ' padding: 10px 50px !important;\n' ' background-color: #EAEAEA !important;\n' ' margin-top:0 !important;\n' ' left: auto !important;\n' ' top: auto !important;\n' ' }\n' '</style>\n' '\n' '<style>\n' ' .page-title.title-minimal { height: 100px; padding:0; margin:0; }\n' ' \n' '</style>\n', '\n' '\n' '\t<div class="section">\n' '\t\t<div class="container">\n' '\t\t\t<div class="row">\n' '\n' '\t\t\t\t<div class="', 'col-md-9', '">\n\t\t\t\t\t\t\t', '\n' '\t\t\t\t\t\t\t\t<div class="heading side-head">\n' '\t\t\t\t\t\t\t\t<div class="head-6">\n' '\t\t\t\t\t\t\t\t\t<h4 class="main-color">\n' '\t\t\t\t\t\t\t\t\t\tStage Three\n' '\t\t\t\t\t\t\t\t\t</h4>\n' '\t\t\t\t\t\t\t\t</div>\n' '\t\t\t\t\t\t\t</div>\n' '\t\t\t\t\t\t\t\t', '\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t', '\n\t\t \n\t\t ', '\n\t\t\t\t\t\t \n\t\t\t\n\n\t\t\t\t\t\t\t\t', '', '\n\n\n\t\t \n\t\t \n\t\t \n\t\t\t\t', '', '\n\n '] |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <Block Node: listing. Contents: [<TextNode: ' '>]> |
self | [<TextNode: '\n'>, <django.templatetags.i18n.GetCurrentLanguageNode object at 0x7f9c56b4c3c8>, <TextNode: '\n\n<div class="pageContent'>, <django.template.library.InclusionNode object at 0x7f9c56b4cb38>, <TextNode: '\n\n\t<div class="section">\n'>, <IfNode>, <TextNode: '">\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t \n\t\t\t\n\n\t\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\n\n\t\t \n\t\t \n\t\t '>, <For Node: for block in self.blocks, tail_len: 3>, <TextNode: '\n\n '>, <Block Node: listing. Contents: [<TextNode: ' '>]>, <TextNode: '\n\t\t '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\n\t\t\t\t\t\n\t\t\t\t\t<div class='>, <IfNode>, <TextNode: ' :</strong></span>\n\t\t\t\t\t<'>, <IfNode>, <TextNode: '\n\t\t\t<!-- End sidebar -->\n'>, <IfNode>, <TextNode: '\n</script>\n\n'>] |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <Block Node: listing. Contents: [<TextNode: ' '>]> |
/home/nz/env/lib/python3.5/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: listing. Contents: [<django.template.library.InclusionNode object at 0x7f9c56ae62b0>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f9c56ae3fd0> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
push | <Block Node: listing. Contents: [<django.template.library.InclusionNode object at 0x7f9c56ae62b0>]> |
self | <Block Node: listing. Contents: [<TextNode: ' '>]> |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
node | <django.template.library.InclusionNode object at 0x7f9c56ae62b0> |
self | [<django.template.library.InclusionNode object at 0x7f9c56ae62b0>] |
/home/nz/env/lib/python3.5/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
self | <django.template.library.InclusionNode object at 0x7f9c56ae62b0> |
/home/nz/env/lib/python3.5/site-packages/django/template/library.py
in render
def render(self, context):
"""
Render the specified template and context. Cache the template object
in render_context to avoid reparsing and loading when used in a for
loop.
"""
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
_dict = self.func(*resolved_args, **resolved_kwargs)...
t = context.render_context.get(self)
if t is None:
if isinstance(self.filename, Template):
t = self.filename
elif isinstance(getattr(self.filename, 'template', None), Template):
Variable | Value |
---|---|
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
resolved_args | [[{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}], <Stage: Stage Three>] |
resolved_kwargs | {} |
self | <django.template.library.InclusionNode object at 0x7f9c56ae62b0> |
/home/nz/env/web/blog/templatetags/blog_tags.py
in course_listing
# COURSE LIST
@register.inclusion_tag(
'blog/tags/course_listing.html',
takes_context=True
)
def course_listing(context, calling_page, count=100):
stages = dept.get_descendants().filter(stype=6)...
stage = calling_page.get_ancestors().live().filter(content_type_id=STAGE).first()
items = Structure.objects.get(site_id=dept.id).get_descendants().filter(stype=6)
courses = Course.objects.filter(place=stage.id).active()
Variable | Value |
---|---|
calling_page | <Stage: Stage Three> |
context | [{'None': None, 'False': False, 'True': True}, {}, {}, {'LANGUAGE_CODE': 'en', 'page': <Stage: Stage Three>, 'site_root': <Page: Nawroz University Website>, 'request': <WSGIRequest: GET '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/'>, 'site_settings': <HomePage: Nawroz University Website>, 'self': <Stage: Stage Three>}] |
count | 100 |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '54.210.126.232' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bb6ff2fd1900be-IAD' |
HTTP_CF_VISITOR | '{"scheme":"http"}' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'web.nawroz.edu.krd' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.210.126.232, 162.158.78.185' |
HTTP_X_FORWARDED_HOST | 'web.nawroz.edu.krd' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_FORWARDED_SERVER | 'nawroz.edu.krd' |
PATH_INFO | '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/' |
QUERY_STRING | '' |
RAW_URI | '/colleges/college-of-engineering/academic-department/architecture/academic-program/stage-three/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '37146' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8001' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/19.7.0' |
gunicorn.socket | <socket.socket fd=19, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8001), raddr=('127.0.0.1', 37146)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9c546d0908> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f9c546d0080> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
web.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['web.nawroz.edu.krd', '162.241.240.84', '*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/nz/env/web' |
BASE_URL | 'http://nawroz.edu.krd' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 10 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'webdb', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'web'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
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'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_PANELS | ['debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel'] |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EL_PAGINATION_NEXT_LABEL | '<i class="fa fa-chevron-right"></i>' |
EL_PAGINATION_PREVIOUS_LABEL | '<i class="fa fa-chevron-left"></i>' |
EMAIL_BACKEND | 'django.core.mail.backends.console.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
EXTRA_LANG_INFO | {'ku': {'bidi': True, 'code': 'ku', 'name': 'Kurdi', 'name_local': 'كوردى'}} |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', '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 |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['home', 'blog', 'qapp', 'search', 'el_pagination', 'wagtailtinymce', 'wagtail.contrib.table_block', 'wagtail.wagtailforms', 'wagtail.wagtailredirects', 'wagtail.wagtailembeds', 'wagtail.wagtailsites', 'wagtail.wagtailusers', 'wagtail.wagtailsnippets', 'wagtail.wagtaildocs', 'wagtail.wagtailimages', 'wagtail.wagtailsearch', 'wagtail.wagtailadmin', 'wagtail.wagtailcore', 'modelcluster', 'taggit', 'dal', 'dal_select2', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'debug_toolbar'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'), ('ar', 'Arabic'), ('ku', 'Kurdi')) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur', 'ku', 'ar'] |
LANGUAGE_CODE | 'en' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANG_INFO | {'af': {'bidi': False, 'code': 'af', 'name': 'Afrikaans', 'name_local': 'Afrikaans'}, 'ar': {'bidi': True, 'code': 'ar', 'name': 'Arabic', 'name_local': 'العربيّة'}, 'ast': {'bidi': False, 'code': 'ast', 'name': 'Asturian', 'name_local': 'asturianu'}, 'az': {'bidi': True, 'code': 'az', 'name': 'Azerbaijani', 'name_local': 'Azərbaycanca'}, 'be': {'bidi': False, 'code': 'be', 'name': 'Belarusian', 'name_local': 'беларуская'}, 'bg': {'bidi': False, 'code': 'bg', 'name': 'Bulgarian', 'name_local': 'български'}, 'bn': {'bidi': False, 'code': 'bn', 'name': 'Bengali', 'name_local': 'বাংলা'}, 'br': {'bidi': False, 'code': 'br', 'name': 'Breton', 'name_local': 'brezhoneg'}, 'bs': {'bidi': False, 'code': 'bs', 'name': 'Bosnian', 'name_local': 'bosanski'}, 'ca': {'bidi': False, 'code': 'ca', 'name': 'Catalan', 'name_local': 'català'}, 'cs': {'bidi': False, 'code': 'cs', 'name': 'Czech', 'name_local': 'česky'}, 'cy': {'bidi': False, 'code': 'cy', 'name': 'Welsh', 'name_local': 'Cymraeg'}, 'da': {'bidi': False, 'code': 'da', 'name': 'Danish', 'name_local': 'dansk'}, 'de': {'bidi': False, 'code': 'de', 'name': 'German', 'name_local': 'Deutsch'}, 'dsb': {'bidi': False, 'code': 'dsb', 'name': 'Lower Sorbian', 'name_local': 'dolnoserbski'}, 'el': {'bidi': False, 'code': 'el', 'name': 'Greek', 'name_local': 'Ελληνικά'}, 'en': {'bidi': False, 'code': 'en', 'name': 'English', 'name_local': 'English'}, 'en-au': {'bidi': False, 'code': 'en-au', 'name': 'Australian English', 'name_local': 'Australian English'}, 'en-gb': {'bidi': False, 'code': 'en-gb', 'name': 'British English', 'name_local': 'British English'}, 'eo': {'bidi': False, 'code': 'eo', 'name': 'Esperanto', 'name_local': 'Esperanto'}, 'es': {'bidi': False, 'code': 'es', 'name': 'Spanish', 'name_local': 'español'}, 'es-ar': {'bidi': False, 'code': 'es-ar', 'name': 'Argentinian Spanish', 'name_local': 'español de Argentina'}, 'es-co': {'bidi': False, 'code': 'es-co', 'name': 'Colombian Spanish', 'name_local': 'español de Colombia'}, 'es-mx': {'bidi': False, 'code': 'es-mx', 'name': 'Mexican Spanish', 'name_local': 'español de Mexico'}, 'es-ni': {'bidi': False, 'code': 'es-ni', 'name': 'Nicaraguan Spanish', 'name_local': 'español de Nicaragua'}, 'es-ve': {'bidi': False, 'code': 'es-ve', 'name': 'Venezuelan Spanish', 'name_local': 'español de Venezuela'}, 'et': {'bidi': False, 'code': 'et', 'name': 'Estonian', 'name_local': 'eesti'}, 'eu': {'bidi': False, 'code': 'eu', 'name': 'Basque', 'name_local': 'Basque'}, 'fa': {'bidi': True, 'code': 'fa', 'name': 'Persian', 'name_local': 'فارسی'}, 'fi': {'bidi': False, 'code': 'fi', 'name': 'Finnish', 'name_local': 'suomi'}, 'fr': {'bidi': False, 'code': 'fr', 'name': 'French', 'name_local': 'français'}, 'fy': {'bidi': False, 'code': 'fy', 'name': 'Frisian', 'name_local': 'frysk'}, 'ga': {'bidi': False, 'code': 'ga', 'name': 'Irish', 'name_local': 'Gaeilge'}, 'gd': {'bidi': False, 'code': 'gd', 'name': 'Scottish Gaelic', 'name_local': 'Gàidhlig'}, 'gl': {'bidi': False, 'code': 'gl', 'name': 'Galician', 'name_local': 'galego'}, 'he': {'bidi': True, 'code': 'he', 'name': 'Hebrew', 'name_local': 'עברית'}, 'hi': {'bidi': False, 'code': 'hi', 'name': 'Hindi', 'name_local': 'Hindi'}, 'hr': {'bidi': False, 'code': 'hr', 'name': 'Croatian', 'name_local': 'Hrvatski'}, 'hsb': {'bidi': False, 'code': 'hsb', 'name': 'Upper Sorbian', 'name_local': 'hornjoserbsce'}, 'hu': {'bidi': False, 'code': 'hu', 'name': 'Hungarian', 'name_local': 'Magyar'}, 'ia': {'bidi': False, 'code': 'ia', 'name': 'Interlingua', 'name_local': 'Interlingua'}, 'id': {'bidi': False, 'code': 'id', 'name': 'Indonesian', 'name_local': 'Bahasa Indonesia'}, 'io': {'bidi': False, 'code': 'io', 'name': 'Ido', 'name_local': 'ido'}, 'is': {'bidi': False, 'code': 'is', 'name': 'Icelandic', 'name_local': 'Íslenska'}, 'it': {'bidi': False, 'code': 'it', 'name': 'Italian', 'name_local': 'italiano'}, 'ja': {'bidi': False, 'code': 'ja', 'name': 'Japanese', 'name_local': '日本語'}, 'ka': {'bidi': False, 'code': 'ka', 'name': 'Georgian', 'name_local': 'ქართული'}, 'kk': {'bidi': False, 'code': 'kk', 'name': 'Kazakh', 'name_local': 'Қазақ'}, 'km': {'bidi': False, 'code': 'km', 'name': 'Khmer', 'name_local': 'Khmer'}, 'kn': {'bidi': False, 'code': 'kn', 'name': 'Kannada', 'name_local': 'Kannada'}, 'ko': {'bidi': False, 'code': 'ko', 'name': 'Korean', 'name_local': '한국어'}, 'ku': {'bidi': True, 'code': 'ku', 'name': 'Kurdi', 'name_local': 'كوردى'}, 'lb': {'bidi': False, 'code': 'lb', 'name': 'Luxembourgish', 'name_local': 'Lëtzebuergesch'}, 'lt': {'bidi': False, 'code': 'lt', 'name': 'Lithuanian', 'name_local': 'Lietuviškai'}, 'lv': {'bidi': False, 'code': 'lv', 'name': 'Latvian', 'name_local': 'latviešu'}, 'mk': {'bidi': False, 'code': 'mk', 'name': 'Macedonian', 'name_local': 'Македонски'}, 'ml': {'bidi': False, 'code': 'ml', 'name': 'Malayalam', 'name_local': 'Malayalam'}, 'mn': {'bidi': False, 'code': 'mn', 'name': 'Mongolian', 'name_local': 'Mongolian'}, 'mr': {'bidi': False, 'code': 'mr', 'name': 'Marathi', 'name_local': 'मराठी'}, 'my': {'bidi': False, 'code': 'my', 'name': 'Burmese', 'name_local': 'မြန်မာဘာသာ'}, 'nb': {'bidi': False, 'code': 'nb', 'name': 'Norwegian Bokmal', 'name_local': 'norsk (bokmål)'}, 'ne': {'bidi': False, 'code': 'ne', 'name': 'Nepali', 'name_local': 'नेपाली'}, 'nl': {'bidi': False, 'code': 'nl', 'name': 'Dutch', 'name_local': 'Nederlands'}, 'nn': {'bidi': False, 'code': 'nn', 'name': 'Norwegian Nynorsk', 'name_local': 'norsk (nynorsk)'}, 'no': {'bidi': False, 'code': 'no', 'name': 'Norwegian', 'name_local': 'norsk'}, 'os': {'bidi': False, 'code': 'os', 'name': 'Ossetic', 'name_local': 'Ирон'}, 'pa': {'bidi': False, 'code': 'pa', 'name': 'Punjabi', 'name_local': 'Punjabi'}, 'pl': {'bidi': False, 'code': 'pl', 'name': 'Polish', 'name_local': 'polski'}, 'pt': {'bidi': False, 'code': 'pt', 'name': 'Portuguese', 'name_local': 'Português'}, 'pt-br': {'bidi': False, 'code': 'pt-br', 'name': 'Brazilian Portuguese', 'name_local': 'Português Brasileiro'}, 'ro': {'bidi': False, 'code': 'ro', 'name': 'Romanian', 'name_local': 'Română'}, 'ru': {'bidi': False, 'code': 'ru', 'name': 'Russian', 'name_local': 'Русский'}, 'sk': {'bidi': False, 'code': 'sk', 'name': 'Slovak', 'name_local': 'Slovensky'}, 'sl': {'bidi': False, 'code': 'sl', 'name': 'Slovenian', 'name_local': 'Slovenščina'}, 'sq': {'bidi': False, 'code': 'sq', 'name': 'Albanian', 'name_local': 'shqip'}, 'sr': {'bidi': False, 'code': 'sr', 'name': 'Serbian', 'name_local': 'српски'}, 'sr-latn': {'bidi': False, 'code': 'sr-latn', 'name': 'Serbian Latin', 'name_local': 'srpski (latinica)'}, 'sv': {'bidi': False, 'code': 'sv', 'name': 'Swedish', 'name_local': 'svenska'}, 'sw': {'bidi': False, 'code': 'sw', 'name': 'Swahili', 'name_local': 'Kiswahili'}, 'ta': {'bidi': False, 'code': 'ta', 'name': 'Tamil', 'name_local': 'தமிழ்'}, 'te': {'bidi': False, 'code': 'te', 'name': 'Telugu', 'name_local': 'తెలుగు'}, 'th': {'bidi': False, 'code': 'th', 'name': 'Thai', 'name_local': 'ภาษาไทย'}, 'tr': {'bidi': False, 'code': 'tr', 'name': 'Turkish', 'name_local': 'Türkçe'}, 'tt': {'bidi': False, 'code': 'tt', 'name': 'Tatar', 'name_local': 'Татарча'}, 'udm': {'bidi': False, 'code': 'udm', 'name': 'Udmurt', 'name_local': 'Удмурт'}, 'uk': {'bidi': False, 'code': 'uk', 'name': 'Ukrainian', 'name_local': 'Українська'}, 'ur': {'bidi': True, 'code': 'ur', 'name': 'Urdu', 'name_local': 'اردو'}, 'vi': {'bidi': False, 'code': 'vi', 'name': 'Vietnamese', 'name_local': 'Tiếng Việt'}, 'zh-cn': {'fallback': ['zh-hans']}, 'zh-hans': {'bidi': False, 'code': 'zh-hans', 'name': 'Simplified Chinese', 'name_local': '简体中文'}, 'zh-hant': {'bidi': False, 'code': 'zh-hant', 'name': 'Traditional Chinese', 'name_local': '繁體中文'}, 'zh-hk': {'fallback': ['zh-hant']}, 'zh-mo': {'fallback': ['zh-hant']}, 'zh-my': {'fallback': ['zh-hans']}, 'zh-sg': {'fallback': ['zh-hans']}, 'zh-tw': {'fallback': ['zh-hant']}} |
LOCALE_PATHS | ('/home/nz/env/web/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '' |
LOGIN_URL | '/login/' |
LOGOUT_REDIRECT_URL | '' |
MANAGERS | [] |
MEDIA_ROOT | '/home/nz/env/web/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.cache.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'wagtail.wagtailcore.middleware.SiteMiddleware', 'wagtail.wagtailredirects.middleware.RedirectMiddleware', 'web.middleware.SessionBasedLocaleMiddleware', 'web.middleware.ThreadLocalMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware'] |
MIDDLEWARE_CLASSES | ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_DIR | '/home/nz/env/web/web' |
ROOT_URLCONF | 'web.urls' |
SECRET_KEY | '********************' |
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 | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 999999 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
SETTINGS_MODULE | 'web.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SHOW_TOOLBAR_CALLBACK | True |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ['/home/nz/env/web/web/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/nz/env/web/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/nz/env/web/web/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEMPLATE_DEBUG | True |
TEMPLATE_LOADERS | (('django.template.loaders.cached.Loader', ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')),) |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
TINYMCE_DEFAULT_CONFIG | {'content_css': '/media/css/tinymce.css', 'custom_elements': 'noindex', 'extended_valid_elements': 'noindex', 'external_image_list_url': 'images/', 'external_link_list_url': 'links/', 'mode': 'exact', 'plugins': 'table,advimage,advlink,inlinepopups,preview,media,searchreplace,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras', 'relative_urls': False, 'theme': 'advanced', 'theme_advanced_buttons1': 'fullscreen,|,bold,italic,underline,strikethrough,|,sub,sup,|,bullist,numlist,|,outdent,indent,|,formatselect,removeformat', 'theme_advanced_buttons2': 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,undo,redo,|,link,unlink,anchor,image,media,charmap,|,visualchars,nonbreaking', 'theme_advanced_buttons3': 'visualaid,tablecontrols,|,blockquote,del,ins,|,preview,code', 'theme_advanced_toolbar_align': 'left', 'theme_advanced_toolbar_location': 'top'} |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WAGTAILADMIN_RICH_TEXT_EDITORS | {'default': {'WIDGET': 'wagtailtinymce.rich_text.TinyMCERichTextArea'}} |
WAGTAILSEARCH_BACKENDS | {'default': {'BACKEND': 'wagtail.wagtailsearch.backends.db'}} |
WAGTAIL_SITE_NAME | 'web' |
WSGI_APPLICATION | 'web.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | '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.