includes/subnav-account.html
Request Method: | GET |
---|---|
Request URL: | http://staging.njctl.org/account/terms/ |
Django Version: | 3.2.13 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | includes/subnav-account.html |
Exception Location: | /opt/njctl_staging/lib/python3.8/site-packages/django/template/backends/django.py, line 84, in reraise |
Python Executable: | /opt/njctl_staging/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/', '/', '/opt/njctl_staging/njctl/server', '/opt/njctl_staging/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/opt/njctl_staging/lib/python3.8/site-packages', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf', '/opt/njctl_staging/lib/python3.8/site-packages/odf'] |
Server time: | Tue, 19 Mar 2024 03:33:28 -0400 |
Django tried loading these templates, in this order:
Using engine django
:
In template /opt/njctl_staging/njctl/server/apps/core/templates/includes/subnav.html
, error at line 9
1 | {% load static %} |
---|---|
2 | |
3 | <div class="subnav-wrap" {% if not user.is_authenticated %} style="top:180px;" {% endif %}> |
4 | <div class="lk-squeeze"> |
5 | <span class="drop-trigger"> |
6 | {{ drop }} |
7 | <img src="{% static 'core/img/arrow-drop-trigger.svg' %}" alt="Dropdown arrow"/> |
8 | </span> |
9 | {% include 'includes/subnav-'|add:subnav|add:'.html' %} |
10 | </div> |
11 | </div> |
12 |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, 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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
request | <WSGIRequest: GET '/account/terms/'> |
self | <django.template.backends.django.Template object at 0xffff7fa8d9d0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.base.Template object at 0xffff7f8bb1f0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.base.Template object at 0xffff7f8bb1f0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <ExtendsNode: extends teacher_education|yesno:"base-teacher_education.html,base.html"> |
self | [<ExtendsNode: extends teacher_education|yesno:"base-teacher_education.html,base.html">] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <ExtendsNode: extends teacher_education|yesno:"base-teacher_education.html,base.html"> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/loader_tags.py
, line 150, in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0xffff7f362b50> |
blocks | {'bodyclass': <Block Node: bodyclass. Contents: []>, 'breadcrumb': <Block Node: breadcrumb. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, 'content': <Block Node: content. Contents: []>, 'extra_head': <Block Node: extra_head. Contents: []>, 'footer': <Block Node: footer. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f278520>, <TextNode: '\n '>]>, 'head_scripts': <Block Node: head_scripts. Contents: [<TextNode: '\n <!-- Facebook Pixel '>, <django.templatetags.static.StaticNode object at 0xffff7f200dc0>, <TextNode: '"></script>\n '>]>, 'header': <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]>, 'messages': <Block Node: messages. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, 'pageclass': <Block Node: pageclass. Contents: []>, 'scripts': <Block Node: scripts. Contents: [<TextNode: '\n '>, <apps.components.templatetags.custom_components.ScriptsNode object at 0xffff7f0aaaf0>, <TextNode: '\n\n <!-- Ad'>, <Variable Node: universal_analtyics_token>, <TextNode: "', 'auto');\n ">, <IfNode>, <TextNode: '\n </scri'>, <Variable Node: ga_code>, <TextNode: '"></script>\n<script>\n wi'>, <Variable Node: ga_code>, <TextNode: "');\n\n ">, <IfNode>, <TextNode: '\n\n</script>\n \n <scr'>, <django.templatetags.static.StaticNode object at 0xffff7f0aa5e0>, <TextNode: '" />\').insertAfter($input'>, <django.templatetags.static.StaticNode object at 0xffff7f0aad90>, <TextNode: "');\n } els">, <django.templatetags.static.StaticNode object at 0xffff7f0aa460>, <TextNode: "');\n }\n ">]>, 'styles': <Block Node: styles. Contents: [<TextNode: '\n '>, <apps.components.templatetags.custom_components.StylesNode object at 0xffff7f0e6400>, <TextNode: '\n '>]>, 'subnav': <Block Node: subnav. Contents: []>, 'title': <Block Node: title. Contents: [<TextNode: 'New Jersey Center for Tea'>]>} |
compiled_parent | <django.template.base.Template object at 0xffff7f913550> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <django.template.defaulttags.LoadNode object at 0xffff7f0e6820> |
self | <ExtendsNode: extends teacher_education|yesno:"base-teacher_education.html,base.html"> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.base.Template object at 0xffff7f913550> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '">\n ' |
bits | ['', '\n', '', '\n' '<!DOCTYPE html>\n' '<html lang="en">\n' '<head>\n' ' <meta charset="UTF-8">\n' ' <title>', 'Terms Of Service | New Jersey Center for Teaching and Learning', '</title>\n' ' <meta name="viewport" content="width=device-width, initial-scale=1.0, ' 'maximum-scale=1.0, user-scalable=no" />\n' ' <link rel="shortcut icon" href="', 'https://staging.njctl.org/static/core/img/favicon.ico', '" />\n' " <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' " "rel='stylesheet' type='text/css'>\n" ' <link href="', 'https://staging.njctl.org/static/core/css/main.css', '" rel="stylesheet" type="text/css">\n ', '\n \n ', '\n ', '\n' ' <!-- Facebook Pixel Code -->\n' ' <script>\n' ' !function(f,b,e,v,n,t,s)\n' ' {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n' ' n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n' " if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n" ' n.queue=[];t=b.createElement(e);t.async=!0;\n' ' t.src=v;s=b.getElementsByTagName(e)[0];\n' " s.parentNode.insertBefore(t,s)}(window,document,'script',\n" " 'https://connect.facebook.net/en_US/fbevents.js');\n" " fbq('init', '933556826781584');\n" " fbq('track', 'PageView');\n" ' </script>\n' ' <noscript>\n' ' <img height="1" width="1"\n' ' src="https://www.facebook.com/tr?id=933556826781584&ev=PageView\n' ' &noscript=1"/>\n' ' </noscript>\n' ' <!-- End Facebook Pixel Code -->\n' ' <script ' 'src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>\n' ' <script ' 'src="https://staging.njctl.org/static/core/js/header_dock.js"></script>\n' ' ', '\n ', '\n \n \n', '\n</head>\n<body class="', 'has-subnav has-breadcrumb', '', '">\n' ' \n' ' <!--\n' ' DOCUMENTATION:\n' ' For info on popup implementation, see the README file in the ' "'core/templates/popups' directory\n" ' -->\n' ' <!-- Find next popup in the sequence, include it for display in the ' 'template -->\n' ' ', '', '\n\n <div class="lk-wrap ', '', '">\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0xffff7f0e6820>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0xffff7f0e63a0>, <TextNode: '\n<!DOCTYPE html>\n<html la'>, <Block Node: title. Contents: [<TextNode: 'New Jersey Center for Tea'>]>, <TextNode: '</title>\n <meta name="'>, <django.templatetags.static.StaticNode object at 0xffff7f0e6280>, <TextNode: '" />\n <link href=\'http'>, <django.templatetags.static.StaticNode object at 0xffff7f0e67f0>, <TextNode: '" rel="stylesheet" type="'>, <Block Node: styles. Contents: [<TextNode: '\n '>, <apps.components.templatetags.custom_components.StylesNode object at 0xffff7f0e6400>, <TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: head_scripts. Contents: [<TextNode: '\n <!-- Facebook Pixel '>, <django.templatetags.static.StaticNode object at 0xffff7f200dc0>, <TextNode: '"></script>\n '>]>, <TextNode: '\n '>, <Block Node: extra_head. Contents: []>, <TextNode: '\n</head>\n<body class="'>, <Block Node: bodyclass. Contents: []>, <IfNode>, <TextNode: '">\n \n <!--\n DOCU'>, <IfNode>, <TextNode: '\n\n <div class="lk-wrap'>, <Block Node: pageclass. Contents: []>, <TextNode: '">\n '>, <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: breadcrumb. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: messages. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>]>, <TextNode: '\n <div class="lk-c'>, <IfNode>, <TextNode: '>\n '>, <Block Node: content. Contents: []>, <TextNode: '\n <div class="'>, <Block Node: footer. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f278520>, <TextNode: '\n '>]>, <TextNode: '\n <div class="lk-modal'>, <Block Node: scripts. Contents: [<TextNode: '\n '>, <apps.components.templatetags.custom_components.ScriptsNode object at 0xffff7f0aaaf0>, <TextNode: '\n\n <!-- Ad'>, <Variable Node: universal_analtyics_token>, <TextNode: "', 'auto');\n ">, <IfNode>, <TextNode: '\n </scri'>, <Variable Node: ga_code>, <TextNode: '"></script>\n<script>\n wi'>, <Variable Node: ga_code>, <TextNode: "');\n\n ">, <IfNode>, <TextNode: '\n\n</script>\n \n <scr'>, <django.templatetags.static.StaticNode object at 0xffff7f0aa5e0>, <TextNode: '" />\').insertAfter($input'>, <django.templatetags.static.StaticNode object at 0xffff7f0aad90>, <TextNode: "');\n } els">, <django.templatetags.static.StaticNode object at 0xffff7f0aa460>, <TextNode: "');\n }\n ">]>, <TextNode: '\n</body>\n</html>\n'>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/loader_tags.py
, line 62, 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: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xffff7f362b50> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
push | <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]> |
self | <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>]> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n ', '\n' '\n' '<header style="height: 180px;" >\n' ' \n' ' <div class="small-banner" >\n' ' <p><strong>Want the latest in our educational ' 'opportunities?</strong> Sign up for our email list <strong><a ' 'style="color:#fff" href="/who-we-are/mailing-list/">here!</a></strong></p>\n' ' </div>\n' ' \n' ' <div class="lk-squeeze lk-header">\n' ' <a href="/" class="logo"><img ' 'src="https://staging.njctl.org/static/core/img/njctl-logo.png" alt="NJCTL ' 'Logo"/></a>\n' ' \n' ' <div class="right-side">\n' ' <div class="button-row">\n' ' \n' ' <div class="account-links">\n' ' <a href="/accounts/login/?next=/account/terms/">Sign ' 'In</a>\n' ' <a href="/accounts/register/">Register</a>\n' ' </div>\n' ' \n' ' <search-box-toggle url=""></search-box-toggle>\n' '\n' ' </div>\n' ' <nav>\n' ' <svg class="lk-close" version="1.1" ' 'xmlns="http://www.w3.org/2000/svg" ' 'xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 ' '0 32 32">\n' ' <path d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 ' '16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 ' '5.82 13 13-5.82 13-13 13z"></path>\n' ' <path d="M21 8l-5 5-5-5-3 3 5 5-5 5 3 3 5-5 5 5 3-3-5-5 ' '5-5z"></path>\n' ' </svg>\n' ' <div class="mobile-links">\n' ' <div class="search-container">\n' ' <search-box-toggle url=""></search-box-toggle>\n' ' <br />\n' ' </div>\n' ' \n' ' <a href="/accounts/login/?next=/account/terms/">sign ' 'in</a>\n' ' <a href="/accounts/register/">register</a>\n' ' \n' ' <hr />\n' ' </div>\n' ' <div class="account-links" >\n' ' <a href="/who-we-are/" class="">About us</a>\n' ' <a href="https://njctl.networkforgood.com/" class="" ' 'target="_blank">Donate</a>\n' ' \n' ' <label style="">\n' ' <select name="state-select" id="state-select" ' 'class="btn btn-primary region-state-dropdown" >\n' ' <option disabled selected="selected" value=" ' '">Select State/Region</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/NJ>New Jersey</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/AK>Alaska</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/AL>Alabama</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/AR>Arkansas</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/AZ>Arizona</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/CA>California</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/CO>Colorado</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/CT>Connecticut</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/DC>District of Columbia</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/DE>Delaware</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/FL>Florida</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/GA>Georgia</option>\n' ' <option ' 'value=/teacher-education/programs/catalog/HI>Hawaii</option>\n' ' <option ' 'value=/teacher-education/programs/catal… <trimmed 9332 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <Block Node: subnav. Contents: []> |
self | [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f424b20>, <TextNode: '\n '>, <Block Node: subnav. Contents: []>, <TextNode: '\n '>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <Block Node: subnav. Contents: []> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/loader_tags.py
, line 62, 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: subnav. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xffff7f362b50> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
push | <Block Node: subnav. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>]> |
self | <Block Node: subnav. Contents: []> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <IfNode> |
self | [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <IfNode> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/defaulttags.py
, line 315, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | None |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
match | True |
nodelist | [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>] |
self | <IfNode> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <WithNode> |
self | [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <WithNode> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/defaulttags.py
, line 519, in render
def __repr__(self):
return '<%s>' % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <WithNode> |
values | {'branch': 'account', 'branch_name': 'Account'} |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <django.template.loader_tags.IncludeNode object at 0xffff7f369700> |
self | [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0xffff7f369700>, <TextNode: '\n '>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.loader_tags.IncludeNode object at 0xffff7f369700> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/loader_tags.py
, line 195, in render
values = {
name: var.resolve(context)
for name, var in self.extra_context.items()
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)…
@register.tag('block')
def do_block(parser, token):
"""
Define a block that can be overridden by child templates.
Variable | Value |
---|---|
cache | {('includes/subnav.html',): <django.template.base.Template object at 0xffff7f52b7c0>} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.loader_tags.IncludeNode object at 0xffff7f369700> |
template | <django.template.base.Template object at 0xffff7f52b7c0> |
template_name | ('includes/subnav.html',) |
values | {'drop': 'Account', 'subnav': 'account'} |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 172, in render
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)
else:
return self._render(context)…
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
is True and an exception occurs during parsing, the exception is
annotated with contextual line information where it occurred in the
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.base.Template object at 0xffff7f52b7c0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.base.Template object at 0xffff7f52b7c0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 938, 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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '" alt="Dropdown arrow"/>\n\t\t</span>\n ' |
bits | ['', '\n\n<div class="subnav-wrap" ', ' style="top:180px;" ', '>\n\t<div class="lk-squeeze">\n\t\t<span class="drop-trigger">\n\t\t\t', 'Account', '\n\t\t\t<img src="', 'https://staging.njctl.org/static/core/img/arrow-drop-trigger.svg', '" alt="Dropdown arrow"/>\n\t\t</span>\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
node | <django.template.loader_tags.IncludeNode object at 0xffff7f568df0> |
self | [<django.template.defaulttags.LoadNode object at 0xffff7f955f10>, <TextNode: '\n\n<div class="subnav-wrap'>, <IfNode>, <TextNode: '>\n\t<div class="lk-squeeze'>, <Variable Node: drop>, <TextNode: '\n\t\t\t<img src="'>, <django.templatetags.static.StaticNode object at 0xffff7f568c40>, <TextNode: '" alt="Dropdown arrow"/>\n'>, <django.template.loader_tags.IncludeNode object at 0xffff7f568df0>, <TextNode: '\n\t</div>\n</div>\n'>] |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.loader_tags.IncludeNode object at 0xffff7f568df0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/loader_tags.py
, line 183, in render
template_name,
),)
else:
template_name = tuple(template_name)
cache = context.render_context.dicts[0].setdefault(self, {})
template = cache.get(template_name)
if template is None:
template = context.template.engine.select_template(template_name)…
cache[template_name] = template
# Use the base.Template of a backends.django.Template.
elif hasattr(template, 'template'):
template = template.template
values = {
name: var.resolve(context)
Variable | Value |
---|---|
cache | {} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
self | <django.template.loader_tags.IncludeNode object at 0xffff7f568df0> |
template | None |
template_name | ('includes/subnav-account.html',) |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/engine.py
, line 180, in select_template
try:
return self.get_template(template_name)
except TemplateDoesNotExist as exc:
if exc.args[0] not in not_found:
not_found.append(exc.args[0])
continue
# If we get here, none of the templates could be loaded
raise TemplateDoesNotExist(', '.join(not_found))…
Variable | Value |
---|---|
not_found | ['includes/subnav-account.html'] |
self | <django.template.engine.Engine object at 0xffff8603b5b0> |
template_name | 'includes/subnav-account.html' |
template_name_list | ('includes/subnav-account.html',) |
/opt/njctl_staging/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(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 | TemplateDoesNotExist('includes/subnav-account.html') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0xffff86134c70>> |
request | <WSGIRequest: GET '/account/terms/'> |
/opt/njctl_staging/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function flatpage at 0xffff7ff1a430> |
callback_args | () |
callback_kwargs | {'url': 'account/terms/'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xffff861343d0>> |
request | <WSGIRequest: GET '/account/terms/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xffff86134c70> |
wrapped_callback | <function flatpage at 0xffff7ff1a430> |
/opt/njctl_staging/lib/python3.8/site-packages/django/contrib/flatpages/views.py
, line 45, in flatpage
except Http404:
if not url.endswith('/') and settings.APPEND_SLASH:
url += '/'
f = get_object_or_404(FlatPage, url=url, sites=site_id)
return HttpResponsePermanentRedirect('%s/' % request.path)
else:
raise
return render_flatpage(request, f)…
@csrf_protect
def render_flatpage(request, f):
"""
Internal interface to the flat page view.
Variable | Value |
---|---|
f | <FlatPage: /account/terms/ -- Terms Of Service> |
request | <WSGIRequest: GET '/account/terms/'> |
site_id | 1 |
url | '/account/terms/' |
/opt/njctl_staging/lib/python3.8/site-packages/django/utils/decorators.py
, line 130, in _wrapped_view
if result is not None:
return result
if hasattr(middleware, 'process_view'):
result = middleware.process_view(request, view_func, args, kwargs)
if result is not None:
return result
try:
response = view_func(request, *args, **kwargs)…
except Exception as e:
if hasattr(middleware, 'process_exception'):
result = middleware.process_exception(request, e)
if result is not None:
return result
raise
Variable | Value |
---|---|
args | (<FlatPage: /account/terms/ -- Terms Of Service>,) |
kwargs | {} |
middleware | <django.middleware.csrf.CsrfViewMiddleware object at 0xffff7ff1b190> |
request | <WSGIRequest: GET '/account/terms/'> |
result | None |
view_func | <function render_flatpage at 0xffff7ff1a4c0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/contrib/flatpages/views.py
, line 69, in render_flatpage
# To avoid having to always use the "|safe" filter in flatpage templates,
# mark the title and content as already safe (since they are raw HTML
# content in the first place).
f.title = mark_safe(f.title)
f.content = mark_safe(f.content)
return HttpResponse(template.render({'flatpage': f}, request))…
Variable | Value |
---|---|
f | <FlatPage: /account/terms/ -- Terms Of Service> |
request | <WSGIRequest: GET '/account/terms/'> |
template | <django.template.backends.django.Template object at 0xffff7fa8d9d0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/backends/django.py
, line 63, in render
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):
"""
Create a new TemplateDoesNotExist. Preserve its declared attributes and
template debug data but discard __traceback__, __context__, and __cause__
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'flatpage': <FlatPage: /account/terms/ -- Terms Of Service>}] |
request | <WSGIRequest: GET '/account/terms/'> |
self | <django.template.backends.django.Template object at 0xffff7fa8d9d0> |
/opt/njctl_staging/lib/python3.8/site-packages/django/template/backends/django.py
, line 84, in reraise
def reraise(exc, backend):
"""
Reraise TemplateDoesNotExist while maintaining template debug information.
"""
new = copy_exception(exc, backend)
raise new from exc…
def get_installed_libraries():
"""
Return the built-in template tag libraries and those from installed
applications. Libraries are stored in a dictionary where keys are the
Variable | Value |
---|---|
backend | <django.template.backends.django.DjangoTemplates object at 0xffff86027a00> |
exc | TemplateDoesNotExist('includes/subnav-account.html') |
new | TemplateDoesNotExist('includes/subnav-account.html') |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'staging.njctl.org' |
HTTP_REFERER | 'https://staging.njctl.org/account/terms' |
HTTP_REMOTE_ADDR | '3.95.233.107' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_HOST | 'staging.njctl.org' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.95.233.107' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | '/account/terms/' |
QUERY_STRING | '' |
RAW_URI | '/account/terms/' |
REMOTE_ADDR | '172.30.0.125' |
REMOTE_PORT | '36520' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8003' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.3.0' |
gunicorn.socket | <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.30.0.210', 8003), raddr=('172.30.0.125', 36520)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0xffff7f7a61c0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0xffff7f107040> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
settings.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ACTIVATION_DAYS | 365 |
ADMINS | [] |
ADMIN_EMAIL | 'webmaster@lightningkite.com' |
ADMIN_SITE_NAME | 'Center for Teaching & Learning' |
ALLOWED_HOSTS | ['127.0.0.1', '0.0.0.0', 'localhost', 'staging.njctl.org', 'dev.njctl.org', 'njctl.org', '172.16.238.14', '172.19.16.51', 'moodle-staging.dev.localhost', 'njctl.dev.localhost', 'something.localhost', 'lightningkite.com'] |
ANYMAIL | {'MAILGUN_API_KEY': '********************', 'MAILGUN_SENDER_DOMAIN': 'mg.njctl.org'} |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('axes.backends.AxesBackend', 'apps.account.backends.CaseInsensitiveModelBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AWS_ACCESS_KEY_ID | '********************' |
AWS_AUTH_MEDIA_BUCKET_NAME | 'njctl' |
AWS_HOST_URL | 'https://%(bucket_name)s.s3.amazonaws.com/' |
AWS_MEDIA_BUCKET_NAME | 'njctl-staging-media' |
AWS_POLICY | 'bucket-owner-full-control' |
AWS_SECRET_ACCESS_KEY | '********************' |
AWS_STATIC_BUCKET_NAME | 'njctl-static' |
AXES_ACCESS_FAILURE_LOG_PER_USER_LIMIT | 1000 |
AXES_ALLOWED_CORS_ORIGINS | '*' |
AXES_CLIENT_STR_CALLABLE | None |
AXES_COOLOFF_MESSAGE | 'Account locked: too many login attempts. Please try again later.' |
AXES_COOLOFF_TIME | datetime.timedelta(seconds=900) |
AXES_DISABLE_ACCESS_LOG | False |
AXES_ENABLED | True |
AXES_ENABLE_ACCESS_FAILURE_LOG | False |
AXES_ENABLE_ADMIN | True |
AXES_FAILURE_LIMIT | 5 |
AXES_HANDLER | 'axes.handlers.database.AxesDatabaseHandler' |
AXES_HTTP_RESPONSE_CODE | 403 |
AXES_IP_BLACKLIST | None |
AXES_IP_WHITELIST | None |
AXES_LOCKOUT_CALLABLE | None |
AXES_LOCKOUT_TEMPLATE | 'account/locked.html' |
AXES_LOCKOUT_URL | None |
AXES_LOCK_OUT_AT_FAILURE | True |
AXES_LOCK_OUT_BY_COMBINATION_USER_AND_IP | False |
AXES_LOCK_OUT_BY_USER_OR_IP | False |
AXES_META_PRECEDENCE_ORDER | ('REMOTE_ADDR',) |
AXES_NEVER_LOCKOUT_GET | False |
AXES_NEVER_LOCKOUT_WHITELIST | False |
AXES_ONLY_ADMIN_SITE | False |
AXES_ONLY_USER_FAILURES | True |
AXES_ONLY_WHITELIST | False |
AXES_PASSWORD_FORM_FIELD | '********************' |
AXES_PERMALOCK_MESSAGE | 'Account locked: too many login attempts. Contact an admin to unlock your account.' |
AXES_PROXY_COUNT | None |
AXES_PROXY_ORDER | 'left-most' |
AXES_PROXY_TRUSTED_IPS | None |
AXES_RESET_COOL_OFF_ON_FAILURE_DURING_LOCKOUT | True |
AXES_RESET_ON_SUCCESS | False |
AXES_SENSITIVE_PARAMETERS | [] |
AXES_USERNAME_CALLABLE | None |
AXES_USERNAME_FORM_FIELD | 'username' |
AXES_USE_USER_AGENT | False |
AXES_VERBOSE | True |
AXES_WHITELIST_CALLABLE | None |
BASE_DIR | '/opt/njctl_staging/njctl/server' |
BROKER_URL | 'redis://lk-redis-1.lightningkite.com:6379/5' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/tmp/njctl/django_cache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAPTCHA_AJAX | True |
CELERY_ACCEPT_CONTENT | ['pickle', 'json'] |
CELERY_MEDIA_URL | 'https://staging.njctl.org' |
CELERY_SETTINGS | {'CELERY_ACCEPT_CONTENT': ['pickle'], 'CELERY_ALWAYS_EAGER': False, 'CELERY_EAGER_PROPAGATES_EXCEPTIONS': True, 'CELERY_ENABLE_UTC': True, 'CELERY_RESULT_BACKEND': 'redis://redis:6379/0', 'CELERY_SEND_TASK_SENT_EVENT': True, 'CELERY_TIMEZONE': 'America/New_York'} |
CELERY_TASK_SERIALIZER | 'pickle' |
CERTIFICATION_NOTIFY_EMAIL | 'certification@njctl.org' |
CKEDITOR_CONFIGS | {'default': {'allowedContent': True, 'height': '800px', 'toolbar': 'custom', 'toolbar_custom': [{'items': ['Source'], 'name': 'document'}, {'items': ['Styles', 'Format', 'Font', 'FontSize'], 'name': 'styles'}, {'items': ['Bold', 'Italic', 'Strike'], 'name': 'basicstyles'}, {'items': ['BulletedList', 'NumberedList', 'Outdent', 'Indent'], 'name': 'paragraph'}, {'items': ['Image', 'Table'], 'name': 'insert'}, {'items': ['Link'], 'name': 'links'}], 'width': '100%'}} |
CKEDITOR_STORAGE_BACKEND | 'apps.downloads.storages.S3MediaStorage' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CLASSROOM_ENABLED | True |
COURSE_MEDIA_URL | 'downloads/' |
COURSE_REGEX | '^([A-Za-z]{3,4})[-|\\s]?(\\d{3,4})(\\w?):?' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': 'lk-psql11-production-1.cbcbatwyggw1.us-west-2.rds.amazonaws.com', 'NAME': 'njctl_staging', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'njctl_staging'}} |
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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 |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_COMMENT_RECIPIENT | 'njctl-comments@lightningkite.com' |
DEFAULT_COURSE_IMAGE | 'https://njctl.org/media/profiles/course_descriptions.png' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'apps.downloads.storages.S3MediaStorage' |
DEFAULT_FROM_EMAIL | 'noreply@lightningkite.com' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DEFAULT_TO_EMAIL | 'info@lightningkite.com' |
DISABLE_REDIS_CACHE | False |
DISALLOWED_USER_AGENTS | [] |
DJSTRIPE_FOREIGN_KEY_TO_FIELD | '********************' |
DJSTRIPE_WEBHOOK_SECRET | '********************' |
ELASTICSEARCH_DSL | {'default': {'hosts': 'elasticsearch:9200'}} |
EMAIL_BACKEND | 'anymail.backends.mailgun.EmailBackend' |
EMAIL_DOMAIN_BLACKLIST | ['ru', 'by', 'ir'] |
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_UPDATE_RECIPIENTS | ['webmaster@lightningkite.com'] |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
ES_HOST | '172.30.0.154' |
ES_PASSWORD | '********************' |
ES_PORT | '9200' |
ES_USER | None |
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 | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
FROALA_EDITOR_OPTIONS | {'key': '********************'} |
GA_TOKEN | '********************' |
GA_TOKEN_UNIVERSAL | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('offsite_storage', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sitemaps', 'flat', 'django.contrib.flatpages', 'django_extensions', 'phonenumber_field', 'localflavor', 'import_export', 'rest_framework', 'widget_tweaks', 'django_countries', 'django_registration', 'captcha', 'solo', 'ckeditor', 'ckeditor_uploader', 'djstripe', 'raven.contrib.django.raven_compat', 'apps.downloads', 'oidc_provider', 'apps.core', 'apps.account.app_configs.AccountConfig', 'apps.components', 'apps.comments', 'apps.course_material.app_configs.CourseMaterialConfig', 'apps.classroom', 'apps.blog', 'apps.video', 'apps.search', 'apps.redirector', 'apps.carousel', 'apps.site_statistics', 'apps.es_search', 'apps.moodle.app_configs.MoodleConfig', 'froala_editor', 'zxcvbn_password', 'axes') |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': True, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s ' '%(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'verbose', 'level': 'WARNING'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'sentry': {'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler', 'level': 'WARNING'}}, 'loggers': {'django.db.backends': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'django.security.DisallowedHost': {'handlers': ['console'], 'level': 'ERROR', 'propagate': False}, 'raven': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}, 'sentry.errors': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}}, 'root': {'handlers': ['sentry', 'console'], 'level': 'WARNING'}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/account/login' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MANDRILL_API_KEY | '********************' |
MAX_EMAIL_LENGTH | 150 |
MAX_USERNAME_LENGTH | 100 |
MEDIA_ROOT | '/mnt/efs/media_static/njctl_staging/media/' |
MEDIA_URL | 'https://staging.njctl.org/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware', 'raven.contrib.django.middleware.SentryMiddleware', 'apps.redirector.middleware.RedirectMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'apps.account.middleware.MoodleNoUserMiddleware', 'axes.middleware.AxesMiddleware') |
MIGRATION_MODULES | {} |
MIME_TYPES | {'.avi': 'video/avi', '.bmp': 'image/bmp', '.csv': 'text/csv', '.doc': 'application/msword', '.docm': 'application/vnd.ms-word.document.macroEnabled.12', '.docx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', '.dot': 'application/msword', '.dotm': 'application/vnd.ms-word.template.macroEnabled.12', '.dotx': 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', '.dvi': 'application/x-dvi', '.flipchart': 'application/inspire', '.gif': 'image/gif', '.gsp': 'application/x-gsp', '.gzip': 'application/x-gzip', '.jpeg': 'image/jpeg', '.jpg': 'image/jpeg', '.mov': 'video/quicktime', '.mp3': 'audio/mpeg3', '.mp4': 'video/mpeg4', '.notebook': 'application/x-smarttech-notebook', '.odb': 'application/vnd.oasis.opendocument.database', '.odc': 'application/vnd.oasis.opendocument.chart', '.odf': 'application/vnd.oasis.opendocument.formula', '.odg': 'application/vnd.oasis.opendocument.graphics', '.odi': 'application/vnd.oasis.opendocument.image', '.odm': 'application/vnd.oasis.opendocument.text-master', '.odp': 'application/vnd.oasis.opendocument.presentation', '.ods': 'application/vnd.oasis.opendocument.spreadsheet', '.odt': 'application/vnd.oasis.opendocument.text', '.otg': 'application/vnd.oasis.opendocument.graphics-template', '.oth': 'application/vnd.oasis.opendocument.text-web', '.otp': 'application/vnd.oasis.opendocument.presentation-template', '.ots': 'application/vnd.oasis.opendocument.spreadsheet-template', '.ott': 'application/vnd.oasis.opendocument.text-template', '.pdf': 'application/pdf', '.pot': 'application/vnd.ms-powerpoint', '.potm': 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', '.potx': 'application/vnd.openxmlformats-officedocument.presentationml.template', '.ppa': 'application/vnd.ms-powerpoint', '.ppam': 'application/vnd.ms-powerpoint.addin.macroEnabled.12', '.pps': 'application/vnd.ms-powerpoint', '.ppsm': 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12', '.ppsx': 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', '.ppt': 'application/vnd.ms-powerpoint', '.pptm': 'application/vnd.ms-powerpoint.presentation.macroEnabled.12', '.pptx': 'application/vnd.openxmlformats-officedocument.presentationml.presentation', '.rtf': 'application/rtf', '.sda': 'application/vnd.stardivision.draw', '.sdc': 'application/vnd.stardivision.calc', '.sdp': 'application/vnd.stardivision.impress sdd', '.sgl': 'application/vnd.stardivision.writer-global', '.smf': 'application/vnd.stardivision.math', '.stc': 'application/vnd.sun.xml.calc.template', '.std': 'application/vnd.sun.xml.draw.template', '.sti': 'application/vnd.sun.xml.impress.template', '.stw': 'application/vnd.sun.xml.writer.template', '.sxc': 'application/vnd.sun.xml.calc', '.sxd': 'application/vnd.sun.xml.draw', '.sxg': 'application/vnd.sun.xml.writer.global', '.sxi': 'application/vnd.sun.xml.impress', '.sxm': 'application/vnd.sun.xml.math', '.sxw': 'application/vnd.sun.xml.writer', '.vor': 'application/vnd.stardivision.writer sdw', '.xla': 'application/vnd.ms-excel', '.xlam': 'application/vnd.ms-excel.addin.macroEnabled.12', '.xls': 'application/vnd.ms-excel', '.xlsb': 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', '.xlsm': 'application/vnd.ms-excel.sheet.macroEnabled.12', '.xlsx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', '.xlt': 'application/vnd.ms-excel', '.xltm': 'application/vnd.ms-excel.template.macroEnabled.12', '.xltx': 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'} |
MINIMUM_PUBLIC_COMMENT_ROLE | 6 |
MIN_POPUP_INTERVAL | 0 |
MONTH_DAY_FORMAT | 'F j' |
MOODLE_API_KEY | '********************' |
MOODLE_OAUTH2_ISSUER_ID | '1' |
MOODLE_URL | 'https://njctl-test.unhosting.site/' |
NOCAPTCHA | True |
NOSE_ARGS | ['--nologcapture', '-s'] |
NUMBER_GROUPING | 0 |
OFFSITE_STORAGE_IGNORE_FILES | [] |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_PATH | '/opt/njctl_staging/njctl/server' |
PROXY_JWT_SECRET | '********************' |
PROXY_URL | 'https://nctm.njctl.org' |
RAVEN_CONFIG | {'dsn': 'https://b21f01c642854231adcf6ea370eb8fd0:d37a13e0cf0242318f516b6268606b61@sentry9.lightningkite.com/14?verify_ssl=0'} |
RECAPTCHA_PRIVATE_KEY | '********************' |
RECAPTCHA_PUBLIC_KEY | '********************' |
RECAPTCHA_USE_SSL | True |
REDACTOR_CSS | {'all': ('core/css/redactor.css',)} |
REDACTOR_JS | ['https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js', 'core/js/redactor/redactor.js', 'core/js/redactor/source.js'] |
REDACTOR_OPTIONS | {'plugins': ['source']} |
REDACTOR_UPLOAD | 'uploads/' |
ROOT_URLCONF | 'urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTOCOL', 'https') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SENDFILE_BACKEND | 'sendfile.backends.nginx' |
SENDFILE_ROOT | 'protected-downloads/' |
SENDFILE_URL | '/protected-downloads/' |
SENTRY_CELERY_LOGLEVEL | 20 |
SENTRY_CLIENT | 'raven.contrib.django.raven_compat.DjangoClient' |
SENTRY_DSN | 'https://b21f01c642854231adcf6ea370eb8fd0:d37a13e0cf0242318f516b6268606b61@sentry9.lightningkite.com/14?verify_ssl=0' |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cached_db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'settings.settings' |
SHORTERNER_DOMAIN | 'http://njc.tl/' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SOLO_CACHE | 'local' |
SOLO_CACHE_PREFIX | 'solo' |
SOLO_CACHE_TIMEOUT | 1200 |
SSL_VERIFY | True |
STATICFILES_DIRS | () |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/mnt/efs/media_static/njctl_staging/static/' |
STATIC_URL | 'https://staging.njctl.org/static/' |
STRIPE_LIVE_MODE | False |
STRIPE_LIVE_PUBLIC_KEY | '********************' |
STRIPE_LIVE_SECRET_KEY | '********************' |
STRIPE_TEST_PUBLIC_KEY | '********************' |
STRIPE_TEST_SECRET_KEY | '********************' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/njctl_staging/njctl/server/templates'], 'OPTIONS': {'context_processors': ('django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'context_processors.njctl', 'apps.components.context_processors.scripts', 'apps.components.context_processors.styles', 'apps.core.context_processors.flatpage_breadcrumbs', 'apps.core.context_processors.popup_processor')}}] |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
TERMS_VERSION | datetime.date(2018, 12, 6) |
TEST | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django_nose.NoseTestSuiteRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_DEFAULT_STORAGE | 'apps.downloads.storages.S3MediaStorage' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/New_York' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | True |
USE_X_FORWARDED_PORT | False |
VERSION_COMMENTS | False |
WEST_AFRICA_COUNTRY_CODE_LIST | ('SN', 'BJ', 'LR', 'CI', 'GM', 'CM', 'GQ', 'MR', 'ST', 'CD', 'SH', 'GH', 'BF', 'BF', 'GW', 'SL', 'NG', 'AO', 'GA', 'MA', 'LY', 'EH', 'ML', 'TG', 'NE', 'GN', 'NA', 'DZ', 'TD', 'CV', 'CF', 'CG') |
WSGI_APPLICATION | 'wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.