Could not parse the remainder: '-list' from 'place-list'
Request Method: | GET |
---|---|
Request URL: | https://mosman1914-1918.net/addresses/ |
Django Version: | 2.2.13 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '-list' from 'place-list' |
Exception Location: | /home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py in __init__, line 663 |
Python Executable: | /home/mosman1914/app/venv/bin/python3 |
Python Version: | 3.6.8 |
Python Path: | ['/home/mosman1914/mosman1914_dob', '/home/mosman1914/mosman1914_dob/venv/bin', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/home/mosman1914/app/venv/lib64/python3.6/site-packages', '/home/mosman1914/app/venv/lib/python3.6/site-packages'] |
Server time: | Tue, 19 Mar 2024 06:55:14 -0500 |
In template /home/mosman1914/mosman1914_dob/app/templates/places/addresses.html
, error at line 11
1 | {% extends 'base.html' %} |
---|---|
2 | {% load thumbnail %} |
3 | {% load nav_extras %} |
4 | {% block page_title %} -- Addresses{% endblock %} |
5 | {% block content %} |
6 | <div class="row"> |
7 | {% with current='places' %}{% include '_sidenav.html' %}{% endwith %} |
8 | <div class="col-md-8"> |
9 | <ul class="breadcrumb hidden-phone"> |
10 | <li><a href="/">Home</a> <span class="divider">/</span></li> |
11 | <li><a href="{% url place-list %}">Places</a> <span class="divider">/</span></li> |
12 | <li class="active">Addresses</li> |
13 | </ul> |
14 | <h2 class="page-header">Addresses</h2> |
15 | {% paginate 'address' 5 %} |
16 | <ul class="media-list"> |
17 | {% for address in content %} |
18 | <li class="media"> |
19 | <a href="{{ address.get_absolute_url }}" class="thumb-container pull-left"> |
20 | {% if place.photos %} |
21 | {% thumbnail address.photos.0.sourceimage_set.all.0.image 50x50 crop="True" as im %} |
/home/mosman1914/app/venv/lib64/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 | TemplateSyntaxError("Could not parse the remainder: '-list' from 'place-list'",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70>> |
request | <WSGIRequest: GET '/addresses/'> |
/home/mosman1914/app/venv/lib64/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 AddressListView at 0x7f08ecd22b70> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f08ed6477b8>> |
request | <WSGIRequest: GET '/addresses/'> |
resolver | <URLResolver 'app.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=app.places.views.AddressListView, args=(), kwargs={}, url_name=address-list, app_names=[], namespaces=[], route=^addresses/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70> |
wrapped_callback | <function AddressListView at 0x7f08ecd22b70> |
/home/mosman1914/app/venv/lib64/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 AddressListView at 0x7f08ecd22b70> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f08ed6477b8>> |
request | <WSGIRequest: GET '/addresses/'> |
resolver | <URLResolver 'app.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=app.places.views.AddressListView, args=(), kwargs={}, url_name=address-list, app_names=[], namespaces=[], route=^addresses/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f08ed819b70> |
wrapped_callback | <function AddressListView at 0x7f08ecd22b70> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/views/generic/base.py
in view
self.head = self.get
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
return self.dispatch(request, *args, **kwargs)…
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'app.places.views.AddressListView'> |
initkwargs | {} |
kwargs | {} |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in dispatch
http_client.NOT_ACCEPTABLE: ('conneg/not_acceptable',),
http_client.BAD_REQUEST: ('conneg/bad_request', '400'),
http_client.SERVICE_UNAVAILABLE: ('conneg/service_unavailable', '503'),
'default': ('conneg/error',)}
def dispatch(self, request, *args, **kwargs):
try:
return super(ContentNegotiatedView, self).dispatch(request, *args, **kwargs)…
except http.Http404 as e:
return self.error(request, e, args, kwargs, http_client.NOT_FOUND)
except exceptions.PermissionDenied as e:
return self.error(request, e, args, kwargs, http_client.FORBIDDEN)
except HttpError as e:
return self.error(request, e, args, kwargs, e.status_code)
Variable | Value |
---|---|
__class__ | <class 'django_conneg.views.ContentNegotiatedView'> |
args | () |
kwargs | {} |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in dispatch
self.format_override = None
self.request = request
self.args = args
self.kwargs = kwargs
self.conneg = Conneg(obj=self)
self.set_renderers(request)
return super(BaseContentNegotiatedView, self).dispatch(request, *args, **kwargs)…
def set_renderers(self, request=None, context=None, template_name=None, early=False):
"""
Makes sure that the renderers attribute on the request is up
to date. renderers_for_view keeps track of the view that
is attempting to render the request, so that if the request
Variable | Value |
---|---|
__class__ | <class 'django_conneg.views.BaseContentNegotiatedView'> |
args | () |
format_url_parameter | None |
kwargs | {} |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)…
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method LinkedDataListView.get of <app.places.views.AddressListView object at 0x7f08ea96ea90>> |
kwargs | {} |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
/home/mosman1914/mosman1914_dob/app/linkeddata/views.py
in get
content = paginator.page(page)
except PageNotAnInteger:
content = paginator.page(1)
except EmptyPage:
content = paginator.page(paginator.num_pages)
context['content'] = content
context['letter'] = letter
return self.render_to_format(request, context, self.template_name, format)…
else:
context['queries'] = request.GET.urlencode()
context['status_code'] = 303
context['additional_headers'] = {'location': self.path}
context['content'] = None
return self.render(request, context, self.template_name)
Variable | Value |
---|---|
content | <Page 1 of 53> |
context | {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>} |
count | '25' |
format | 'html' |
full_url | '/addresses/' |
letter | None |
page | '1' |
paginator | <django.core.paginator.Paginator object at 0x7f08eb353e10> |
queries_without_page | <QueryDict: {}> |
request | <WSGIRequest: GET '/addresses/'> |
results | <QuerySet [<Address: , Seaforth, NSW, Australia>, <Address: , North Sydney, NSW, Australia>, <Address: Botanic Gardens, , Albury, NSW, Australia>, <Address: Balmoral Beach, , Mosman, NSW, Australia>, <Address: , Mosman, NSW, Australia>, <Address: Athol Livestock Quarantine Station, , Mosman, NSW, Australia>, <Address: 1 Alexander Avenue, Mosman, NSW, Australia>, <Address: Eula, 2 Alexander Avenue, Mosman, NSW, Australia>, <Address: Gowrie, 3 Alexander Avenue, Mosman, NSW, Australia>, <Address: Gornock, Almora Street, Mosman, NSW, Australia>, <Address: Mount Forrest, Almora Street, Mosman, NSW, Australia>, <Address: Kia-ora, Almora Street, Mosman, NSW, Australia>, <Address: Ingalala, Almora Street, Mosman, NSW, Australia>, <Address: Almora Street, Mosman, NSW, Australia>, <Address: Doondi, Almora Street, Mosman, NSW, Australia>, <Address: Arizona, Almora Street, Mosman, NSW, Australia>, <Address: Telscombe, 10 Almora Street, Mosman, NSW, Australia>, <Address: Glenhurst, Arbutus Street, Mosman, NSW, Australia>, <Address: Glenhurst, 10 Arbutus Street, Mosman, NSW, Australia>, <Address: 16 Arbutus Street, Mosman, NSW, Australia>, '...(remaining elements truncated)...']> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/views.py
in render_to_format
request, context, template_name = self.get_render_params(request, context, template_name)
self.set_renderers()
status_code = context.pop('status_code', http_client.OK)
additional_headers = context.pop('additional_headers', {})
for renderer in self.conneg.renderers_by_format.get(format, ()):
response = renderer(request, context, template_name)…
if response is not NotImplemented:
break
else:
response = self.http_not_acceptable(request, ())
renderer = None
Variable | Value |
---|---|
additional_headers | {} |
context | {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>} |
format | 'html' |
renderer | Error in formatting: AttributeError: 'function' object has no attribute 'im_class' |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
status_code | <HTTPStatus.OK: 200> |
template_name | 'places/addresses' |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django_conneg/conneg.py
in __call__
self.priority = priority
self.is_bound = instance is not None
def __get__(self, instance, owner=None):
return Renderer(self.func, self.format, self.mimetypes, self.priority, self.name, self.test, instance, owner)
def __call__(self, *args, **kwargs):
return self.func(*args, **kwargs)…
@property
def __name__(self):
return self.func.__name__
@__name__.setter
def __name__(self, name):
Variable | Value |
---|---|
args | (<WSGIRequest: GET '/addresses/'>, {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>}, 'places/addresses') |
kwargs | {} |
self | Error in formatting: AttributeError: 'function' object has no attribute 'im_class' |
/home/mosman1914/mosman1914_dob/app/linkeddata/views.py
in render_html
@renderer(format='html', mimetypes=('text/html', 'application/xhtml+xml'), name='HTML', priority=1)
def render_html(self, request, context, template_name):
if context['content'] is not None:
template_name = self.join_template_name(template_name, 'html')
identifier = 'http://%s%s/' % (Site.objects.get_current().domain, self.path)
context['identifier'] = identifier
context['id_path'] = identifier[:-1]
return render(request, template_name, context)…
# return render_to_response(template_name, context, context_instance=RequestContext(request), mimetype='text/html')
else:
return HttpResponse(content='')
Variable | Value |
---|---|
context | {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>} |
identifier | 'http://mosman1914-1918.net/addresses/results/' |
request | <WSGIRequest: GET '/addresses/'> |
self | <app.places.views.AddressListView object at 0x7f08ea96ea90> |
template_name | 'places/addresses.html' |
/home/mosman1914/app/venv/lib64/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 | {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>} |
request | <WSGIRequest: GET '/addresses/'> |
status | None |
template_name | 'places/addresses.html' |
using | None |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/loader.py
in render_to_string
Load a template and render it with a context. Return a 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 | {'content': <Page 1 of 53>, 'id_path': 'http://mosman1914-1918.net/addresses/results', 'identifier': 'http://mosman1914-1918.net/addresses/results/', 'letter': None, 'queries': <QueryDict: {}>} |
request | <WSGIRequest: GET '/addresses/'> |
template_name | 'places/addresses.html' |
using | None |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/loader.py
in get_template
Raise TemplateDoesNotExist if no such template exists.
"""
chain = []
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)…
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f08ebd0feb8> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f08ebd0feb8>] |
template_name | 'places/addresses.html' |
using | None |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/backends/django.py
in get_template
self.engine = Engine(self.dirs, self.app_dirs, **options)
def from_string(self, template_code):
return Template(self.engine.from_string(template_code), self)
def get_template(self, template_name):
try:
return Template(self.engine.get_template(template_name), self)…
except TemplateDoesNotExist as exc:
reraise(exc, self)
def get_templatetag_libraries(self, custom_libraries):
"""
Return a collation of template tag libraries from installed
Variable | Value |
---|---|
self | <django.template.backends.django.DjangoTemplates object at 0x7f08ebd0feb8> |
template_name | 'places/addresses.html' |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/engine.py
in get_template
return Template(template_code, engine=self)
def get_template(self, template_name):
"""
Return a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = self.find_template(template_name)…
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
def render_to_string(self, template_name, context=None):
Variable | Value |
---|---|
self | <django.template.engine.Engine object at 0x7f08ebcb5470> |
template_name | 'places/addresses.html' |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/engine.py
in find_template
raise ImproperlyConfigured(
"Invalid value in template loaders configuration: %r" % loader)
def find_template(self, name, dirs=None, skip=None):
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):
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.filesystem.Loader object at 0x7f08ebcbbf28> |
name | 'places/addresses.html' |
self | <django.template.engine.Engine object at 0x7f08ebcb5470> |
skip | None |
tried | [] |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/loaders/base.py
in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(
contents, origin, origin.template_name, self.engine,…
)
raise TemplateDoesNotExist(template_name, tried=tried)
def get_template_sources(self, template_name):
"""
Variable | Value |
---|---|
contents | ("{% extends 'base.html' %}\n" '{% load thumbnail %}\n' '{% load nav_extras %}\n' '{% block page_title %} -- Addresses{% endblock %}\n' '{% block content %}\n' ' <div class="row">\n' " {% with current='places' %}{% include '_sidenav.html' %}{% " 'endwith %}\n' ' <div class="col-md-8">\n' ' <ul class="breadcrumb hidden-phone">\n' ' <li><a href="/">Home</a> <span ' 'class="divider">/</span></li>\n' ' <li><a href="{% url place-list %}">Places</a> <span ' 'class="divider">/</span></li>\n' ' <li class="active">Addresses</li>\n' ' </ul>\n' ' <h2 class="page-header">Addresses</h2>\n' " {% paginate 'address' 5 %}\n" ' <ul class="media-list">\n' ' {% for address in content %}\n' ' <li class="media">\n' ' <a href="{{ address.get_absolute_url }}" ' 'class="thumb-container pull-left">\n' ' {% if place.photos %}\n' ' {% thumbnail ' 'address.photos.0.sourceimage_set.all.0.image 50x50 crop="True" as im %}\n' ' <img src="{{ im.url }}">\n' ' {% else %}\n' ' <i class="icon-reorder icon-large icon-muted"></i>\n' ' {% endif %}\n' ' </a>\n' ' <div class="media-body">\n' ' <a href="{{ address.get_absolute_url }}" class="">{{ ' 'address|safe }}</a>\n' ' </div>\n' ' </li>\n' ' {% empty %}\n' ' <li>No matching results</li>\n' ' {% endfor %}\n' ' </ul>\n' " {% paginate 'address' 5 %}\n" ' </div>\n' ' </div>\n' '{% endblock %}\n') |
origin | <django.template.base.Origin object at 0x7f08eb3534a8> |
self | <django.template.loaders.filesystem.Loader object at 0x7f08ebcbbf28> |
skip | None |
template_name | 'places/addresses.html' |
tried | [] |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = str(template_string) # May be lazy.
self.nodelist = self.compile_nodelist()…
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7f08ebcb5470> |
name | 'places/addresses.html' |
origin | <django.template.base.Origin object at 0x7f08eb3534a8> |
self | <django.template.base.Template object at 0x7f08eb353278> |
template_string | ("{% extends 'base.html' %}\n" '{% load thumbnail %}\n' '{% load nav_extras %}\n' '{% block page_title %} -- Addresses{% endblock %}\n' '{% block content %}\n' ' <div class="row">\n' " {% with current='places' %}{% include '_sidenav.html' %}{% " 'endwith %}\n' ' <div class="col-md-8">\n' ' <ul class="breadcrumb hidden-phone">\n' ' <li><a href="/">Home</a> <span ' 'class="divider">/</span></li>\n' ' <li><a href="{% url place-list %}">Places</a> <span ' 'class="divider">/</span></li>\n' ' <li class="active">Addresses</li>\n' ' </ul>\n' ' <h2 class="page-header">Addresses</h2>\n' " {% paginate 'address' 5 %}\n" ' <ul class="media-list">\n' ' {% for address in content %}\n' ' <li class="media">\n' ' <a href="{{ address.get_absolute_url }}" ' 'class="thumb-container pull-left">\n' ' {% if place.photos %}\n' ' {% thumbnail ' 'address.photos.0.sourceimage_set.all.0.image 50x50 crop="True" as im %}\n' ' <img src="{{ im.url }}">\n' ' {% else %}\n' ' <i class="icon-reorder icon-large icon-muted"></i>\n' ' {% endif %}\n' ' </a>\n' ' <div class="media-body">\n' ' <a href="{{ address.get_absolute_url }}" class="">{{ ' 'address|safe }}</a>\n' ' </div>\n' ' </li>\n' ' {% empty %}\n' ' <li>No matching results</li>\n' ' {% endfor %}\n' ' </ul>\n' " {% paginate 'address' 5 %}\n" ' </div>\n' ' </div>\n' '{% endblock %}\n') |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()…
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
lexer | <django.template.base.DebugLexer object at 0x7f08eb3532e8> |
parser | <django.template.base.Parser object at 0x7f08eb11e668> |
self | <django.template.base.Template object at 0x7f08eb353278> |
tokens | [<django.template.base.Token object at 0x7f08eb353a58>, <django.template.base.Token object at 0x7f08eb353048>, <django.template.base.Token object at 0x7f08eb3534e0>, <django.template.base.Token object at 0x7f08eb353e80>, <django.template.base.Token object at 0x7f08eb353710>, <django.template.base.Token object at 0x7f08eb353780>, <django.template.base.Token object at 0x7f08eb3535f8>, <django.template.base.Token object at 0x7f08eb353160>, <django.template.base.Token object at 0x7f08eb353128>, <django.template.base.Token object at 0x7f08eb353c18>, <django.template.base.Token object at 0x7f08eb353d68>, <django.template.base.Token object at 0x7f08eb11e828>, <django.template.base.Token object at 0x7f08eb11e4e0>, <django.template.base.Token object at 0x7f08eb11e208>, <django.template.base.Token object at 0x7f08eb11ee48>, <django.template.base.Token object at 0x7f08eb11e358>, <django.template.base.Token object at 0x7f08eb11e550>, <django.template.base.Token object at 0x7f08eb11e390>, <django.template.base.Token object at 0x7f08eb11ecc0>, <django.template.base.Token object at 0x7f08eb11ea90>, <django.template.base.Token object at 0x7f08eb11e860>, <django.template.base.Token object at 0x7f08eb11e160>, <django.template.base.Token object at 0x7f08eb11e7f0>, <django.template.base.Token object at 0x7f08eb11ed30>, <django.template.base.Token object at 0x7f08eb11e9e8>, <django.template.base.Token object at 0x7f08eb11e898>, <django.template.base.Token object at 0x7f08eb11ecf8>, <django.template.base.Token object at 0x7f08eb11ebe0>, <django.template.base.Token object at 0x7f08eb353b38>] |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'extends' |
compile_func | <function do_extends at 0x7f08eff75048> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353a20> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'extends' |
compile_func | <function do_extends at 0x7f08eff75048> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353a20> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/loader_tags.py
in do_extends
the parent template itself (if it evaluates to a Template object).
"""
bits = token.split_contents()
if len(bits) != 2:
raise TemplateSyntaxError("'%s' takes one argument" % bits[0])
bits[1] = construct_relative_path(parser.origin.template_name, bits[1])
parent_name = parser.compile_filter(bits[1])
nodelist = parser.parse()…
if nodelist.get_nodes_by_type(ExtendsNode):
raise TemplateSyntaxError("'%s' cannot appear more than once in the same template" % bits[0])
return ExtendsNode(nodelist, parent_name)
@register.tag('include')
Variable | Value |
---|---|
bits | ['extends', "'base.html'"] |
parent_name | <django.template.base.FilterExpression object at 0x7f08eb11e0b8> |
parser | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353a20> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'block' |
compile_func | <function do_block at 0x7f08eff71ea0> |
compiled_result | <Block Node: page_title. Contents: [<TextNode: ' -- Addresses'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f08eb11e780>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f08eb11e278>, <TextNode: '\n'>, <Block Node: page_title. Contents: [<TextNode: ' -- Addresses'>]>, <TextNode: '\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353940> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'block' |
compile_func | <function do_block at 0x7f08eff71ea0> |
compiled_result | <Block Node: page_title. Contents: [<TextNode: ' -- Addresses'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f08eb11e780>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f08eb11e278>, <TextNode: '\n'>, <Block Node: page_title. Contents: [<TextNode: ' -- Addresses'>]>, <TextNode: '\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353940> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/loader_tags.py
in do_block
# check for duplication.
try:
if block_name in parser.__loaded_blocks:
raise TemplateSyntaxError("'%s' tag with name '%s' appears more than once" % (bits[0], block_name))
parser.__loaded_blocks.append(block_name)
except AttributeError: # parser.__loaded_blocks isn't a list yet
parser.__loaded_blocks = [block_name]
nodelist = parser.parse(('endblock',))…
# This check is kept for backwards-compatibility. See #3100.
endblock = parser.next_token()
acceptable_endblocks = ('endblock', 'endblock %s' % block_name)
if endblock.contents not in acceptable_endblocks:
parser.invalid_block_tag(endblock, 'endblock', acceptable_endblocks)
Variable | Value |
---|---|
bits | ['block', 'content'] |
block_name | 'content' |
parser | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353940> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'url' |
compile_func | <function url at 0x7f08eff701e0> |
compiled_result | <WithNode> |
nodelist | [<TextNode: '\n <div class="row"'>, <WithNode>, <TextNode: '\n <div class="'>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353f60> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'url' |
compile_func | <function url at 0x7f08eff701e0> |
compiled_result | <WithNode> |
nodelist | [<TextNode: '\n <div class="row"'>, <WithNode>, <TextNode: '\n <div class="'>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353f60> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/defaulttags.py
in url
{% with url_name="client-detail-view" %}
{% url url_name client.id %}
{% endwith %}
"""
bits = token.split_contents()
if len(bits) < 2:
raise TemplateSyntaxError("'%s' takes at least one argument, a URL pattern name." % bits[0])
viewname = parser.compile_filter(bits[1])…
args = []
kwargs = {}
asvar = None
bits = bits[2:]
if len(bits) >= 2 and bits[-2] == 'as':
asvar = bits[-1]
Variable | Value |
---|---|
bits | ['url', 'place-list'] |
parser | <django.template.base.Parser object at 0x7f08eb11e668> |
token | <django.template.base.Token object at 0x7f08eb353f60> |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in compile_filter
self.tags.update(lib.tags)
self.filters.update(lib.filters)
def compile_filter(self, token):
"""
Convenient wrapper for FilterExpression
"""
return FilterExpression(token, self)…
def find_filter(self, filter_name):
if filter_name in self.filters:
return self.filters[filter_name]
else:
raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name)
Variable | Value |
---|---|
self | <django.template.base.Parser object at 0x7f08eb11e668> |
token | 'place-list' |
/home/mosman1914/app/venv/lib64/python3.6/site-packages/django/template/base.py
in __init__
args.append((True, Variable(var_arg)))
filter_func = parser.find_filter(filter_name)
self.args_check(filter_name, filter_func, args)
filters.append((filter_func, args))
upto = match.end()
if upto != len(token):
raise TemplateSyntaxError("Could not parse the remainder: '%s' "
"from '%s'" % (token[upto:], token))…
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
Variable | Value |
---|---|
constant | None |
filters | [] |
match | <_sre.SRE_Match object; span=(0, 5), match='place'> |
matches | <callable_iterator object at 0x7f08eb11ee10> |
parser | <django.template.base.Parser object at 0x7f08eb11e668> |
self | <django.template.base.FilterExpression object at 0x7f08eb11eef0> |
start | 0 |
token | 'place-list' |
upto | 5 |
var | 'place' |
var_obj | <Variable: 'place'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CPANEL_LOCALHOST | 'eBAjBUUTgAgDWhzYDYp9Mct7aJQO7V6dMl-y2vWbRYt31s-MnKxAzbeSVVSdhDh1' |
HTTP_HOST | 'mosman1914-1918.net' |
HTTP_REFERER | 'http://mosman1914-1918.net/addresses/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '34.228.7.237' |
HTTP_X_FORWARDED_FOR_EBAJBUUTGAGDWHZYDYP9MCT7AJQO7V6DML_Y2VWBRYT31S_MNKXAZBESVVSDHDH1 | '34.228.7.237' |
HTTP_X_FORWARDED_HOST | 'mosman1914-1918.net' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SERVER | 'mosman1914-1918.net' |
HTTP_X_REAL_IP | '34.228.7.237' |
PATH_INFO | '/addresses/' |
QUERY_STRING | '' |
RAW_URI | '/addresses/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '35272' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8000), raddr=('127.0.0.1', 35272)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f08ea96ef98> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f08ea96eac8> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
app.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ACTIVATION_DAYS | 7 |
ADMINS | (('web team', 'webteam@mosman.nsw.gov.au'),) |
ALLOWED_HOSTS | ['*'] |
ANONYMOUS_USER_ID | -1 |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AUTO_RENDER_SELECT2_STATICS | False |
BASE_DIR | '/home/mosman1914' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'forcePasteAsPlainText': True, 'height': 200, 'toolbar': [{'items': ['Source', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], 'name': 'clipboard'}, {'items': ['SelectAll', 'Link', 'Unlink'], 'name': 'editing'}, {'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], 'name': 'basicstyles'}, {'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'], 'name': 'paragraph'}], 'width': '50%'}} |
CKEDITOR_UPLOAD_PATH | '/home/mosman1914/mosman1914_dob/media' |
CMS_TEMPLATES | (('cms_template_1.html', 'Template One'), ('cms_template_2.html', 'Template Two')) |
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.mysql', 'HOST': '', 'NAME': 'mosman1914django', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'mosman1914django'}} |
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 | 'j M 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_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'admin@mosman1914-1918.net' |
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 |
ENABLE_SELECT2_MULTI_PROCESS_SUPPORT | True |
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 |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'reversion', 'guardian', 'django_registration', 'django_select2', 'easy_thumbnails', 'django_extensions', 'ckeditor', 'app.templatetags', 'app.memorials', 'app.people', 'app.events', 'app.places', 'app.objects', 'app.sources', 'app.linkeddata') |
INTERNAL_IPS | [] |
LANGUAGES | [('en', 'English')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-au' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '/home/mosman1914/mosman1914_dob/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'middleware.ssl.SSLMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_PATH | '/home/mosman1914/mosman1914_dob' |
ROOT_URLCONF | 'app.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SELECT2_BOOTSTRAP | True |
SELECT2_CACHE_BACKEND | 'default' |
SELECT2_CACHE_PREFIX | 'select2_' |
SELECT2_CSS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css' |
SELECT2_I18N_AVAILABLE_LANGUAGES | ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] |
SELECT2_I18N_PATH | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/i18n' |
SELECT2_JS | '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js' |
SELECT2_LIB_VERSION | '4.0.5' |
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 | 'app.settings' |
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 |
STATICFILES_DIRS | ('/home/mosman1914/mosman1914_dob/static', '/home/mosman1914/mosman1914_dob/app/static') |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/mosman1914/mosman1914_dob/app/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_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static') |
TEMPLATE_DEBUG | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_DEBUG | False |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Chicago' |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'app.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.