'django_markdown' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls bs_pagination cache context_menu_tags cotizatie_tags crispy_forms_field crispy_forms_filters crispy_forms_tags crispy_forms_utils customfield_tags debugger_tags highlighting i18n indent_text jocuri_utils l10n leaflet_tags log pagination_tags photologue_tags qr_code qr_tags rest_framework static string_filters syntax_color tab_tags table_block_tags tz wagtailadmin_tags wagtailcore_tags wagtailembeds_tags wagtailimages_tags wagtailsnippets_admin_tags wagtailuserbar wagtailusers_tags widont yarn
Request Method: | GET |
---|---|
Request URL: | http://scoutfile.albascout.ro/jocuri/518/ |
Django Version: | 4.1.7 |
Exception Type: | TemplateSyntaxError |
Exception Value: | 'django_markdown' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls bs_pagination cache context_menu_tags cotizatie_tags crispy_forms_field crispy_forms_filters crispy_forms_tags crispy_forms_utils customfield_tags debugger_tags highlighting i18n indent_text jocuri_utils l10n leaflet_tags log pagination_tags photologue_tags qr_code qr_tags rest_framework static string_filters syntax_color tab_tags table_block_tags tz wagtailadmin_tags wagtailcore_tags wagtailembeds_tags wagtailimages_tags wagtailsnippets_admin_tags wagtailuserbar wagtailusers_tags widont yarn |
Exception Location: | /var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/defaulttags.py, line 1028, in find_library |
Raised during: | jocuri.views.ActivitateDetail |
Python Executable: | /var/app/scoutfile-prod/.venv/bin/python |
Python Version: | 3.10.12 |
Python Path: | ['/', '/var/app/scoutfile-prod/web', '/', '/var/app/scoutfile-prod/.venv/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages'] |
Server time: | Thu, 28 Mar 2024 21:41:44 +0200 |
In template /var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_detail.html
, error at line 3
1 | {% extends 'base.html' %} |
---|---|
2 | {% load jocuri_utils %} |
3 | <!--{% load django_markdown %}--> |
4 | {% load jocuri_utils %} |
5 | {% load static %} |
6 | {% load qr_tags %} |
7 | |
8 | {% block page_title %} |
9 | {{ object }} <span style = "font-weight: normal">| Joc / Activitate</span> |
10 | {% endblock %} |
11 | |
12 | {% block meta %} |
13 | <meta property="og:title" content="{{ object.titlu }}" /> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1026, in find_library
nodelist_false = NodeList()
values = [parser.compile_filter(bit) for bit in bits[1:]]
return IfChangedNode(nodelist_true, nodelist_false, *values)
def find_library(parser, name):
try:
return parser.libraries[name]…
except KeyError:
raise TemplateSyntaxError(
"'%s' is not a registered tag library. Must be one of:\n%s"
% (
name,
"\n".join(sorted(parser.libraries)),
Variable | Value |
---|---|
name | 'django_markdown' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/core/handlers/exception.py
, line 56, in inner
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("'django_markdown' is not a registered tag library. Must be one of:\nadmin_list\nadmin_modify\nadmin_urls\nbs_pagination\ncache\ncontext_menu_tags\ncotizatie_tags\ncrispy_forms_field\ncrispy_forms_filters\ncrispy_forms_tags\ncrispy_forms_utils\ncustomfield_tags\ndebugger_tags\nhighlighting\ni18n\nindent_text\njocuri_utils\nl10n\nleaflet_tags\nlog\npagination_tags\nphotologue_tags\nqr_code\nqr_tags\nrest_framework\nstatic\nstring_filters\nsyntax_color\ntab_tags\ntable_block_tags\ntz\nwagtailadmin_tags\nwagtailcore_tags\nwagtailembeds_tags\nwagtailimages_tags\nwagtailsnippets_admin_tags\nwagtailuserbar\nwagtailusers_tags\nwidont\nyarn") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f4806775720>> |
request | <WSGIRequest: GET '/jocuri/518/'> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/core/handlers/base.py
, line 220, in _get_response
self.check_response(
response,
middleware_method,
name="%s.process_template_response"
% (middleware_method.__self__.__class__.__name__,),
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function View.as_view.<locals>.view at 0x7f480427d5a0> |
callback_args | () |
callback_kwargs | {'pk': 518} |
middleware_method | <function CsrfViewMiddleware.process_view at 0x7f48065bc430> |
request | <WSGIRequest: GET '/jocuri/518/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4806775720> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7f47d2bb81f0> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/sentry_sdk/integrations/django/views.py
, line 38, in sentry_patched_render
def sentry_patched_render(self):
# type: (SimpleTemplateResponse) -> Any
hub = Hub.current
with hub.start_span(
op=OP.VIEW_RESPONSE_RENDER, description="serialize response"
):
return old_render(self)…
@_functools.wraps(old_make_view_atomic)
def sentry_patched_make_view_atomic(self, *args, **kwargs):
# type: (Any, *Any, **Any) -> Any
callback = old_make_view_atomic(self, *args, **kwargs)
Variable | Value |
---|---|
hub | <sentry_sdk.hub.Hub object at 0x7f47d2d68910> |
old_render | <function SimpleTemplateResponse.render at 0x7f481a3b5a20> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/response.py
, line 114, in render
If the content has already been rendered, this is a no-op.
Return the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content…
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/sentry_sdk/integrations/django/templates.py
, line 75, in rendered_content
return real_rendered_content.fget(self)
with hub.start_span(
op=OP.TEMPLATE_RENDER,
description=_get_template_name_description(self.template_name),
) as span:
span.set_data("context", self.context_data)
return real_rendered_content.fget(self)…
SimpleTemplateResponse.rendered_content = rendered_content
if DJANGO_VERSION < (1, 7):
return
import django.shortcuts
Variable | Value |
---|---|
DjangoIntegration | <class 'sentry_sdk.integrations.django.DjangoIntegration'> |
hub | <sentry_sdk.hub.Hub object at 0x7f47d2d68910> |
real_rendered_content | <property object at 0x7f481a1c4db0> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
span | <Span(op='template.render', description:'[jocuri/fisaactivitate_detail.html, ...]', trace_id='d43d6dfb49bf4be19295d16c9742f5fe', span_id='918d7adec14469d3', parent_span_id='ac4de81980f382ec', sampled=True)> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/response.py
, line 90, in rendered_content
"""Return the freshly rendered content for the template and context
described by the TemplateResponse.
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)…
context = self.resolve_context(self.context_data)
return template.render(context, self._request)
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/response.py
, line 72, in resolve_template
del obj_dict[attr]
return obj_dict
def resolve_template(self, template):
"""Accept a template object, path-to-template, or list of paths."""
if isinstance(template, (list, tuple)):
return select_template(template, using=self.using)…
elif isinstance(template, str):
return get_template(template, using=self.using)
else:
return template
def resolve_context(self, context):
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | ['jocuri/fisaactivitate_detail.html'] |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/loader.py
, line 42, in select_template
)
chain = []
engines = _engine_list(using)
for template_name in template_name_list:
for engine in engines:
try:
return engine.get_template(template_name)…
except TemplateDoesNotExist as e:
chain.append(e)
if template_name_list:
raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain)
else:
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f48049abca0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f48049abca0>] |
template_name | 'jocuri/fisaactivitate_detail.html' |
template_name_list | ['jocuri/fisaactivitate_detail.html'] |
using | None |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/backends/django.py
, line 33, 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 0x7f48049abca0> |
template_name | 'jocuri/fisaactivitate_detail.html' |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/engine.py
, line 175, 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 | <Engine: dirs=[PosixPath('/var/app/scoutfile-prod/web/scoutfile3/templates')] app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'scoutfile3.context_processors.product_version', 'scoutfile3.context_processors.api_keys', 'scoutfile3.context_processors.url_root'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'photologue_tags': 'photologue.templatetags.photologue_tags', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework', 'pagination_tags': 'django_pagination_bootstrap.templatetags.pagination_tags', 'debugger_tags': 'django_extensions.templatetags.debugger_tags', 'highlighting': 'django_extensions.templatetags.highlighting', 'indent_text': 'django_extensions.templatetags.indent_text', 'syntax_color': 'django_extensions.templatetags.syntax_color', 'widont': 'django_extensions.templatetags.widont', 'yarn': 'django_yarnpkg.templatetags.yarn', 'qr_tags': 'qrcode.templatetags.qr_tags', 'qr_code': 'qr_code.templatetags.qr_code', 'leaflet_tags': 'leaflet.templatetags.leaflet_tags', 'table_block_tags': 'wagtail.contrib.table_block.templatetags.table_block_tags', 'wagtailembeds_tags': 'wagtail.embeds.templatetags.wagtailembeds_tags', 'wagtailusers_tags': 'wagtail.users.templatetags.wagtailusers_tags', 'wagtailsnippets_admin_tags': 'wagtail.snippets.templatetags.wagtailsnippets_admin_tags', 'wagtailimages_tags': 'wagtail.images.templatetags.wagtailimages_tags', 'wagtailadmin_tags': 'wagtail.admin.templatetags.wagtailadmin_tags', 'wagtailuserbar': 'wagtail.admin.templatetags.wagtailuserbar', 'wagtailcore_tags': 'wagtail.templatetags.wagtailcore_tags', 'bs_pagination': 'goodies.templatetags.bs_pagination', 'context_menu_tags': 'goodies.templatetags.context_menu_tags', 'tab_tags': 'goodies.templatetags.tab_tags', 'customfield_tags': 'album.templatetags.customfield_tags', 'string_filters': 'album.templatetags.string_filters', 'cotizatie_tags': 'documente.templatetags.cotizatie_tags', 'jocuri_utils': 'jocuri.templatetags.jocuri_utils'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
template_name | 'jocuri/fisaactivitate_detail.html' |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/engine.py
, line 157, in find_template
"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.cached.Loader object at 0x7f48049cff10> |
name | 'jocuri/fisaactivitate_detail.html' |
self | <Engine: dirs=[PosixPath('/var/app/scoutfile-prod/web/scoutfile3/templates')] app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'scoutfile3.context_processors.product_version', 'scoutfile3.context_processors.api_keys', 'scoutfile3.context_processors.url_root'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'photologue_tags': 'photologue.templatetags.photologue_tags', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework', 'pagination_tags': 'django_pagination_bootstrap.templatetags.pagination_tags', 'debugger_tags': 'django_extensions.templatetags.debugger_tags', 'highlighting': 'django_extensions.templatetags.highlighting', 'indent_text': 'django_extensions.templatetags.indent_text', 'syntax_color': 'django_extensions.templatetags.syntax_color', 'widont': 'django_extensions.templatetags.widont', 'yarn': 'django_yarnpkg.templatetags.yarn', 'qr_tags': 'qrcode.templatetags.qr_tags', 'qr_code': 'qr_code.templatetags.qr_code', 'leaflet_tags': 'leaflet.templatetags.leaflet_tags', 'table_block_tags': 'wagtail.contrib.table_block.templatetags.table_block_tags', 'wagtailembeds_tags': 'wagtail.embeds.templatetags.wagtailembeds_tags', 'wagtailusers_tags': 'wagtail.users.templatetags.wagtailusers_tags', 'wagtailsnippets_admin_tags': 'wagtail.snippets.templatetags.wagtailsnippets_admin_tags', 'wagtailimages_tags': 'wagtail.images.templatetags.wagtailimages_tags', 'wagtailadmin_tags': 'wagtail.admin.templatetags.wagtailadmin_tags', 'wagtailuserbar': 'wagtail.admin.templatetags.wagtailuserbar', 'wagtailcore_tags': 'wagtail.templatetags.wagtailcore_tags', 'bs_pagination': 'goodies.templatetags.bs_pagination', 'context_menu_tags': 'goodies.templatetags.context_menu_tags', 'tab_tags': 'goodies.templatetags.tab_tags', 'customfield_tags': 'album.templatetags.customfield_tags', 'string_filters': 'album.templatetags.string_filters', 'cotizatie_tags': 'documente.templatetags.cotizatie_tags', 'jocuri_utils': 'jocuri.templatetags.jocuri_utils'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
skip | None |
tried | [] |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/loaders/cached.py
, line 57, in get_template
if isinstance(cached, type) and issubclass(cached, TemplateDoesNotExist):
raise cached(template_name)
elif isinstance(cached, TemplateDoesNotExist):
raise copy_exception(cached)
return cached
try:
template = super().get_template(template_name, skip)…
except TemplateDoesNotExist as e:
self.get_template_cache[key] = (
copy_exception(e) if self.engine.debug else TemplateDoesNotExist
)
raise
else:
Variable | Value |
---|---|
__class__ | <class 'django.template.loaders.cached.Loader'> |
cached | None |
key | 'jocuri/fisaactivitate_detail.html' |
self | <django.template.loaders.cached.Loader object at 0x7f48049cff10> |
skip | None |
template_name | 'jocuri/fisaactivitate_detail.html' |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/loaders/base.py
, line 28, 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,
)
Variable | Value |
---|---|
contents | (" {% extends 'base.html' %}\n" '{% load jocuri_utils %}\n' '<!--{% load django_markdown %}-->\n' '{% load jocuri_utils %}\n' '{% load static %}\n' '{% load qr_tags %}\n' '\n' '{% block page_title %}\n' '\t{{ object }} <span style = "font-weight: normal">| Joc / ' 'Activitate</span>\n' '{% endblock %}\n' '\n' '{% block meta %}\n' ' <meta property="og:title" content="{{ object.titlu }}" />\n' ' <meta property="og:type" content="object" />\n' ' <meta property="og:url" content="{{ url_root }}{% url ' '"jocuri:activitate_detail" pk=object.id %}" />\n' '{# <meta property="og:image" content="{{ url_root }}{% url ' '"album:poza_detail" pk=object.id %}" />#}\n' ' <meta property="og:image" content="{{ url_root }}{% static ' '"images/bufnita.png" %}" />\n' ' <meta property="og:description" content="{{ object.descriere }}" />\n' '{% endblock %}\n' '\n' '\n' '{% block fb_root %}\n' ' <div id="fb-root"></div>\n' ' <script>\n' ' window.fbAsyncInit = function() {\n' ' // init the FB JS SDK\n' ' FB.init({\n' " appId : '152554668279442', // App ID " 'from the app dashboard\n' ' status : true, // Check ' 'Facebook Login status\n' ' xfbml : true // Look for ' 'social plugins on the page\n' ' });\n' '\n' ' // Additional initialization code such as adding Event Listeners ' 'goes here\n' ' };\n' '\n' ' // Load the SDK asynchronously\n' ' (function(){\n' " // If we've already installed the SDK, we're done\n" " if (document.getElementById('facebook-jssdk')) {return;}\n" '\n' " // Get the first script element, which we'll use to find the parent " 'node\n' ' var firstScriptElement = ' "document.getElementsByTagName('script')[0];\n" '\n' ' // Create a new script element and set its id\n' " var facebookJS = document.createElement('script');\n" " facebookJS.id = 'facebook-jssdk';\n" '\n' " // Set the new script's source to the source of the Facebook JS " 'SDK\n' " facebookJS.src = '//connect.facebook.net/en_US/all.js';\n" '\n' ' // Insert the Facebook JS SDK into the DOM\n' ' firstScriptElement.parentNode.insertBefore(facebookJS, ' 'firstScriptElement);\n' ' }());\n' ' </script>\n' ' <div id="fb-root"></div>\n' ' <script>(function(d, s, id) {\n' ' var js, fjs = d.getElementsByTagName(s)[0];\n' ' if (d.getElementById(id)) return;\n' ' js = d.createElement(s); js.id = id;\n' ' js.src = ' '"//connect.facebook.net/en_GB/all.js#xfbml=1&appId=152554668279442";\n' ' fjs.parentNode.insertBefore(js, fjs);\n' " }(document, 'script', 'facebook-jssdk'));</script>\n" '{% endblock %}\n' '\n' '{% block context_menu %}\n' '\t<ul class = "nav nav-list">\n' '\t\t<li class = "nav-header">Acțiuni</li>\n' '\t\t<li><a href = "{% url "jocuri:activitate_create" %}"><i class = ' '"icon-plus-sign"></i> Adaugă</a></li>\n' ' <li><a href = "{% url "jocuri:activitate_edit" pk=object.id %}"><i ' 'class = "icon-pencil"></i> Editează</a></li>\n' ' <li><a href = "{% url "jocuri:activitate_documents" pk=object.id ' '%}"><i class = "icon-paper-clip"></i> Atașamente</a></li>\n' '\n' '\n' " <li class = 'nav-header'>Locații</li>\n" ' <li><a href = "{% url "jocuri:activitate_search" %}"><i ' 'class="icon-search"></i> Căutare</a></li>\n' '\n' '\t</ul>\n' '\n' ' {% if object and object.fisiere.count > 0 %}\n' ' <ul class = "nav-list nav" style="margin-top: 20px;">\n' ' <li class = "nav-header">Atașamente</li>\n' ' {% for doc in object.fisiere.all %}\n' ' <li>\n' ' <a class = "doc-link" data-shortcode="{{ doc.shortcode_reference ' '}}" href = "{{ doc.get_download_url }}">\n' ' {% comment %}\n' ' {% if doc.image_storage %}\n' ' <img src … <trimmed 9148 bytes string> |
origin | <Origin name='/var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_detail.html'> |
self | <django.template.loaders.cached.Loader object at 0x7f48049cff10> |
skip | None |
template_name | 'jocuri/fisaactivitate_detail.html' |
tried | [(<Origin name='/var/app/scoutfile-prod/web/scoutfile3/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/auth/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/admin/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/admindocs/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/gis/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_filters/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/photologue/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/crispy_forms/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/rest_framework/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/captcha/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/ajax_select/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_pagination_bootstrap/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_extensions/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/qrcode/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/leaflet/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/drf_spectacular/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/forms/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/redirects/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/table_block/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/embeds/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/sites/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/users/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/snippets/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/documents/templates/jocuri/fisaactivitate_detail.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/images/templates/jocuri/fisaactivitate_deta… <trimmed 5766 bytes string> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 154, 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 __repr__(self):
Variable | Value |
---|---|
engine | <Engine: dirs=[PosixPath('/var/app/scoutfile-prod/web/scoutfile3/templates')] app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'scoutfile3.context_processors.product_version', 'scoutfile3.context_processors.api_keys', 'scoutfile3.context_processors.url_root'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'photologue_tags': 'photologue.templatetags.photologue_tags', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework', 'pagination_tags': 'django_pagination_bootstrap.templatetags.pagination_tags', 'debugger_tags': 'django_extensions.templatetags.debugger_tags', 'highlighting': 'django_extensions.templatetags.highlighting', 'indent_text': 'django_extensions.templatetags.indent_text', 'syntax_color': 'django_extensions.templatetags.syntax_color', 'widont': 'django_extensions.templatetags.widont', 'yarn': 'django_yarnpkg.templatetags.yarn', 'qr_tags': 'qrcode.templatetags.qr_tags', 'qr_code': 'qr_code.templatetags.qr_code', 'leaflet_tags': 'leaflet.templatetags.leaflet_tags', 'table_block_tags': 'wagtail.contrib.table_block.templatetags.table_block_tags', 'wagtailembeds_tags': 'wagtail.embeds.templatetags.wagtailembeds_tags', 'wagtailusers_tags': 'wagtail.users.templatetags.wagtailusers_tags', 'wagtailsnippets_admin_tags': 'wagtail.snippets.templatetags.wagtailsnippets_admin_tags', 'wagtailimages_tags': 'wagtail.images.templatetags.wagtailimages_tags', 'wagtailadmin_tags': 'wagtail.admin.templatetags.wagtailadmin_tags', 'wagtailuserbar': 'wagtail.admin.templatetags.wagtailuserbar', 'wagtailcore_tags': 'wagtail.templatetags.wagtailcore_tags', 'bs_pagination': 'goodies.templatetags.bs_pagination', 'context_menu_tags': 'goodies.templatetags.context_menu_tags', 'tab_tags': 'goodies.templatetags.tab_tags', 'customfield_tags': 'album.templatetags.customfield_tags', 'string_filters': 'album.templatetags.string_filters', 'cotizatie_tags': 'documente.templatetags.cotizatie_tags', 'jocuri_utils': 'jocuri.templatetags.jocuri_utils'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
name | 'jocuri/fisaactivitate_detail.html' |
origin | <Origin name='/var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_detail.html'> |
self | <Template template_string=" {% extends 'base..."> |
template_string | (" {% extends 'base.html' %}\n" '{% load jocuri_utils %}\n' '<!--{% load django_markdown %}-->\n' '{% load jocuri_utils %}\n' '{% load static %}\n' '{% load qr_tags %}\n' '\n' '{% block page_title %}\n' '\t{{ object }} <span style = "font-weight: normal">| Joc / ' 'Activitate</span>\n' '{% endblock %}\n' '\n' '{% block meta %}\n' ' <meta property="og:title" content="{{ object.titlu }}" />\n' ' <meta property="og:type" content="object" />\n' ' <meta property="og:url" content="{{ url_root }}{% url ' '"jocuri:activitate_detail" pk=object.id %}" />\n' '{# <meta property="og:image" content="{{ url_root }}{% url ' '"album:poza_detail" pk=object.id %}" />#}\n' ' <meta property="og:image" content="{{ url_root }}{% static ' '"images/bufnita.png" %}" />\n' ' <meta property="og:description" content="{{ object.descriere }}" />\n' '{% endblock %}\n' '\n' '\n' '{% block fb_root %}\n' ' <div id="fb-root"></div>\n' ' <script>\n' ' window.fbAsyncInit = function() {\n' ' // init the FB JS SDK\n' ' FB.init({\n' " appId : '152554668279442', // App ID " 'from the app dashboard\n' ' status : true, // Check ' 'Facebook Login status\n' ' xfbml : true // Look for ' 'social plugins on the page\n' ' });\n' '\n' ' // Additional initialization code such as adding Event Listeners ' 'goes here\n' ' };\n' '\n' ' // Load the SDK asynchronously\n' ' (function(){\n' " // If we've already installed the SDK, we're done\n" " if (document.getElementById('facebook-jssdk')) {return;}\n" '\n' " // Get the first script element, which we'll use to find the parent " 'node\n' ' var firstScriptElement = ' "document.getElementsByTagName('script')[0];\n" '\n' ' // Create a new script element and set its id\n' " var facebookJS = document.createElement('script');\n" " facebookJS.id = 'facebook-jssdk';\n" '\n' " // Set the new script's source to the source of the Facebook JS " 'SDK\n' " facebookJS.src = '//connect.facebook.net/en_US/all.js';\n" '\n' ' // Insert the Facebook JS SDK into the DOM\n' ' firstScriptElement.parentNode.insertBefore(facebookJS, ' 'firstScriptElement);\n' ' }());\n' ' </script>\n' ' <div id="fb-root"></div>\n' ' <script>(function(d, s, id) {\n' ' var js, fjs = d.getElementsByTagName(s)[0];\n' ' if (d.getElementById(id)) return;\n' ' js = d.createElement(s); js.id = id;\n' ' js.src = ' '"//connect.facebook.net/en_GB/all.js#xfbml=1&appId=152554668279442";\n' ' fjs.parentNode.insertBefore(js, fjs);\n' " }(document, 'script', 'facebook-jssdk'));</script>\n" '{% endblock %}\n' '\n' '{% block context_menu %}\n' '\t<ul class = "nav nav-list">\n' '\t\t<li class = "nav-header">Acțiuni</li>\n' '\t\t<li><a href = "{% url "jocuri:activitate_create" %}"><i class = ' '"icon-plus-sign"></i> Adaugă</a></li>\n' ' <li><a href = "{% url "jocuri:activitate_edit" pk=object.id %}"><i ' 'class = "icon-pencil"></i> Editează</a></li>\n' ' <li><a href = "{% url "jocuri:activitate_documents" pk=object.id ' '%}"><i class = "icon-paper-clip"></i> Atașamente</a></li>\n' '\n' '\n' " <li class = 'nav-header'>Locații</li>\n" ' <li><a href = "{% url "jocuri:activitate_search" %}"><i ' 'class="icon-search"></i> Căutare</a></li>\n' '\n' '\t</ul>\n' '\n' ' {% if object and object.fisiere.count > 0 %}\n' ' <ul class = "nav-list nav" style="margin-top: 20px;">\n' ' <li class = "nav-header">Atașamente</li>\n' ' {% for doc in object.fisiere.all %}\n' ' <li>\n' ' <a class = "doc-link" data-shortcode="{{ doc.shortcode_reference ' '}}" href = "{{ doc.get_download_url }}">\n' ' {% comment %}\n' ' {% if doc.image_storage %}\n' ' <img src … <trimmed 9148 bytes string> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 200, in compile_nodelist
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 | <DebugLexer template_string=" {% extends 'base...", verbatim=False> |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
self | <Template template_string=" {% extends 'base..."> |
tokens | [<Text token: " ...">, <Block token: "extends 'base.html'...">, <Text token: "...">, <Block token: "load jocuri_utils...">, <Text token: "<!--...">, <Block token: "load django_markdown...">, <Text token: "-->...">, <Block token: "load jocuri_utils...">, <Text token: "...">, <Block token: "load static...">, <Text token: "...">, <Block token: "load qr_tags...">, <Text token: "...">, <Block token: "block page_title...">, <Text token: " ...">, <Var token: "object...">, <Text token: " <span style = "font...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block meta...">, <Text token: " <meta property=...">, <Var token: "object.titlu...">, <Text token: "" /> <meta prope...">, <Var token: "url_root...">, <Block token: "url "jocuri:activita...">, <Text token: "" />...">, <Comment token: "<meta property="og:i...">, <Text token: " <meta property=...">, <Var token: "url_root...">, <Block token: "static "images/bufni...">, <Text token: "" /> <meta prope...">, <Var token: "object.descriere...">, <Text token: "" />...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block fb_root...">, <Text token: " <div id="fb-roo...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block context_menu...">, <Text token: " <ul class = "nav n...">, <Block token: "url "jocuri:activita...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: ""><i class="icon-sea...">, <Block token: "if object and object...">, <Text token: " <ul class = "na...">, <Block token: "for doc in object.fi...">, <Text token: " <li> ...">, <Var token: "doc.shortcode_refere...">, <Text token: "" href = "...">, <Var token: "doc.get_download_url...">, <Text token: ""> ...">, <Block token: "comment...">, <Text token: " ...">, <Block token: "if doc.image_storage...">, <Text token: " ...">, <Var token: "doc.image_storage.ge...">, <Text token: "" class = "thumbnail...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endcomment...">, <Text token: " <i clas...">, <Block token: "if doc.source_type.0...">, <Text token: "file...">, <Block token: "elif doc.source_type...">, <Text token: "picture...">, <Block token: "endif...">, <Text token: ""></i> ...">, <Var token: "doc.titlu...">, <Text token: " ...">, <Block token: "if doc.descriere and...">, <Text token: " <sp...">, <Var token: "doc.descriere...">, <Text token: "</span> ...">, <Block token: "endif...">, <Text token: "</a> </li> ...">, <Block token: "endfor...">, <Text token: " <li> ...">, <Block token: "url "jocuri:activita...">, <Text token: "" target="_blank"><i...">, <Block token: "endif...">, <Text token: " <div class="f...">, <Var token: "url_root...">, <Block token: "url "jocuri:activita...">, <Text token: "" data-action="like"...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block content...">, <Text token: " ...">, <Block token: "if object.is_draft...">, <Text token: " <div class ...">, <Block token: "endif...">, <Text token: " <div class = "r...">, <Var token: "object.descriere_joc...">, <Text token: " </div> ...">, <Var token: "object|numar_partici...">, <Text token: " participanți</li> ...">, <Var token: "object|durata_string...">, <Text token: "</li> ...">, <Block token: "for rdv in object.ra...">, <Text token: "<img style = "margin...">, <Block token: "get_static_prefix...">, <Text token: "images/icon-...">, <Var token: "rdv.slug...">, <Text token: ".png'>...">, <Block token: "endfor...">, <Text token: "</li> </...">, <Block token: "url "jocuri:activita...">, <Text token: "?cat=...">, <Var token: "object.… <trimmed 6336 bytes string> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 513, 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 0x7f481a271360> |
nodelist | [<TextNode: ' '>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "extends 'base.html'..."> |
token_type | 2 |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 511, 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 0x7f481a271360> |
nodelist | [<TextNode: ' '>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "extends 'base.html'..."> |
token_type | 2 |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/loader_tags.py
, line 293, 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)
Variable | Value |
---|---|
bits | ['extends', "'base.html'"] |
parent_name | <FilterExpression "'base.html'"> |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "extends 'base.html'..."> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 513, 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 | 'load' |
compile_func | <function load at 0x7f481a262d40> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7f47d2a759f0> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47d2a759f0>, <TextNode: '\n<!--'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "load django_markdown..."> |
token_type | 2 |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 511, 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 | 'load' |
compile_func | <function load at 0x7f481a262d40> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7f47d2a759f0> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47d2a759f0>, <TextNode: '\n<!--'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "load django_markdown..."> |
token_type | 2 |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1088, in load
name = bits[-1]
lib = find_library(parser, name)
subset = load_from_library(lib, name, bits[1:-2])
parser.add_library(subset)
else:
# one or more libraries are specified; load and add them to the parser
for name in bits[1:]:
lib = find_library(parser, name)…
parser.add_library(lib)
return LoadNode()
@register.tag
def lorem(parser, token):
Variable | Value |
---|---|
bits | ['load', 'django_markdown'] |
name | 'django_markdown' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
token | <Block token: "load django_markdown..."> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1028, in find_library
return IfChangedNode(nodelist_true, nodelist_false, *values)
def find_library(parser, name):
try:
return parser.libraries[name]
except KeyError:
raise TemplateSyntaxError(…
"'%s' is not a registered tag library. Must be one of:\n%s"
% (
name,
"\n".join(sorted(parser.libraries)),
),
)
Variable | Value |
---|---|
name | 'django_markdown' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " <script> ...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: " </div> ...">, <Block token: "qr_from_object objec...">, <Text token: " <h3>Ref...">, <Block token: "endif...">, <Text token: " </u...">, <Block token: "endfor...">, <Text token: " ...">, <Var token: "autor.centru_local...">, <Text token: "</a><br /> ...">, <Var token: "autor...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: "" /> ...">, <Block token: "endif...">, <Block token: "static 'images/50x50...">, <Block token: "else...">, <Var token: "autor.poza_profil.ge...">, <Block token: "if autor.poza_profil...">, <Text token: ""> ...">, <Block token: "url "structuri:membr...">, <Text token: " ...">, <Block token: "for autor in object....">, <Text token: " <h3>Aut...">, <Block token: "if object.editori.al...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.obiective_edu...">, <Text token: " <h3>Obi...">, <Block token: "if object.obiective_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Var token: "object.materiale_nec...">, <Text token: " <h3...">, <Block token: "if object.materiale_...">, <Text token: " ...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "endfor...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: ""><i class = "icon-t...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: "<a href = "...">, <Block token: "for tag in object.ta...">, <Text token: " <st...">, <Block token: "if object.tags.count...">, <Text token: "</a><br /> ...">, <Var token: "object.categorie...">, <Text token: "">...">, <Var token: "object.categorie.id...">, <Text token: "?cat=...">, <Block token: "url "jocuri:activita...">, <Text token: "</li> </...">, <Block token: "endfor...">, <Text token: ".png'>...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">, <Block token: "get_static_prefix...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</li> ...">, <Var token: "object|durata_string...">, <Text token: " participanți</li> ...">, <Var token: "object|numar_partici...">, <Text token: " </div> ...">, <Var token: "object.descriere_joc...">, <Text token: " <div class = "r...">, <Block token: "endif...">, <Text token: " <div class ...">, <Block token: "if object.is_draft...">, <Text token: " ...">, <Block token: "block content...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "" data-action="like"...">, <Block token: "url "jocuri:activita...">, <Var token: "url_root...">, <Text token: " <div class="f...">, <Block token: "endif...">, <Text token: "" target="_blank"><i...">, <Block token: "url "jocuri:activita...">, <Text token: " <li> ...">, <Block token: "endfor...">, <Text token: "</a> </li> ...">, <Block token: "endif...">, <Text token: "</span> ...">, <Var token: "doc.descriere...">, <Text token: " <sp...">, <Block token: "if doc.descriere and...">, <Text token: " ...">, <Var token: "doc.titlu...">, <Text token: ""></i> ...">, <Block token: "endif...">, <Text token: "picture...">, <Block token: "elif doc.source_type...">, <Text token: "file...">, <Block token: "if doc.source_type.0...">, <Text token: " <i clas...">, <Block token: "endcomment...">, <Text token: " ...">, <Block token: "endif...">, <Text token: "" class = "thumbnail...">, <Var token: "doc.image_storage.ge...">, <Text token: " … <trimmed 5983 bytes string> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'scoutfile.albascout.ro' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_REAL_IP | '3.235.243.45' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | '/jocuri/518/' |
QUERY_STRING | '' |
RAW_URI | '/jocuri/518/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '36746' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8010' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8010), raddr=('127.0.0.1', 36746)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f47d2fa7cd0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f47d2ea6410> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
scoutfile3.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | ('Andrei AVRAM', 'andrei.avram@albascout.ro') |
AJAX_SELECT_BOOTSTRAP | False |
AJAX_SELECT_INLINES | False |
ALLOWED_HOSTS | ['scoutfile.albascout.ro', '127.0.0.1', 'knowledge.albascout.ro', 'centru.albascout.ro'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'utils.auth_backends.FacebookBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AWS_ACCESS_KEY_ID | '********************' |
AWS_DEFAULT_ACL | None |
AWS_LOCATION | 'media/' |
AWS_S3_CUSTOM_DOMAIN | 'd90wfhk7qunqr.cloudfront.net' |
AWS_S3_FILE_OVERWRITE | False |
AWS_S3_REGION_NAME | 'eu-west-1' |
AWS_SECRET_ACCESS_KEY | '********************' |
AWS_SES_REGION_ENDPOINT | 'email.eu-west-1.amazonaws.com' |
AWS_SES_REGION_NAME | 'eu-west-1' |
AWS_STORAGE_BUCKET_NAME | 'scoutfile-production' |
BASE_DIR | PosixPath('/var/app/scoutfile-prod/web') |
BOWER_COMPONENTS_ROOT | '/var/app/scoutfile-prod/components' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache', 'LOCATION': '127.0.0.1:11211'}, 'redis': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/2', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERY_ACCEPT_CONTENT | ['json'] |
CELERY_BROKER_URL | 'redis://localhost:6379/1' |
CELERY_CACHE_BACKEND | 'django-cache' |
CELERY_RESULT_BACKEND | 'django-db' |
CELERY_TASK_SERIALIZER | 'json' |
CENTRU_LOCAL_IMPLICIT | 1 |
CRISPY_TEMPLATE_PACK | 'bootstrap' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | 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 | ['https://scoutfile.albascout.ro', 'https://knowledge.albascout.ro', 'https://centru.albascout.ro'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': '127.0.0.1', 'NAME': 'scoutfile-prod', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'yeti_db'}} |
DATABASES_POSTGRES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'HOST': '127.0.0.1', 'NAME': 'scoutfile-prod', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'yeti_db'}} |
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 | ['%d.%m.%Y %H:%M %p', '%d.%m.%Y %H:%M:%S', '%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 | ['%d.%m.%Y', '%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 | 'storages.backends.s3boto3.S3Boto3Storage' |
DEFAULT_FROM_EMAIL | 'sistem@albascout.ro' |
DEFAULT_HOST | 'scoutfile' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DEVELOPMENT | False |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django_ses.SESBackend' |
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 |
FACEBOOK_APP_ID | '152554668279442' |
FACEBOOK_APP_SECRET | '********************' |
FACEBOOK_ERROR_URL | 'login' |
FACEBOOK_LOGIN_REDIRECT | 'login' |
FACEBOOK_PERMISSIONS | ['email'] |
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 | ['/var/app/scoutfile-prod/web/fixtures'] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOGLE_API_KEY | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django_redis', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.gis', 'django_filters', 'photologue', 'crispy_forms', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_sso', 'rest_framework_gis', 'captcha', 'ajax_select', 'taggit', 'django_pagination_bootstrap', 'django_extensions', 'gunicorn', 'django_yarnpkg', 'storages', 'django_ace', 'qrcode', 'qr_code', 'leaflet', 'drf_spectacular', 'corsheaders', 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.contrib.table_block', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail.admin', 'wagtail', 'modelcluster', 'django_celery_results', 'goodies', 'structuri', 'generic', 'album', 'patrocle', 'documente', 'extra', 'utils', 'proiecte', 'cantece', 'jocuri', 'badge', 'adrese_postale', 'inventar', 'pages', 'taxonomy', 'financiar', 'locuri', 'slackbot', 'program', 'procedure', 'booking', 'properties', 'certificari', 'waiting_list', 'voting', 'redirects'] |
INTERNAL_IPS | ['192.168.31.233'] |
LANGUAGES | [('ro', 'Română'), ('en', 'Engleză')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'ro' |
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 | [] |
LOCAL_MEDIA_ROOT | '/var/app/scoutfile-prod/media' |
LOCAL_MEDIA_URL | '/media/' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s ' '%(process)d %(thread)d %(message)s'}}, 'handlers': {'default': {'class': 'logging.FileHandler', 'filename': '/var/app/scoutfile-prod/logs/debug.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'error': {'class': 'logging.FileHandler', 'filename': '/var/app/scoutfile-prod/logs/error.log', 'formatter': 'verbose', 'level': 'ERROR'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['default'], 'level': 'DEBUG', 'propagate': True}, 'django.db.backends': {'handlers': ['null'], 'level': 'DEBUG', 'propagate': False}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'raven': {'handlers': ['default'], 'level': 'DEBUG', 'propagate': False}, 'sentry.errors': {'handlers': ['default'], 'level': 'DEBUG', 'propagate': False}}, 'root': {'handlers': ['default'], 'level': 'DEBUG'}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/edit/' |
LOGIN_URL | '/login/' |
LOGOUT_REDIRECT_URL | None |
MAJOR_VERSION | 5 |
MANAGERS | ('Andrei AVRAM', 'andrei.avram@albascout.ro') |
MEDIAFILES_LOCATION | 'media' |
MEDIAFILES_STORAGE | 'scoutfile3.s3utils.MediaFilesStorage' |
MEDIA_DIRECTORY | 'media/' |
MEDIA_ROOT | '/var/app/scoutfile-prod/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django_hosts.middleware.HostsRequestMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django_pagination_bootstrap.middleware.PaginationMiddleware', 'scoutfile3.middleware.ImpersonateUserMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware', 'django_hosts.middleware.HostsResponseMiddleware'] |
MIGRATION_MODULES | {} |
MINOR_VERSION | '1' |
MONTH_DAY_FORMAT | 'F j' |
NODE_MODULES_ROOT | '/var/app/scoutfile-prod/node_modules' |
NUMBER_GROUPING | 0 |
ONCR_PASSWORD | '********************' |
ONCR_USER | 'andrei.avram@albascout.ro' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PHOTOLOGUE_DIR | 'poze' |
PHOTOLOGUE_IMAGE_FIELD_MAX_LENGTH | 1024 |
PHOTOLOGUE_PATH | <function photologue_path at 0x7f481a2735b0> |
PREPEND_WWW | False |
PROJECT_ROOT | PosixPath('/var/app/scoutfile-prod') |
RECAPTCHA_PRIVATE_KEY | '********************' |
RECAPTCHA_PUBLIC_KEY | '********************' |
RECAPTCHA_USE_SSL | True |
REDMINE_APY_KEY | '********************' |
REDMINE_VERSION_URL | 'http://yeti.albascout.ro/redmine/versions/9' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework_sso.authentication.JWTAuthentication', 'rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication'], 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'], 'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema'} |
REST_FRAMEWORK_SSO | {'ACCEPTED_ISSUERS': ['scoutfile'], 'AUTHORIZATION_AUDIENCE': ['scoutfile', 'organizer', 'geo game'], 'CREATE_AUTHORIZATION_PAYLOAD': 'utils.authentication.create_authorization_payload', 'IDENTITY': 'scoutfile', 'KEY_STORE_ROOT': '********************', 'PRIVATE_KEYS': '********************', 'PUBLIC_KEYS': '********************', 'SESSION_AUDIENCE': ['scoutfile']} |
ROOT_HOSTCONF | 'scoutfile3.hosts' |
ROOT_URLCONF | 'scoutfile3.urls' |
SCOUTFILE_ALBUM_STORAGE_ROOT | 'album' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'sistem@albascout.ro' |
SERVE_QR_CODE_IMAGE_PATH | 'qr-code-image/' |
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 | 'scoutfile3.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 |
SLACK_APP_SECRET | '********************' |
SLACK_BOT_TOKEN | '********************' |
SMSLINK_CONNID | 'A196357A18017C10' |
SMSLINK_PASSWORD | '********************' |
SMSLINK_URL | 'http://www.smslink.ro/sms/gateway/communicate/' |
SPECTACULAR_SETTINGS | {'DESCRIPTION': 'Scoutfile3 - Software for Scout Groups', 'SERVE_INCLUDE_SCHEMA': False, 'TITLE': 'Scoutfile3 API', 'VERSION': '1.0.0'} |
STATICFILES_DIRS | (('js', '/var/app/scoutfile-prod/static/js'), ('images', '/var/app/scoutfile-prod/static/images'), ('css', '/var/app/scoutfile-prod/static/css'), ('font', '/var/app/scoutfile-prod/static/font'), ('jquery_upload', '/var/app/scoutfile-prod/static/jquery_upload'), ('gallery', '/var/app/scoutfile-prod/static/gallery'), ('bootstrap-calendar', '/var/app/scoutfile-prod/static/bootstrap-calendar')) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django_yarnpkg.finders.NodeModulesFinder') |
STATICFILES_LOCATION | 'static' |
STATICFILES_STORAGE | 'scoutfile3.s3utils.StaticFilesStorage' |
STATIC_ROOT | '/var/app/scoutfile-prod/static' |
STATIC_URL | '/static/' |
SYSTEM_EMAIL | 'sistem@albascout.ro' |
TAGGIT_CASE_INSENSITIVE | True |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [PosixPath('/var/app/scoutfile-prod/web/scoutfile3/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', 'scoutfile3.context_processors.product_version', 'scoutfile3.context_processors.api_keys', 'scoutfile3.context_processors.url_root']}}] |
TEMPLATE_DEBUG | True |
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 | 'Europe/Bucharest' |
URL_ROOT | 'http://scoutfile.albascout.ro/' |
USE_DEPRECATED_PYTZ | False |
USE_EMAIL_CONFIRMATION | True |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VALOARE_IMPLICITA_COTIZATIE_LOCAL | 0 |
VALOARE_IMPLICITA_COTIZATIE_LOCAL_SOCIAL | 0 |
VALOARE_IMPLICITA_COTIZATIE_NATIONAL | 50 |
VALOARE_IMPLICITA_COTIZATIE_NATIONAL_SOCIAL | 12 |
WAGTAILADMIN_BASE_URL | 'http://scoutfile.albascout.ro/wagtail/' |
WAGTAIL_SITE_NAME | 'Scoutfile' |
WSGI_APPLICATION | 'scoutfile3.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YARN_INSTALLED_APPS | ('lodash@3.2.0', 'bootstrap@3.4.1', 'jquery@3.6.0', 'moment@2.0.0', 'bootstrap-calendar@0.2.4', 'js-cookie@3.0.1') |
YARN_PATH | '/home/scoutfile/.nvm/versions/node/v14.18.1/bin/yarnpkg' |
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.