'block' tag with name 'inserts' appears more than once
Request Method: | GET |
---|---|
Request URL: | http://www.babylonpolice.com/B/user/bud-griffis/sponsor/0/ |
Django Version: | 3.2.24 |
Exception Type: | TemplateSyntaxError |
Exception Value: | 'block' tag with name 'inserts' appears more than once |
Exception Location: | /app/.heroku/python/lib/python3.10/site-packages/django/template/loader_tags.py, line 212, in do_block |
Python Executable: | /app/.heroku/python/bin/python3 |
Python Version: | 3.10.9 |
Python Path: | ['/app/mysite', '/app', '/app/.heroku/python/lib/python310.zip', '/app/.heroku/python/lib/python3.10', '/app/.heroku/python/lib/python3.10/lib-dynload', '/app/.heroku/python/lib/python3.10/site-packages', '/opt/bitnami/apps/django/django_projects/mysite'] |
Server time: | Thu, 28 Mar 2024 09:01:23 +0000 |
In template /app/mysite/Bable/templates/tob_users_sponsor.html
, error at line 12
2 | {% load user_referencing %} |
---|---|
3 | {% load vote_screen %} |
4 | {% load humanize %} |
5 | {% load mptt_tags %} |
6 | {% load static %} |
7 | |
8 | {% block inserts %} |
9 | BabylonPolice - User: {{ user_anon.username.username }}'s Sponsor {{ users_sponsor.id }} |
10 | {% endblock %} |
11 | |
12 | {% block inserts %} |
13 | <meta name="viewport" content="width=device-width"> |
14 | <meta name="description" content="BabylonPolice - User: {{ user_anon.username.username }}'s Sponsor {{ users_sponsor.id }}"> |
15 | <meta property="og:image" content="{% static 'babylonpolice.jpg' %}"> |
16 | {% endblock %} |
17 | |
18 | {% block authenticatedposts %} |
19 | |
20 | <div class=usersusername> |
21 | <h2> |
22 | <a href="{% url 'Bable:tob_user_view_count' user_anon.username.username 0 %}">User: {{ user_anon.username.username }}</a> |
/app/.heroku/python/lib/python3.10/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 | TemplateSyntaxError("'block' tag with name 'inserts' appears more than once") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fbfd2154220>> |
request | <WSGIRequest: GET '/B/user/bud-griffis/sponsor/0/'> |
/app/.heroku/python/lib/python3.10/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 tob_users_sponsor at 0x7fbff0deb400> |
callback_args | () |
callback_kwargs | {'sponsor': '0', 'user': 'bud-griffis'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fbfd2156d70>> |
request | <WSGIRequest: GET '/B/user/bud-griffis/sponsor/0/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fbfd2154220> |
wrapped_callback | <function tob_users_sponsor at 0x7fbff0deb400> |
/app/mysite/Bable/views.py
, line 4951, in tob_users_sponsor
if not int(sponsor) == 0:
users_sponsor = Sponsor.objects.get(id=int(sponsor))
if request.user.is_authenticated:
the_response = render(request, "tob_users_sponsor.html", {"loggedinanon": loggedinanon, "users_sponsors": users_sponsors, "users_sponsor": users_sponsor, "user_anon": user_anon, "post_form": post_form, "task_form": task_form, "word_form": word_form, "registerform": registerform, "loginform": loginform,
"apply_votestyle_form": apply_votestyle_form, "create_votes_form": create_votes_form, "exclude_votes_form": exclude_votes_form, "apply_dic_form": apply_dic_form, "exclude_dic_form": exclude_dic_form})
else:
the_response = render(request, "tob_users_sponsor.html", {"user_anon": user_anon, "users_sponsors": users_sponsors, "users_sponsor": users_sponsor, "registerform": registerform, "loginform": loginform})…
the_response.set_cookie('current', 'tob_users_sponsor')
the_response.set_cookie('viewing_user', user)
the_response.set_cookie('sponsor', sponsor)
return the_response
Variable | Value |
---|---|
loginform | <AuthenticationForm bound=False, valid=Unknown, fields=(username;password)> |
registerform | <UserCreationForm bound=False, valid=Unknown, fields=(username;password1;password2;email)> |
request | <WSGIRequest: GET '/B/user/bud-griffis/sponsor/0/'> |
sponsor | 0 |
user | 'bud-griffis' |
user_anon | <Anon: Anon object (1814)> |
user_author | <Author: Author object (1814)> |
user_themself | <User: bud-griffis> |
users_sponsor | False |
users_sponsors | <QuerySet []> |
/app/.heroku/python/lib/python3.10/site-packages/django/shortcuts.py
, line 19, 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 | {'loginform': <AuthenticationForm bound=False, valid=Unknown, fields=(username;password)>, 'registerform': <UserCreationForm bound=False, valid=Unknown, fields=(username;password1;password2;email)>, 'user_anon': <Anon: Anon object (1814)>, 'users_sponsor': False, 'users_sponsors': <QuerySet []>} |
request | <WSGIRequest: GET '/B/user/bud-griffis/sponsor/0/'> |
status | None |
template_name | 'tob_users_sponsor.html' |
using | None |
/app/.heroku/python/lib/python3.10/site-packages/django/template/loader.py
, line 61, 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 | {'loginform': <AuthenticationForm bound=False, valid=Unknown, fields=(username;password)>, 'registerform': <UserCreationForm bound=False, valid=Unknown, fields=(username;password1;password2;email)>, 'user_anon': <Anon: Anon object (1814)>, 'users_sponsor': False, 'users_sponsors': <QuerySet []>} |
request | <WSGIRequest: GET '/B/user/bud-griffis/sponsor/0/'> |
template_name | 'tob_users_sponsor.html' |
using | None |
/app/.heroku/python/lib/python3.10/site-packages/django/template/loader.py
, line 15, 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 0x7fbfd33ae560> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7fbfd33ae560>] |
template_name | 'tob_users_sponsor.html' |
using | None |
/app/.heroku/python/lib/python3.10/site-packages/django/template/backends/django.py
, line 34, 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 0x7fbfd33ae560> |
template_name | 'tob_users_sponsor.html' |
/app/.heroku/python/lib/python3.10/site-packages/django/template/engine.py
, line 143, 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 0x7fbfd33ae260> |
template_name | 'tob_users_sponsor.html' |
/app/.heroku/python/lib/python3.10/site-packages/django/template/engine.py
, line 125, 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.app_directories.Loader object at 0x7fbfd24d3490> |
name | 'tob_users_sponsor.html' |
self | <django.template.engine.Engine object at 0x7fbfd33ae260> |
skip | None |
tried | [] |
/app/.heroku/python/lib/python3.10/site-packages/django/template/loaders/base.py
, line 29, 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 | ("f{% extends 'base.html' %}\n" '{% load user_referencing %}\n' '{% load vote_screen %}\n' '{% load humanize %}\n' '{% load mptt_tags %}\n' '{% load static %}\n' '\n' '{% block inserts %}\n' "BabylonPolice - User: {{ user_anon.username.username }}'s Sponsor {{ " 'users_sponsor.id }}\n' '{% endblock %}\n' '\n' '{% block inserts %}\n' '<meta name="viewport" content="width=device-width">\n' '<meta name="description" content="BabylonPolice - User: {{ ' 'user_anon.username.username }}\'s Sponsor {{ users_sponsor.id }}">\n' '<meta property="og:image" content="{% static \'babylonpolice.jpg\' %}">\n' '{% endblock %}\n' '\n' '{% block authenticatedposts %}\n' '\n' '\t<div class=usersusername>\n' '\t\t<h2>\n' '\t\t<a href="{% url \'Bable:tob_user_view_count\' ' 'user_anon.username.username 0 %}">User: {{ user_anon.username.username ' '}}</a>\n' '\t\t</h2>\n' '\t\t\n' '\t</div>\n' '\t<div class=users_sponsor>\n' '\t\t{% if users_sponsor %}\n' '\t\t<div class=the_sponsorship_phrase>\n' '\t\t\tPhrase: <a href="{% url \'Bable:clickthrough\' ' 'users_sponsor.author.username users_sponsor.id %}">{{ ' 'users_sponsor.the_sponsorship_phrase }}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_id>\n' '\t\t\tID: {{ users_sponsor.id }}\n' '\t\t</div>\n' '\t\t{% if users_sponsor.author.username == request.user.username %}\n' '\t\t<div class=spon_delete>\n' '\t\t\t<a href="{% url \'Bable:delete_own_spons\' users_sponsor.id ' '%}"><h4>X</h4></a>\n' '\t\t</div>\n' '\t\t{% endif %}\n' '\t\t<div class=spon_latest>\n' '\t\t\tLatest: {{ users_sponsor.latest_change_date }}\n' '\t\t</div>\n' "\t\t{% if users_sponsor.img %}<img src='{{ users_sponsor.img }}' " 'style="height: 6em; width: 6em;"/>{% endif %}\n' '\t\t<div class=spon_price_limit>\n' '\t\t\tPrice: {{ users_sponsor.price_limit }}\n' '\t\t</div>\n' '\t\t<div class=spon_allowable>\n' '\t\t\tAllowable: {{ users_sponsor.allowable_expenditure }}\n' '\t\t</div>\n' '\t\t<div class=spon_author>\n' '\t\t\t<a href="{% url \'Bable:tob_user_view_count\' ' 'users_sponsor.author.username 0 %}">/u/{{ users_sponsor.author.username ' '}}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_votecount>\n' '\t\t\t<a href="{% url \'Bable:votewvotestyle\' \'spon\' users_sponsor.id ' '%}">Votes: {{ users_sponsor.votes.count }}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_votes>\n' '\t\t\t<a href=>Votes:</a> {% for vote in users_sponsor.votes.all %}\n' '\t\t\t\t\t\t{% if vote in loggedinanon.applied_votestyles.to_source %}\n' '\t\t\t\t\t\t<div class=votess>\n' '\t\t\t\t\t\t\t<a href="{% url \'Bable:vote\' vote.id %}">{{ vote.votes ' '}}</a>: <a href="{% url \'Bable:tob_users_space\' vote.author.username ' 'vote.the_vote_name.the_word_itself %}">{{ vote.the_vote_itself }}</a>\n' '\t\t\t\t\t\t</div>\n' '\t\t\t\t\t\t{% endif %}\n' '\t\t\t\t\t{% endfor %}\n' '\t\t</div>\n' '\t\t<div class=spon_price_limit>\n' '\t\t\tViews: {{ users_sponsor.views }}\n' '\t\t</div>\n' '\t\t{% endif %}\n' '\t\t<div class=users_sponsors>\n' '\t\t\t<div class=sponsorsheading>\n' '\t\t\t\t<h3>Sponsors: {{ users_sponsors.count }}</h3>\n' '\t\t\t</div>\n' '\t\t\t{% for spon in users_sponsors.all %}\n' '\t\t\t\t<div class=spaces_sponsor>\n' '\t\t\t\t\t<div class=the_sponsorship_phrase>\n' '\t\t\t\t\t\tPhrase: <a href="{% url \'Bable:clickthrough\' ' 'spon.author.username spon.id %}">{{ spon.the_sponsorship_phrase }}</a>\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t<div class=spon-id>\n' '\t\t\t\t\t\tID: {{ spon.id }}\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t<div class=spon_latest>\n' '\t\t\t\t\t\tLatest: {{ spon.latest_change_date }}\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t{% if spon.author.username == request.user.username %}\n' '\t\t\t\t\t<div class=spon-delete>\n' '\t\t\t\t\t\t<a href="{% url \'Bable:delete_own_spons\' spon.id ' '%}"><h4>X</h4></a>\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t{% endif %}\n' '\t\t\t\t\t{% if spon.img %}<img src=\'{{ spon.img }}\' style="height: 6em; ' 'width: 6em;"/>{% endif %}\n' '\t\t\t\t\t<div class=spon_price_limit>\n' '\t\t\t\t\t\tPrice: {{ spon.price_… <trimmed 8456 bytes string> |
origin | <django.template.base.Origin object at 0x7fbfd0046080> |
self | <django.template.loaders.app_directories.Loader object at 0x7fbfd24d3490> |
skip | None |
template_name | 'tob_users_sponsor.html' |
tried | [(<django.template.base.Origin object at 0x7fbfd0045270>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fbfd0046200>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fbfd0047160>, 'Source does not exist'), (<django.template.base.Origin object at 0x7fbfd0044c10>, 'Source does not exist')] |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 155, 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 0x7fbfd33ae260> |
name | 'tob_users_sponsor.html' |
origin | <django.template.base.Origin object at 0x7fbfd0046080> |
self | <django.template.base.Template object at 0x7fbfd0045630> |
template_string | ("f{% extends 'base.html' %}\n" '{% load user_referencing %}\n' '{% load vote_screen %}\n' '{% load humanize %}\n' '{% load mptt_tags %}\n' '{% load static %}\n' '\n' '{% block inserts %}\n' "BabylonPolice - User: {{ user_anon.username.username }}'s Sponsor {{ " 'users_sponsor.id }}\n' '{% endblock %}\n' '\n' '{% block inserts %}\n' '<meta name="viewport" content="width=device-width">\n' '<meta name="description" content="BabylonPolice - User: {{ ' 'user_anon.username.username }}\'s Sponsor {{ users_sponsor.id }}">\n' '<meta property="og:image" content="{% static \'babylonpolice.jpg\' %}">\n' '{% endblock %}\n' '\n' '{% block authenticatedposts %}\n' '\n' '\t<div class=usersusername>\n' '\t\t<h2>\n' '\t\t<a href="{% url \'Bable:tob_user_view_count\' ' 'user_anon.username.username 0 %}">User: {{ user_anon.username.username ' '}}</a>\n' '\t\t</h2>\n' '\t\t\n' '\t</div>\n' '\t<div class=users_sponsor>\n' '\t\t{% if users_sponsor %}\n' '\t\t<div class=the_sponsorship_phrase>\n' '\t\t\tPhrase: <a href="{% url \'Bable:clickthrough\' ' 'users_sponsor.author.username users_sponsor.id %}">{{ ' 'users_sponsor.the_sponsorship_phrase }}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_id>\n' '\t\t\tID: {{ users_sponsor.id }}\n' '\t\t</div>\n' '\t\t{% if users_sponsor.author.username == request.user.username %}\n' '\t\t<div class=spon_delete>\n' '\t\t\t<a href="{% url \'Bable:delete_own_spons\' users_sponsor.id ' '%}"><h4>X</h4></a>\n' '\t\t</div>\n' '\t\t{% endif %}\n' '\t\t<div class=spon_latest>\n' '\t\t\tLatest: {{ users_sponsor.latest_change_date }}\n' '\t\t</div>\n' "\t\t{% if users_sponsor.img %}<img src='{{ users_sponsor.img }}' " 'style="height: 6em; width: 6em;"/>{% endif %}\n' '\t\t<div class=spon_price_limit>\n' '\t\t\tPrice: {{ users_sponsor.price_limit }}\n' '\t\t</div>\n' '\t\t<div class=spon_allowable>\n' '\t\t\tAllowable: {{ users_sponsor.allowable_expenditure }}\n' '\t\t</div>\n' '\t\t<div class=spon_author>\n' '\t\t\t<a href="{% url \'Bable:tob_user_view_count\' ' 'users_sponsor.author.username 0 %}">/u/{{ users_sponsor.author.username ' '}}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_votecount>\n' '\t\t\t<a href="{% url \'Bable:votewvotestyle\' \'spon\' users_sponsor.id ' '%}">Votes: {{ users_sponsor.votes.count }}</a>\n' '\t\t</div>\n' '\t\t<div class=spon_votes>\n' '\t\t\t<a href=>Votes:</a> {% for vote in users_sponsor.votes.all %}\n' '\t\t\t\t\t\t{% if vote in loggedinanon.applied_votestyles.to_source %}\n' '\t\t\t\t\t\t<div class=votess>\n' '\t\t\t\t\t\t\t<a href="{% url \'Bable:vote\' vote.id %}">{{ vote.votes ' '}}</a>: <a href="{% url \'Bable:tob_users_space\' vote.author.username ' 'vote.the_vote_name.the_word_itself %}">{{ vote.the_vote_itself }}</a>\n' '\t\t\t\t\t\t</div>\n' '\t\t\t\t\t\t{% endif %}\n' '\t\t\t\t\t{% endfor %}\n' '\t\t</div>\n' '\t\t<div class=spon_price_limit>\n' '\t\t\tViews: {{ users_sponsor.views }}\n' '\t\t</div>\n' '\t\t{% endif %}\n' '\t\t<div class=users_sponsors>\n' '\t\t\t<div class=sponsorsheading>\n' '\t\t\t\t<h3>Sponsors: {{ users_sponsors.count }}</h3>\n' '\t\t\t</div>\n' '\t\t\t{% for spon in users_sponsors.all %}\n' '\t\t\t\t<div class=spaces_sponsor>\n' '\t\t\t\t\t<div class=the_sponsorship_phrase>\n' '\t\t\t\t\t\tPhrase: <a href="{% url \'Bable:clickthrough\' ' 'spon.author.username spon.id %}">{{ spon.the_sponsorship_phrase }}</a>\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t<div class=spon-id>\n' '\t\t\t\t\t\tID: {{ spon.id }}\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t<div class=spon_latest>\n' '\t\t\t\t\t\tLatest: {{ spon.latest_change_date }}\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t{% if spon.author.username == request.user.username %}\n' '\t\t\t\t\t<div class=spon-delete>\n' '\t\t\t\t\t\t<a href="{% url \'Bable:delete_own_spons\' spon.id ' '%}"><h4>X</h4></a>\n' '\t\t\t\t\t</div>\n' '\t\t\t\t\t{% endif %}\n' '\t\t\t\t\t{% if spon.img %}<img src=\'{{ spon.img }}\' style="height: 6em; ' 'width: 6em;"/>{% endif %}\n' '\t\t\t\t\t<div class=spon_price_limit>\n' '\t\t\t\t\t\tPrice: {{ spon.price_… <trimmed 8456 bytes string> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 193, 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 0x7fbfd0045c00> |
parser | <django.template.base.Parser object at 0x7fbfc9c39990> |
self | <django.template.base.Template object at 0x7fbfd0045630> |
tokens | [<django.template.base.Token object at 0x7fbfd0045060>, <django.template.base.Token object at 0x7fbfd00463e0>, <django.template.base.Token object at 0x7fbfd0045720>, <django.template.base.Token object at 0x7fbfd00461d0>, <django.template.base.Token object at 0x7fbfd0046c50>, <django.template.base.Token object at 0x7fbfd0044490>, <django.template.base.Token object at 0x7fbfd0046c20>, <django.template.base.Token object at 0x7fbfd0045f60>, <django.template.base.Token object at 0x7fbfd0046fe0>, <django.template.base.Token object at 0x7fbfd0045e10>, <django.template.base.Token object at 0x7fbfd0047460>, <django.template.base.Token object at 0x7fbfd0044e20>, <django.template.base.Token object at 0x7fbfd0045120>, <django.template.base.Token object at 0x7fbfd0047a00>, <django.template.base.Token object at 0x7fbfd00456c0>, <django.template.base.Token object at 0x7fbfd0046230>, <django.template.base.Token object at 0x7fbfd00446d0>, <django.template.base.Token object at 0x7fbfd0044910>, <django.template.base.Token object at 0x7fbfd00455d0>, <django.template.base.Token object at 0x7fbfd0046020>, <django.template.base.Token object at 0x7fbfd0045c30>, <django.template.base.Token object at 0x7fbfd0045ae0>, <django.template.base.Token object at 0x7fbfd0047040>, <django.template.base.Token object at 0x7fbfd00450f0>, <django.template.base.Token object at 0x7fbfd00442e0>, <django.template.base.Token object at 0x7fbfd00444f0>, <django.template.base.Token object at 0x7fbfd0045240>, <django.template.base.Token object at 0x7fbfd00470a0>, <django.template.base.Token object at 0x7fbfd0046ad0>, <django.template.base.Token object at 0x7fbfd0046920>, <django.template.base.Token object at 0x7fbfd0044130>, <django.template.base.Token object at 0x7fbfd0045300>, <django.template.base.Token object at 0x7fbfd0045660>, <django.template.base.Token object at 0x7fbfd00476a0>, <django.template.base.Token object at 0x7fbfd00474c0>, <django.template.base.Token object at 0x7fbfd0046290>, <django.template.base.Token object at 0x7fbfd0045e40>, <django.template.base.Token object at 0x7fbfd0046f80>, <django.template.base.Token object at 0x7fbfd0047310>, <django.template.base.Token object at 0x7fbfd00465f0>, <django.template.base.Token object at 0x7fbfd0044340>, <django.template.base.Token object at 0x7fbfd0046980>, <django.template.base.Token object at 0x7fbfd00477c0>, <django.template.base.Token object at 0x7fbfd0044430>, <django.template.base.Token object at 0x7fbfd00462c0>, <django.template.base.Token object at 0x7fbfd0047220>, <django.template.base.Token object at 0x7fbfd0044220>, <django.template.base.Token object at 0x7fbfd0045330>, <django.template.base.Token object at 0x7fbfd00453c0>, <django.template.base.Token object at 0x7fbfd00474f0>, <django.template.base.Token object at 0x7fbfd0047190>, <django.template.base.Token object at 0x7fbfd0047820>, <django.template.base.Token object at 0x7fbfd0047340>, <django.template.base.Token object at 0x7fbfd0045d50>, <django.template.base.Token object at 0x7fbfd00453f0>, <django.template.base.Token object at 0x7fbfd0047e80>, <django.template.base.Token object at 0x7fbfd0045bd0>, <django.template.base.Token object at 0x7fbfd0047a60>, <django.template.base.Token object at 0x7fbfd0044d30>, <django.template.base.Token object at 0x7fbfd00457e0>, <django.template.base.Token object at 0x7fbfd0047430>, <django.template.base.Token object at 0x7fbfd0047d90>, <django.template.base.Token object at 0x7fbfd00469b0>, <django.template.base.Token object at 0x7fbfd00441c0>, <django.template.base.Token object at 0x7fbfd0045960>, <django.template.base.Token object at 0x7fbfd0044580>, <django.template.base.Token object at 0x7fbfd0047eb0>, <django.template.base.Token object at 0x7fbfd0045ff0>, <django.template.base.Token object at 0x7fbfd0047fa0>, <django.template.base.Token object at 0x7fbfd0045870>, <django.template.base.Token object at 0x7fbfd0047670>, <django.template.base.Token object at 0x7fbfd00471f0>, <django.template.base.Token object at 0x7fbfd00478e0>, <django… <trimmed 12487 bytes string> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 478, 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 0x7fc008877490> |
nodelist | [<TextNode: 'f'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd00463e0> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 476, 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 0x7fc008877490> |
nodelist | [<TextNode: 'f'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd00463e0> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/loader_tags.py
, line 278, 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 0x7fbfc9c3b100> |
parser | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd00463e0> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 478, 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 0x7fc008877370> |
compiled_result | <Block Node: inserts. Contents: [<TextNode: '\nBabylonPolice - User: '>, <Variable Node: user_anon.username.username>, <TextNode: "'s Sponsor ">, <Variable Node: users_sponsor.id>, <TextNode: '\n'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c38670>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3a0e0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3bfa0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3bdc0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3ab60>, <TextNode: '\n\n'>, <Block Node: inserts. Contents: [<TextNode: '\nBabylonPolice - User: '>, <Variable Node: user_anon.username.username>, <TextNode: "'s Sponsor ">, <Variable Node: users_sponsor.id>, <TextNode: '\n'>]>, <TextNode: '\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd0045ae0> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/base.py
, line 476, 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 0x7fc008877370> |
compiled_result | <Block Node: inserts. Contents: [<TextNode: '\nBabylonPolice - User: '>, <Variable Node: user_anon.username.username>, <TextNode: "'s Sponsor ">, <Variable Node: users_sponsor.id>, <TextNode: '\n'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c38670>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3a0e0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3bfa0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3bdc0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fbfc9c3ab60>, <TextNode: '\n\n'>, <Block Node: inserts. Contents: [<TextNode: '\nBabylonPolice - User: '>, <Variable Node: user_anon.username.username>, <TextNode: "'s Sponsor ">, <Variable Node: users_sponsor.id>, <TextNode: '\n'>]>, <TextNode: '\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd0045ae0> |
/app/.heroku/python/lib/python3.10/site-packages/django/template/loader_tags.py
, line 212, in do_block
if len(bits) != 2:
raise TemplateSyntaxError("'%s' tag takes only one argument" % bits[0])
block_name = bits[1]
# Keep track of the names of BlockNodes found in this template, so we can
# 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.
Variable | Value |
---|---|
bits | ['block', 'inserts'] |
block_name | 'inserts' |
parser | <django.template.base.Parser object at 0x7fbfc9c39990> |
token | <django.template.base.Token object at 0x7fbfd0045ae0> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
COINBASE_COMMERCE_API_KEY | '********************' |
CONTENT_LENGTH | '' |
CONTENT_TYPE | 'text/plain' |
DATABASE_URL | 'postgres://uektvtdn7vhrv9:paea14a515ba5a9fe1a79e0d209288839e0e9d0fbc47c3c2ec9f648b9aeddd160@ec2-23-21-11-83.compute-1.amazonaws.com:5432/da9tl5puk3i6i0' |
DJANGO_SETTINGS_MODULE | 'mysite.settings' |
DYNO | 'web.1' |
DYNO_RAM | '512' |
EMAIL_HOST_PASSWORD | '********************' |
FORWARDED_ALLOW_IPS | '*' |
GATEWAY_INTERFACE | 'CGI/1.1' |
GUNICORN_CMD_ARGS | '--access-logfile -' |
HOME | '/app' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_CONNECT_TIME | '1' |
HTTP_HOST | 'www.babylonpolice.com' |
HTTP_TOTAL_ROUTE_TIME | '0' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_VIA | '1.1 vegur' |
HTTP_X_FORWARDED_FOR | '18.232.88.17' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REQUEST_ID | '66cf56a7-b7b4-445a-9631-a6747a899a2f' |
HTTP_X_REQUEST_START | '1711616483702' |
LANG | 'en_US.UTF-8' |
LD_LIBRARY_PATH | '/app/.heroku/vendor/lib:/app/.heroku/python/lib:' |
LIBRARY_PATH | '/app/.heroku/vendor/lib:/app/.heroku/python/lib:' |
PATH | '/app/.heroku/python/bin:/usr/local/bin:/usr/bin:/bin' |
PATH_INFO | '/B/user/bud-griffis/sponsor/0/' |
PORT | '59316' |
PS1 | '\\[\\033[01;34m\\]\\w\\[\\033[00m\\] \\[\\033[01;32m\\]$ \\[\\033[00m\\]' |
PWD | '/app' |
PYTHONHASHSEED | 'random' |
PYTHONHOME | '/app/.heroku/python' |
PYTHONPATH | '/app' |
PYTHONUNBUFFERED | 'true' |
QUERY_STRING | '' |
REMOTE_ADDR | '10.1.83.232' |
REMOTE_HOST | '' |
REQUEST_METHOD | 'GET' |
RUN_MAIN | 'true' |
SCRIPT_NAME | '' |
SECRET_KEY | '********************' |
SERVER_NAME | '11156d44-a117-4ad8-ad7d-794d08395946.prvt.dyno.rt.heroku.com' |
SERVER_PORT | '59316' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'WSGIServer/0.2' |
SHLVL | '0' |
STRIPE_PUBLISHABLE_KEY | '********************' |
STRIPE_SECRET_KEY | '********************' |
TZ | 'UTC' |
WEB_CONCURRENCY | '2' |
_ | '/app/.heroku/python/bin/python3' |
wsgi.errors | <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'> |
wsgi.file_wrapper | <class 'wsgiref.util.FileWrapper'> |
wsgi.input | <django.core.handlers.wsgi.LimitedStream object at 0x7fbfd001f580> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
mysite.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/app/mysite' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COINBASE_COMMERCE_API_KEY | '********************' |
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': 600, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'ec2-23-21-11-83.compute-1.amazonaws.com', 'NAME': 'da9tl5puk3i6i0', 'OPTIONS': {'sslmode': 'require'}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'uektvtdn7vhrv9'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
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_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.mailgun.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'jackdonmclovin@gmail.com' |
EMAIL_PORT | 587 |
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 | True |
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.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sitemaps', 'mptt', 'Bable', 'paypal.standard.ipn', 'rest_framework', 'rest_framework.authtoken', 'coreapi'] |
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 | ('/app/mysite/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/B/index/' |
LOGOUT_REDIRECT_URL | '/B/index/' |
MANAGERS | [] |
MEDIA_ROOT | '/app/mysite/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', '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 | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PAYPAL_RECEIVER_EMAIL | 'kranked_354@hotmail.com' |
PAYPAL_TEST | False |
PREPEND_WWW | False |
PROJECT_ROOT | '/app/mysite/mysite' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_simplejwt.authentication.JWTAuthentication'], 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'} |
ROOT_URLCONF | 'mysite.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | True |
SECURE_HSTS_PRELOAD | True |
SECURE_HSTS_SECONDS | 3600 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
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 | 'mysite.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 | '/app/mysite/static/' |
STATIC_URL | '/static/' |
STRIPE_PUBLISHABLE_KEY | '********************' |
STRIPE_SECRET_KEY | '********************' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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 | 'UTC' |
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 | 'mysite.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.