news/base.html
Request Method: | GET |
---|---|
Request URL: | https://uchenso.com/blog/1/share/ |
Django Version: | 3.0.2 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | news/base.html |
Exception Location: | /home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/backends/django.py in reraise, line 84 |
Python Executable: | /home/chinedu/uchenso/uchensoenv/bin/python3 |
Python Version: | 3.6.9 |
Python Path: | ['/home/chinedu/uchenso', '/home/chinedu/uchenso/uchensoenv/bin', '/home/chinedu/uchenso/uchensoenv/lib/python36.zip', '/home/chinedu/uchenso/uchensoenv/lib/python3.6', '/home/chinedu/uchenso/uchensoenv/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages'] |
Server time: | Fri, 29 Mar 2024 00:53:20 -0500 |
Django tried loading these templates, in this order:
Using engine django
:
django.template.loaders.filesystem.Loader
: /home/chinedu/uchenso/core/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/contrib/admin/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/contrib/auth/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/captcha/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/apps/core/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/apps/blog/templates/news/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/chinedu/uchenso/apps/work/templates/news/base.html (Source does not exist)In template /home/chinedu/uchenso/apps/blog/templates/blog/post/share.html
, error at line 1
1 | {% extends "news/base.html" %} |
---|---|
2 | {% block title %}Share a Post | Onyia{% endblock %} |
3 | {% block content %} |
4 | |
5 | <!-- Contact Form --> |
6 | |
7 | <section class="form"> |
8 | {% if sent %} |
9 | <h2>E-mail successfully sent</h2> |
10 | <p>"{{ article.title }}" was successfully sent to {{ cd.to }}.</p> |
11 | {% else %} |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
request | <WSGIRequest: GET '/blog/1/share/'> |
self | <django.template.backends.django.Template object at 0x7fb799db5978> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
self | <django.template.base.Template object at 0x7fb799db5be0> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/base.py
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}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
self | <django.template.base.Template object at 0x7fb799db5be0> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
node | <ExtendsNode: extends "news/base.html"> |
self | [<ExtendsNode: extends "news/base.html">] |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
self | <ExtendsNode: extends "news/base.html"> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/loader_tags.py
in render
return parent
if isinstance(getattr(parent, 'template', None), Template):
# parent is a django.template.backends.django.Template
return parent.template
return self.find_template(parent, context)
def render(self, context):
compiled_parent = self.get_parent(context)…
if BLOCK_CONTEXT_KEY not in context.render_context:
context.render_context[BLOCK_CONTEXT_KEY] = BlockContext()
block_context = context.render_context[BLOCK_CONTEXT_KEY]
# Add the block nodes from this node to the block context
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
self | <ExtendsNode: extends "news/base.html"> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/loader_tags.py
in get_parent
raise TemplateSyntaxError(error_msg)
if isinstance(parent, Template):
# parent is a django.template.Template
return parent
if isinstance(getattr(parent, 'template', None), Template):
# parent is a django.template.backends.django.Template
return parent.template
return self.find_template(parent, context)…
def render(self, context):
compiled_parent = self.get_parent(context)
if BLOCK_CONTEXT_KEY not in context.render_context:
context.render_context[BLOCK_CONTEXT_KEY] = BlockContext()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
parent | 'news/base.html' |
self | <ExtendsNode: extends "news/base.html"> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/loader_tags.py
in find_template
passed as the skip argument. This enables extends to work recursively
without extending the same template twice.
"""
history = context.render_context.setdefault(
self.context_key, [self.origin],
)
template, origin = context.template.engine.find_template(
template_name, skip=history,…
)
history.append(origin)
return template
def get_parent(self, context):
parent = self.parent_name.resolve(context)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
history | [<django.template.base.Origin object at 0x7fb799db5438>] |
self | <ExtendsNode: extends "news/base.html"> |
template_name | 'news/base.html' |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/engine.py
in find_template
tried = []
for loader in self.template_loaders:
try:
template = loader.get_template(name, skip=skip)
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
raise TemplateDoesNotExist(name, tried=tried)…
def from_string(self, template_code):
"""
Return a compiled Template object for the given template code,
handling template inheritance recursively.
"""
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.app_directories.Loader object at 0x7fb79a1b2978> |
name | 'news/base.html' |
self | <django.template.engine.Engine object at 0x7fb79a1eb0f0> |
skip | [<django.template.base.Origin object at 0x7fb799db5438>] |
tried | [(<django.template.base.Origin object at 0x7fb79a0c8828>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb79a0c8860>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb79a0c8390>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb799fe8e10>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb79a0c8668>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb79a0715f8>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fb79a071f60>, 'Source does not exist')] |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/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)
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('news/base.html',) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fb79a333f60>> |
request | <WSGIRequest: GET '/blog/1/share/'> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function post_share at 0x7fb79a22cd90> |
callback_args | () |
callback_kwargs | {'post_id': '1'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb79a303c50>> |
request | <WSGIRequest: GET '/blog/1/share/'> |
resolver | <URLResolver 'config.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=apps.blog.views.post_share, args=(), kwargs={'post_id': '1'}, url_name=post_share, app_names=['blog'], namespaces=['blog'], route=blog/(?P<post_id>\d+)/share/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb79a333f60> |
wrapped_callback | <function post_share at 0x7fb79a22cd90> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function post_share at 0x7fb79a22cd90> |
callback_args | () |
callback_kwargs | {'post_id': '1'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb79a303c50>> |
request | <WSGIRequest: GET '/blog/1/share/'> |
resolver | <URLResolver 'config.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=apps.blog.views.post_share, args=(), kwargs={'post_id': '1'}, url_name=post_share, app_names=['blog'], namespaces=['blog'], route=blog/(?P<post_id>\d+)/share/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb79a333f60> |
wrapped_callback | <function post_share at 0x7fb79a22cd90> |
/home/chinedu/uchenso/apps/blog/views.py
in post_share
subject = '{} ({}) recommends you read "{}"'.format(cd['name'], cd['email'], post.title)
message = 'Read "{}" at {}\n\n{}\'s comments: {}'.format(post.title, post_url, cd['name'], cd['comments'])
send_mail(subject, message, 'chinedu@uchenso.com', [cd['to']])
sent = True
else:
form = EmailPostForm()
return render(request, 'blog/post/share.html', {'post': post,
'form': form})…
#
def post_search(request):
form = SearchForm()
if 'query' in request.GET:
Variable | Value |
---|---|
form | <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)> |
post | <Post: Calculating the ROI of a Website> |
post_id | '1' |
request | <WSGIRequest: GET '/blog/1/share/'> |
sent | False |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>, 'post': <Post: Calculating the ROI of a Website>} |
request | <WSGIRequest: GET '/blog/1/share/'> |
status | None |
template_name | 'blog/post/share.html' |
using | None |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>, 'post': <Post: Calculating the ROI of a Website>} |
request | <WSGIRequest: GET '/blog/1/share/'> |
template | <django.template.backends.django.Template object at 0x7fb799db5978> |
template_name | 'blog/post/share.html' |
using | None |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/backends/django.py
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}, {}, {}, {'post': <Post: Calculating the ROI of a Website>, 'form': <EmailPostForm bound=False, valid=Unknown, fields=(name;email;to;comments)>}] |
request | <WSGIRequest: GET '/blog/1/share/'> |
self | <django.template.backends.django.Template object at 0x7fb799db5978> |
/home/chinedu/uchenso/uchensoenv/lib/python3.6/site-packages/django/template/backends/django.py
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 0x7fb79a1d7b38> |
exc | TemplateDoesNotExist('news/base.html',) |
new | TemplateDoesNotExist('news/base.html',) |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'uchenso.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.235.140.73' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.235.140.73' |
PATH_INFO | '/blog/1/share/' |
QUERY_STRING | '' |
RAW_URI | '/blog/1/share/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'uchenso.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
gunicorn.socket | <socket.socket fd=12, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/run/gunicorn.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb799db5ac8> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fb799db5e10> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
config.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [('Chinedu', 'chinedu@uchenso.com')] |
ALLOWED_HOSTS | ['.uchenso.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/chinedu/uchenso' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'uchenso', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'chinedu'}} |
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 |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
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 | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.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_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
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 | 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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.humanize', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'captcha', 'apps.core', 'apps.blog', 'apps.work'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('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'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian 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'), ('th', 'Thai'), ('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', '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 | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/chinedu/uchenso/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'config.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 | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | None |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
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.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 | 'config.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/chinedu/uchenso/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/chinedu/uchenso/core/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']}}] |
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 | 'America/Chicago' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'config.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.