Invalid block tag on line 66: 'get_static_prefix///', expected 'empty' or 'endfor'. Did you forget to register or load this tag?
Request Method: | GET |
---|---|
Request URL: | http://scoutfile.albascout.ro/jocuri/cauta/?tag=20 |
Django Version: | 4.1.7 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Invalid block tag on line 66: 'get_static_prefix///', expected 'empty' or 'endfor'. Did you forget to register or load this tag? |
Exception Location: | /var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py, line 558, in invalid_block_tag |
Raised during: | jocuri.views.ActivitateSearch |
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 12:43:14 +0200 |
In template /var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_list.html
, error at line 66
56 | </div> |
---|---|
57 | <div class = "span4"> |
58 | <label for = "id_participanti">Pentru cam câți participanți?</label> <input value="{{ request.GET.participanti }}" name="participanti" placeholder="ex: 15" id = "id_participanti" type="text"> |
59 | </div> |
60 | </div> |
61 | <div class = "row-fluid"> |
62 | <div class = "span4"> |
63 | Ramuri de vârstă? |
64 | <div style = 'margin-top: 8px'> |
65 | {% for rdv in ramuri_de_varsta %} |
66 | <label style = "display: inline" for = "id_ramura_de_varsta_{{ rdv.slug }}"><input class = "rdv_checkbox" type="checkbox" value = "{{ rdv.id }}" id="id_ramura_de_varsta_{{ rdv.slug }}"> <img src = "{% get_static_prefix/// %}images/icon-{{ rdv.slug }}.png"></label> |
67 | {% endfor %} |
68 | <input type = "hidden" name = "rdv" id = "rdv" value="{{ request.GET.rdv }}"> |
69 | </div> |
70 | </div> |
71 | <div class = "span4"> |
72 | <label for = "id_categorie">Cauți un joc dintr-o categorie anume?</label> |
73 | <select name="categorie" id = "id_categorie"> |
74 | <option value="">Toate categoriile</option> |
75 | {% for categorie in categorii %} |
76 | <option {% if categorie.id == request.GET.categorie|add:"0" %}selected="selected"{% endif %} value="{{ categorie.id }}">{{ categorie }}</option>{% endfor %} |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 505, in parse
# Add the token to the command stack. This is used for error
# messages if further parsing fails due to an unclosed block
# tag.
self.command_stack.append((command, token))
# Get the tag callback function from the ones registered with
# the parser.
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)
Variable | Value |
---|---|
command | 'get_static_prefix///' |
filter_expression | <FilterExpression 'rdv.slug'> |
nodelist | [<TextNode: '\n <lab'>, <Variable Node: rdv.slug>, <TextNode: '"><input class = "rdv_che'>, <Variable Node: rdv.id>, <TextNode: '" id="id_ramura_de_varsta'>, <Variable Node: rdv.slug>, <TextNode: '"> <img src = "'>] |
parse_until | ('empty', 'endfor') |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "get_static_prefix///..."> |
token_type | 2 |
var_node | <Variable Node: rdv.slug> |
/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("Invalid block tag on line 66: 'get_static_prefix///', expected 'empty' or 'endfor'. Did you forget to register or load this tag?") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f4806775510>> |
request | <WSGIRequest: GET '/jocuri/cauta/?tag=20'> |
/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 0x7f480425b880> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <function CsrfViewMiddleware.process_view at 0x7f48065bc670> |
request | <WSGIRequest: GET '/jocuri/cauta/?tag=20'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4806775510> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7f47dd9d93f0> |
/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 0x7f47ded66c80> |
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 0x7f47ded66c80> |
real_rendered_content | <property object at 0x7f481a1c4c70> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
span | <Span(op='template.render', description:'[jocuri/fisaactivitate_list.html, ...]', trace_id='84a32048f8aa41bf94ca342b21735f7e', span_id='a249ff83fb35e062', parent_span_id='a5d6a69a37577487', 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_list.html', 'jocuri/fisaactivitate_list.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 0x7f48049a79d0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f48049a79d0>] |
template_name | 'jocuri/fisaactivitate_list.html' |
template_name_list | ['jocuri/fisaactivitate_list.html', 'jocuri/fisaactivitate_list.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 0x7f48049a79d0> |
template_name | 'jocuri/fisaactivitate_list.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_list.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 0x7f48049a61a0> |
name | 'jocuri/fisaactivitate_list.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_list.html' |
self | <django.template.loaders.cached.Loader object at 0x7f48049a61a0> |
skip | None |
template_name | 'jocuri/fisaactivitate_list.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 pagination_tags %} {% load bs_pagination %}\n' '{% load static %}\n' '\n' '{% block page_title %}\n' '\tIdei de jocuri și activități\n' ' <div class = "pull-right">\n' ' <a class = "btn btn-primary" href = "#" id = "toggle-search"><i class = ' '"icon-search"></i> Găsește jocuri</a>\n' ' </div>\n' '{% endblock %}\n' '\n' '{% block extrahead %}\n' '\t<script type = "text/javascript" src = "{% url "goodies:js_delete" ' 'app_label=\'jocuri\' model=\'fisaactivitate\' %}"></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ă joc</a>\n' '\t</ul>\n' '{% endblock %}\n' '\n' '\n' '{% block content %}\n' ' <div class = "alert alert-info">\n' ' <div class = "row-fluid">\n' ' <div class = "span1" style="text-align: center"><i style = ' '"font-size: 42pt;" class = "icon-bullhorn"></i></div>\n' ' <div class = "span11">\n' ' Am început lucrul la colecția asta în dorința de a avea și o ' 'colecție scrisă, bine documentată și în care se pot găsi cu ușurință ' 'jocurile de care ai nevoie.\n' '\n' ' Interfața este gândită în primul rând pornind de la nevoile ' 'liderului de patrulă / unitate (plin sau în pregătire) care își pregătește ' 'activitățile pentru o acțiune concretă - în care știe în principiu câți ' 'cercetași are și cât să dureze jocurile.\n' '\n' ' Ne-am gândit în mod special la liderii în pregătire, mai ' 'ales pentru cei care n-au apucat jocurile astea ca cercetași, dar poate fi ' 'în mod egal utilă tuturor celorlalți. - <em>yeti</em>\n' ' </div></div>\n' '\n' ' </div>\n' '{% if categorie or tag or filtered %}\n' ' <div class = "alert alert-info"><i class = "icon-search"></i> {% if ' 'filtered %}\n' ' Avem <strong>{{ object_list.count }}</strong> activități care să ' 'corespundă criteriilor de căutare (care sunt afișate mai jos).\n' ' {% else %}\n' ' Sunt afișate doar activitățile marcate cu\n' ' {% if categorie %} categoria <strong>{{ categorie }}</strong>{% ' 'endif %} {% if tag %} tag-ul <strong>{{ tag }}</strong>{% endif %}. <a class ' '= "pull-right" href = "{% url "jocuri:activitate_search" %}">Toate ' 'jocurile</a>{% endif %}\n' ' </div>\n' '{% endif %}\n' '\n' '<div class = "well" id = "search-form">\n' ' <form method="GET" action="" >\n' ' <div class = "row-fluid">\n' ' <div class = "span4">\n' ' <label for = "id_text_search">Să conțină oricare din cuvintele: ' '</label><input value="{{ request.GET.query }}" name = "query" ' 'placeholder="Ce să conțină?" id = "id_text_search" type="text">\n' '\n' ' </div>\n' ' <div class = "span4">\n' ' <label for = "id_durata">Cam cât să dureze? </label><input ' 'name="time" value="{{ request.GET.time }}" placeholder="ex: 1h30m" ' 'id="id_durata" type="text">\n' ' </div>\n' ' <div class = "span4">\n' ' <label for = "id_participanti">Pentru cam câți ' 'participanți?</label> <input value="{{ request.GET.participanti }}" ' 'name="participanti" placeholder="ex: 15" id = "id_participanti" ' 'type="text">\n' ' </div>\n' ' </div>\n' ' <div class = "row-fluid">\n' ' <div class = "span4">\n' ' Ramuri de vârstă?\n' " <div style = 'margin-top: 8px'>\n" ' {% for rdv in ramuri_de_varsta %}\n' ' <label style = "display: inline" for = ' '"id_ramura_de_varsta_{{ rdv.slug }}"><input class = "rdv_checkbox" ' 'type="checkbox" value = "{{ rdv.id }}" id="id_ramura_de_varsta_{{ rdv.slug ' '}}"> <img src = "{% get_static_prefix/// %}images/icon-{{ rdv.slug ' '}}.png"></label>\n' ' {% endfor %}\n' ' <input type = "hidden" name = "rdv" i… <trimmed 11075 bytes string> |
origin | <Origin name='/var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_list.html'> |
self | <django.template.loaders.cached.Loader object at 0x7f48049a61a0> |
skip | None |
template_name | 'jocuri/fisaactivitate_list.html' |
tried | [(<Origin name='/var/app/scoutfile-prod/web/scoutfile3/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/auth/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/admin/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/admindocs/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/contrib/gis/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_filters/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/photologue/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/crispy_forms/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/rest_framework/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/captcha/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/ajax_select/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_pagination_bootstrap/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django_extensions/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/qrcode/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/leaflet/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/drf_spectacular/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/forms/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/redirects/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/contrib/table_block/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/embeds/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/sites/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/users/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/snippets/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/documents/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin name='/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/wagtail/images/templates/jocuri/fisaactivitate_list.html'>, 'Source does not exist'), (<Origin n… <trimmed 5692 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_list.html' |
origin | <Origin name='/var/app/scoutfile-prod/web/jocuri/templates/jocuri/fisaactivitate_list.html'> |
self | <Template template_string="{% extends 'base.htm..."> |
template_string | ("{% extends 'base.html' %}\n" '{% load jocuri_utils %}\n' '{% load pagination_tags %} {% load bs_pagination %}\n' '{% load static %}\n' '\n' '{% block page_title %}\n' '\tIdei de jocuri și activități\n' ' <div class = "pull-right">\n' ' <a class = "btn btn-primary" href = "#" id = "toggle-search"><i class = ' '"icon-search"></i> Găsește jocuri</a>\n' ' </div>\n' '{% endblock %}\n' '\n' '{% block extrahead %}\n' '\t<script type = "text/javascript" src = "{% url "goodies:js_delete" ' 'app_label=\'jocuri\' model=\'fisaactivitate\' %}"></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ă joc</a>\n' '\t</ul>\n' '{% endblock %}\n' '\n' '\n' '{% block content %}\n' ' <div class = "alert alert-info">\n' ' <div class = "row-fluid">\n' ' <div class = "span1" style="text-align: center"><i style = ' '"font-size: 42pt;" class = "icon-bullhorn"></i></div>\n' ' <div class = "span11">\n' ' Am început lucrul la colecția asta în dorința de a avea și o ' 'colecție scrisă, bine documentată și în care se pot găsi cu ușurință ' 'jocurile de care ai nevoie.\n' '\n' ' Interfața este gândită în primul rând pornind de la nevoile ' 'liderului de patrulă / unitate (plin sau în pregătire) care își pregătește ' 'activitățile pentru o acțiune concretă - în care știe în principiu câți ' 'cercetași are și cât să dureze jocurile.\n' '\n' ' Ne-am gândit în mod special la liderii în pregătire, mai ' 'ales pentru cei care n-au apucat jocurile astea ca cercetași, dar poate fi ' 'în mod egal utilă tuturor celorlalți. - <em>yeti</em>\n' ' </div></div>\n' '\n' ' </div>\n' '{% if categorie or tag or filtered %}\n' ' <div class = "alert alert-info"><i class = "icon-search"></i> {% if ' 'filtered %}\n' ' Avem <strong>{{ object_list.count }}</strong> activități care să ' 'corespundă criteriilor de căutare (care sunt afișate mai jos).\n' ' {% else %}\n' ' Sunt afișate doar activitățile marcate cu\n' ' {% if categorie %} categoria <strong>{{ categorie }}</strong>{% ' 'endif %} {% if tag %} tag-ul <strong>{{ tag }}</strong>{% endif %}. <a class ' '= "pull-right" href = "{% url "jocuri:activitate_search" %}">Toate ' 'jocurile</a>{% endif %}\n' ' </div>\n' '{% endif %}\n' '\n' '<div class = "well" id = "search-form">\n' ' <form method="GET" action="" >\n' ' <div class = "row-fluid">\n' ' <div class = "span4">\n' ' <label for = "id_text_search">Să conțină oricare din cuvintele: ' '</label><input value="{{ request.GET.query }}" name = "query" ' 'placeholder="Ce să conțină?" id = "id_text_search" type="text">\n' '\n' ' </div>\n' ' <div class = "span4">\n' ' <label for = "id_durata">Cam cât să dureze? </label><input ' 'name="time" value="{{ request.GET.time }}" placeholder="ex: 1h30m" ' 'id="id_durata" type="text">\n' ' </div>\n' ' <div class = "span4">\n' ' <label for = "id_participanti">Pentru cam câți ' 'participanți?</label> <input value="{{ request.GET.participanti }}" ' 'name="participanti" placeholder="ex: 15" id = "id_participanti" ' 'type="text">\n' ' </div>\n' ' </div>\n' ' <div class = "row-fluid">\n' ' <div class = "span4">\n' ' Ramuri de vârstă?\n' " <div style = 'margin-top: 8px'>\n" ' {% for rdv in ramuri_de_varsta %}\n' ' <label style = "display: inline" for = ' '"id_ramura_de_varsta_{{ rdv.slug }}"><input class = "rdv_checkbox" ' 'type="checkbox" value = "{{ rdv.id }}" id="id_ramura_de_varsta_{{ rdv.slug ' '}}"> <img src = "{% get_static_prefix/// %}images/icon-{{ rdv.slug ' '}}.png"></label>\n' ' {% endfor %}\n' ' <input type = "hidden" name = "rdv" i… <trimmed 11075 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.htm...", verbatim=False> |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
self | <Template template_string="{% extends 'base.htm..."> |
tokens | [<Block token: "extends 'base.html'...">, <Text token: "...">, <Block token: "load jocuri_utils...">, <Text token: "...">, <Block token: "load pagination_tags...">, <Text token: " ...">, <Block token: "load bs_pagination...">, <Text token: "...">, <Block token: "load static...">, <Text token: "...">, <Block token: "block page_title...">, <Text token: " Idei de jocuri și ...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block extrahead...">, <Text token: " <script type = "te...">, <Block token: "url "goodies:js_dele...">, <Text token: ""></script>...">, <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: "endblock...">, <Text token: "...">, <Block token: "block content...">, <Text token: " <div class = "a...">, <Block token: "if categorie or tag ...">, <Text token: " <div class = "a...">, <Block token: "if filtered...">, <Text token: " Avem <stron...">, <Var token: "object_list.count...">, <Text token: "</strong> activități...">, <Block token: "else...">, <Text token: " Sunt afișat...">, <Block token: "if categorie...">, <Text token: " categoria <strong>...">, <Var token: "categorie...">, <Text token: "</strong>...">, <Block token: "endif...">, <Text token: " ...">, <Block token: "if tag...">, <Text token: " tag-ul <strong>...">, <Var token: "tag...">, <Text token: "</strong>...">, <Block token: "endif...">, <Text token: ". <a class = "pull-r...">, <Block token: "url "jocuri:activita...">, <Text token: "">Toate jocurile</a>...">, <Block token: "endif...">, <Text token: " </div>...">, <Block token: "endif...">, <Text token: "<div class = "well...">, <Var token: "request.GET.query...">, <Text token: "" name = "query" pla...">, <Var token: "request.GET.time...">, <Text token: "" placeholder="ex: 1...">, <Var token: "request.GET.particip...">, <Text token: "" name="participanti...">, <Block token: "for rdv in ramuri_de...">, <Text token: " ...">, <Var token: "rdv.slug...">, <Text token: ""><input class = "rd...">, <Var token: "rdv.id...">, <Text token: "" id="id_ramura_de_v...">, <Var token: "rdv.slug...">, <Text token: ""> <img src = "...">, <Block token: "get_static_prefix///...">, <Text token: "images/icon-...">, <Var token: "rdv.slug...">, <Text token: ".png"></label> ...">, <Block token: "endfor...">, <Text token: " <in...">, <Var token: "request.GET.rdv...">, <Text token: ""> <...">, <Block token: "for categorie in cat...">, <Text token: " ...">, <Block token: "if categorie.id == r...">, <Text token: "selected="selected"...">, <Block token: "endif...">, <Text token: " value="...">, <Var token: "categorie.id...">, <Text token: "">...">, <Var token: "categorie...">, <Text token: "</option>...">, <Block token: "endfor...">, <Text token: " </s...">, <Block token: "for tag in taguri...">, <Text token: "<a class = "taglink ...">, <Var token: "tag.0.name...">, <Text token: "" data-id = "...">, <Var token: "tag.0.id...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0...">, <Text token: " - ...">, <Var token: "tag.1...">, <Text token: "</a> ...">, <Block token: "endfor...">, <Text token: "<input value="...">, <Var token: "request.GET.tags...">, <Text token: "" type="hidden" name...">, <Block token: "autopaginate object_...">, <Text token: " ...">, <Block token: "for object in object...">, <Text token: " <tr id = "row_...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: "</td> <td><strong...">, <Block token: "url "jocuri:activita...">, <Text token: "">...">, <Var token: "object.titlu...">, <Text token: "</a></strong> ...">, <Block token: "if object.is_draft...">, <Text token: "<span style = "color...">, <Block token: "endif...">, <Text token… <trimmed 6503 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 | [] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
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 | [] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
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: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
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 | 'block' |
compile_func | <function do_block at 0x7f481a271240> |
compiled_result | <Block Node: context_menu. Contents: [<TextNode: '\n\t<ul class = "nav nav-li'>, <URLNode view_name='"jocuri:activitate_create"' args=[] kwargs={} as=None>, <TextNode: '"><i class = "icon-plus-s'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd342c20>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd3439a0>, <TextNode: ' '>, <django.template.defaulttags.LoadNode object at 0x7f47dd343c70>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd342860>, <TextNode: '\n\n'>, <Block Node: page_title. Contents: [<TextNode: '\n\tIdei de jocuri și activ'>]>, <TextNode: '\n\n'>, <Block Node: extrahead. Contents: [<TextNode: '\n\t<script type = "text/ja'>, <URLNode view_name='"goodies:js_delete"' args=[] kwargs={'app_label': <FilterExpression "'jocuri'">, 'model': <FilterExpression "'fisaactivitate'">} as=None>, <TextNode: '"></script>\n'>]>, <TextNode: '\n\n'>, <Block Node: context_menu. Contents: [<TextNode: '\n\t<ul class = "nav nav-li'>, <URLNode view_name='"jocuri:activitate_create"' args=[] kwargs={} as=None>, <TextNode: '"><i class = "icon-plus-s'>]>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "block content..."> |
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 | 'block' |
compile_func | <function do_block at 0x7f481a271240> |
compiled_result | <Block Node: context_menu. Contents: [<TextNode: '\n\t<ul class = "nav nav-li'>, <URLNode view_name='"jocuri:activitate_create"' args=[] kwargs={} as=None>, <TextNode: '"><i class = "icon-plus-s'>]> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd342c20>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd3439a0>, <TextNode: ' '>, <django.template.defaulttags.LoadNode object at 0x7f47dd343c70>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f47dd342860>, <TextNode: '\n\n'>, <Block Node: page_title. Contents: [<TextNode: '\n\tIdei de jocuri și activ'>]>, <TextNode: '\n\n'>, <Block Node: extrahead. Contents: [<TextNode: '\n\t<script type = "text/ja'>, <URLNode view_name='"goodies:js_delete"' args=[] kwargs={'app_label': <FilterExpression "'jocuri'">, 'model': <FilterExpression "'fisaactivitate'">} as=None>, <TextNode: '"></script>\n'>]>, <TextNode: '\n\n'>, <Block Node: context_menu. Contents: [<TextNode: '\n\t<ul class = "nav nav-li'>, <URLNode view_name='"jocuri:activitate_create"' args=[] kwargs={} as=None>, <TextNode: '"><i class = "icon-plus-s'>]>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "block content..."> |
token_type | 2 |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/loader_tags.py
, line 232, in do_block
if block_name in parser.__loaded_blocks:
raise TemplateSyntaxError(
"'%s' tag with name '%s' appears more than once" % (bits[0], block_name)
)
parser.__loaded_blocks.append(block_name)
except AttributeError: # parser.__loaded_blocks isn't a list yet
parser.__loaded_blocks = [block_name]
nodelist = parser.parse(("endblock",))…
# This check is kept for backwards-compatibility. See #3100.
endblock = parser.next_token()
acceptable_endblocks = ("endblock", "endblock %s" % block_name)
if endblock.contents not in acceptable_endblocks:
parser.invalid_block_tag(endblock, "endblock", acceptable_endblocks)
Variable | Value |
---|---|
bits | ['block', 'content'] |
block_name | 'content' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "block content..."> |
/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 | 'for' |
compile_func | <function do_for at 0x7f481a262830> |
compiled_result | <IfNode> |
filter_expression | <FilterExpression 'request.GET.participanti'> |
nodelist | [<TextNode: '\n <div class = "alert '>, <IfNode>, <TextNode: '\n\n<div class = "well" id '>, <Variable Node: request.GET.query>, <TextNode: '" name = "query" placehol'>, <Variable Node: request.GET.time>, <TextNode: '" placeholder="ex: 1h30m"'>, <Variable Node: request.GET.participanti>, <TextNode: '" name="participanti" pla'>] |
parse_until | ('endblock',) |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "for rdv in ramuri_de..."> |
token_type | 2 |
var_node | <Variable Node: request.GET.participanti> |
/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 | 'for' |
compile_func | <function do_for at 0x7f481a262830> |
compiled_result | <IfNode> |
filter_expression | <FilterExpression 'request.GET.participanti'> |
nodelist | [<TextNode: '\n <div class = "alert '>, <IfNode>, <TextNode: '\n\n<div class = "well" id '>, <Variable Node: request.GET.query>, <TextNode: '" name = "query" placehol'>, <Variable Node: request.GET.time>, <TextNode: '" placeholder="ex: 1h30m"'>, <Variable Node: request.GET.participanti>, <TextNode: '" name="participanti" pla'>] |
parse_until | ('endblock',) |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "for rdv in ramuri_de..."> |
token_type | 2 |
var_node | <Variable Node: request.GET.participanti> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 853, in do_for
for var in loopvars:
if not var or not invalid_chars.isdisjoint(var):
raise TemplateSyntaxError(
"'for' tag received an invalid argument: %s" % token.contents
)
sequence = parser.compile_filter(bits[in_index + 1])
nodelist_loop = parser.parse(…
(
"empty",
"endfor",
)
)
token = parser.next_token()
Variable | Value |
---|---|
bits | ['for', 'rdv', 'in', 'ramuri_de_varsta'] |
in_index | -2 |
invalid_chars | frozenset({'|', ' ', '"', "'"}) |
is_reversed | False |
loopvars | ['rdv'] |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
sequence | <FilterExpression 'ramuri_de_varsta'> |
token | <Block token: "for rdv in ramuri_de..."> |
var | 'rdv' |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 507, in parse
# tag.
self.command_stack.append((command, token))
# Get the tag callback function from the ones registered with
# the parser.
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)
Variable | Value |
---|---|
command | 'get_static_prefix///' |
filter_expression | <FilterExpression 'rdv.slug'> |
nodelist | [<TextNode: '\n <lab'>, <Variable Node: rdv.slug>, <TextNode: '"><input class = "rdv_che'>, <Variable Node: rdv.id>, <TextNode: '" id="id_ramura_de_varsta'>, <Variable Node: rdv.slug>, <TextNode: '"> <img src = "'>] |
parse_until | ('empty', 'endfor') |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "get_static_prefix///..."> |
token_type | 2 |
var_node | <Variable Node: rdv.slug> |
/var/app/scoutfile-prod/.venv/lib/python3.10/site-packages/django/template/base.py
, line 558, in invalid_block_tag
e = TemplateSyntaxError(e)
if not hasattr(e, "token"):
e.token = token
return e
def invalid_block_tag(self, token, command, parse_until=None):
if parse_until:
raise self.error(…
token,
"Invalid block tag on line %d: '%s', expected %s. Did you "
"forget to register or load this tag?"
% (
token.lineno,
command,
Variable | Value |
---|---|
command | 'get_static_prefix///' |
parse_until | ('empty', 'endfor') |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " $("#toggle-...">, <Block token: "endif...">, <Text token: "$("#search-form").hi...">, <Block token: "if not filtered...">, <Text token: " <script> $(...">, <Block token: "block extrajs...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "paginate_bs2...">, <Text token: " </tbody></table>...">, <Block token: "endfor...">, <Text token: ""><i class = "icon-p...">, <Block token: "url "jocuri:activita...">, <Text token: " <tr> <td> ...">, <Block token: "empty...">, <Text token: " </d...">, <Block token: "endif...">, <Text token: ""><i class = "icon-t...">, <Var token: "object.id...">, <Text token: "<a href = "javascrip...">, <Block token: "if request.user.is_s...">, <Text token: "</a> ...">, <Block token: "endif...">, <Var token: "object.fisiere.count...">, <Block token: "if object.fisiere.co...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: "" class = "btn btn-m...">, <Block token: "url "jocuri:activita...">, <Text token: " </td> ...">, <Block token: "endfor...">, <Text token: " ...">, <Block token: "endif...">, <Text token: ", ...">, <Block token: "if not forloop.last...">, <Text token: "</a>...">, <Var token: "tag...">, <Text token: "">...">, <Var token: "tag.id...">, <Text token: "?tag=...">, <Block token: "url "jocuri:activita...">, <Text token: " ...">, <Block token: "for tag in object.ta...">, <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: "</td> <t...">, <Var token: "object|durata_string...">, <Text token: " participanți<br />...">, <Var token: "object|numar_partici...">, <Text token: "<br> ...">, <Block token: "endfor...">, <Text token: "'>...">, <Block token: "static "images/icon-...">, <Text token: "<img style = "margin...">, <Block token: "for rdv in object.ra...">, <Text token: "</em></td> ...">, <Var token: "object.descriere|tru...">, <Text token: "<br /> <...">, <Block token: "endif...">, <Text token: "<span style = "color...">, <Block token: "if object.is_draft...">, <Text token: "</a></strong> ...">, <Var token: "object.titlu...">, <Text token: "">...">, <Block token: "url "jocuri:activita...">, <Text token: "</td> <td><strong...">, <Var token: "object.id...">, <Text token: ""> <td>#...">, <Var token: "object.id...">, <Text token: " <tr id = "row_...">, <Block token: "for object in object...">, <Text token: " ...">, <Block token: "autopaginate object_...">, <Text token: "" type="hidden" name...">, <Var token: "request.GET.tags...">, <Text token: "<input value="...">, <Block token: "endfor...">, <Text token: "</a> ...">, <Var token: "tag.1...">, <Text token: " - ...">, <Var token: "tag.0...">, <Text token: "" href = "#"><i clas...">, <Var token: "tag.0.id...">, <Text token: "" data-id = "...">, <Var token: "tag.0.name...">, <Text token: "<a class = "taglink ...">, <Block token: "for tag in taguri...">, <Text token: " </s...">, <Block token: "endfor...">, <Text token: "</option>...">, <Var token: "categorie...">, <Text token: "">...">, <Var token: "categorie.id...">, <Text token: " value="...">, <Block token: "endif...">, <Text token: "selected="selected"...">, <Block token: "if categorie.id == r...">, <Text token: " ...">, <Block token: "for categorie in cat...">, <Text token: ""> <...">, <Var token: "request.GET.rdv...">, <Text token: " <in...">, <Block token: "endfor...">, <Text token: ".png"></label> ...">, <Var token: "rdv.slug...">, <Text token: "images/icon-...">]> |
token | <Block token: "get_static_prefix///..."> |
AnonymousUser
Variable | Value |
---|---|
tag | '20' |
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.81.30.41' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | '/jocuri/cauta/' |
QUERY_STRING | 'tag=20' |
RAW_URI | '/jocuri/cauta/?tag=20' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '37148' |
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', 37148)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f47e6b48ca0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f47e4952050> |
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 0x7f481a273640> |
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.