Could not parse the remainder: '}">COLLABORA CON NOI</a> > <a href="{%' from ''offerte-lavoro'}">COLLABORA CON NOI</a> > <a href="{%'
Request Method: | GET |
---|---|
Request URL: | http://ctsafe.it/collabora-con-noi-detail/junior-project-manager |
Django Version: | 1.9.8 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '}">COLLABORA CON NOI</a> > <a href="{%' from ''offerte-lavoro'}">COLLABORA CON NOI</a> > <a href="{%' |
Exception Location: | /usr/local/lib/python2.7/site-packages/django/template/base.py in parse, line 516 |
Python Executable: | /usr/local/bin/python |
Python Version: | 2.7.13 |
Python Path: | ['/code/djangoproject', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 09:53:13 +0000 |
In template /code/djangoproject/sito/templates/offerta-lavoro.html
, error at line 27
17 | {% endblock %} |
---|---|
18 | |
19 | {% load crispy_forms_tags %} |
20 | |
21 | {% block content %} |
22 | |
23 | <section id="offerta-lavoro"> |
24 | <div class="container"> |
25 | <div class="col col-12 breadcrumb"> |
26 | <p> |
27 | <a href="{% url 'home' %}">home</a> > <a href="{% url 'offerte-lavoro'}">COLLABORA CON NOI</a> > <a href="{% url 'fferta-lavoro' page.slug %}">{{page.name}}</a> |
28 | </p> |
29 | </div> |
30 | <div class="main-heading-content"> |
31 | <h1 class="text-center">{{page.name}}</h1> |
32 | </div> |
33 | |
34 | <div class="row"> |
35 | <div class="col col-12 col-md-2"> |
36 | {% load cropping %} |
37 | <img src="{% cropped_thumbnail page 'thumb' %}" class="img-fluid icona"> |
/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
e | TemplateSyntaxError(u'Could not parse the remainder: \'}">COLLABORA CON NOI</a> > <a href="{%\' from \'\'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{%\'',) |
callback_args | () |
resolver_match | ResolverMatch(func=sito.views.OfferteLavoroDetail, args=(), kwargs={'post_slug': u'junior-project-manager'}, url_name=offerta-lavoro, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7efdc058e590>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7efdc57dc610> |
request | <WSGIRequest: GET '/collabora-con-noi-detail/junior-project-manager'> |
callback | <function OfferteLavoroDetail at 0x7efdc07339b0> |
wrapped_callback | <function OfferteLavoroDetail at 0x7efdc07339b0> |
resolver | <RegexURLResolver 'djangoproject.urls' (None:None) ^/> |
callback_kwargs | {'post_slug': u'junior-project-manager'} |
response | None |
urlconf | 'djangoproject.urls' |
/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
e | TemplateSyntaxError(u'Could not parse the remainder: \'}">COLLABORA CON NOI</a> > <a href="{%\' from \'\'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{%\'',) |
callback_args | () |
resolver_match | ResolverMatch(func=sito.views.OfferteLavoroDetail, args=(), kwargs={'post_slug': u'junior-project-manager'}, url_name=offerta-lavoro, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7efdc058e590>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7efdc57dc610> |
request | <WSGIRequest: GET '/collabora-con-noi-detail/junior-project-manager'> |
callback | <function OfferteLavoroDetail at 0x7efdc07339b0> |
wrapped_callback | <function OfferteLavoroDetail at 0x7efdc07339b0> |
resolver | <RegexURLResolver 'djangoproject.urls' (None:None) ^/> |
callback_kwargs | {'post_slug': u'junior-project-manager'} |
response | None |
urlconf | 'djangoproject.urls' |
/code/djangoproject/sito/views.py
in OfferteLavoroDetail
return render_to_response('offerte-lavoro.html', context, context_instance=RequestContext(request))
def OfferteLavoroDetail(request, post_slug):
page = OfferteLavoro.objects.get(slug=post_slug)
form = CandidatureForm()
context = {'page':page, 'form':form}
return render_to_response('offerta-lavoro.html', context, context_instance=RequestContext(request))...
def CandidaturaPost(request):
if request.method == "POST":
form = CandidatureForm(request.POST, request.FILES)
if form.is_valid():
post = form.save(commit=False)
Variable | Value |
---|---|
post_slug | u'junior-project-manager' |
request | <WSGIRequest: GET '/collabora-con-noi-detail/junior-project-manager'> |
context | {'form': <CandidatureForm bound=False, valid=Unknown, fields=(offerta;nome;cognome;azienda;email;telefono;indirizzo;civico;cap;citta;allegato)>, 'page': <OfferteLavoro: Junior Project Manager>} |
form | <CandidatureForm bound=False, valid=Unknown, fields=(offerta;nome;cognome;azienda;email;telefono;indirizzo;civico;cap;citta;allegato)> |
page | <OfferteLavoro: Junior Project Manager> |
/usr/local/lib/python2.7/site-packages/django/shortcuts.py
in render_to_response
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)...
return HttpResponse(content, content_type, status)
def render(request, template_name, context=None,
context_instance=_context_instance_undefined,
Variable | Value |
---|---|
dirs | <object object at 0x7efdc42721d0> |
status | None |
content_type | None |
dictionary | <object object at 0x7efdc42721c0> |
template_name | 'offerta-lavoro.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'form': <CandidatureForm bound=False, valid=Unknown, fields=(offerta;nome;cognome;azienda;email;telefono;indirizzo;civico;cap;citta;allegato)>, 'page': <OfferteLavoro: Junior Project Manager>} |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
if isinstance(engine, DjangoTemplates):
if request is not None:
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)...
elif context_instance is not _context_instance_undefined:
warnings.warn(
"Skipping template backend %s because its render_to_string "
"method doesn't support the context_instance argument." %
engine.name, stacklevel=2)
elif dirs is not _dirs_undefined:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x7efdc19bca90> |
dirs | <object object at 0x7efdc42721d0> |
chain | [] |
dictionary | <object object at 0x7efdc42721c0> |
template_name | 'offerta-lavoro.html' |
request | None |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'form': <CandidatureForm bound=False, valid=Unknown, fields=(offerta;nome;cognome;azienda;email;telefono;indirizzo;civico;cap;citta;allegato)>, 'page': <OfferteLavoro: Junior Project Manager>} |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/engine.py
in render_to_string
"The dictionary argument of render_to_string was renamed to "
"context.", RemovedInDjango110Warning, stacklevel=3)
context = dictionary
if isinstance(template_name, (list, tuple)):
t = self.select_template(template_name, dirs)
else:
t = self.get_template(template_name, dirs)...
if not context_instance:
# Django < 1.8 accepted a Context in `context` even though that's
# unintended. Preserve this ability but don't rewrap `context`.
if isinstance(context, Context):
return t.render(context)
else:
Variable | Value |
---|---|
dirs | <object object at 0x7efdc42721d0> |
dictionary | None |
template_name | 'offerta-lavoro.html' |
self | <django.template.engine.Engine object at 0x7efdc0731a50> |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'form': <CandidatureForm bound=False, valid=Unknown, fields=(offerta;nome;cognome;azienda;email;telefono;indirizzo;civico;cap;citta;allegato)>, 'page': <OfferteLavoro: Junior Project Manager>} |
/usr/local/lib/python2.7/site-packages/django/template/engine.py
in get_template
if dirs is _dirs_undefined:
dirs = None
else:
warnings.warn(
"The dirs argument of get_template is deprecated.",
RemovedInDjango110Warning, stacklevel=2)
template, origin = self.find_template(template_name, dirs)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
# This method was originally a function defined in django.template.loader.
Variable | Value |
---|---|
dirs | None |
template_name | 'offerta-lavoro.html' |
self | <django.template.engine.Engine object at 0x7efdc0731a50> |
/usr/local/lib/python2.7/site-packages/django/template/engine.py
in find_template
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
if loader.supports_recursion:
try:
template = loader.get_template(
name, template_dirs=dirs, skip=skip,...
)
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
else:
# RemovedInDjango20Warning: Use old api for non-recursive
Variable | Value |
---|---|
dirs | None |
e | TemplateDoesNotExist('offerta-lavoro.html',) |
tried | [] |
skip | None |
self | <django.template.engine.Engine object at 0x7efdc0731a50> |
loader | <django.template.loaders.app_directories.Loader object at 0x7efdc04ec790> |
name | 'offerta-lavoro.html' |
/usr/local/lib/python2.7/site-packages/django/template/loaders/base.py
in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(
contents, origin, origin.template_name, self.engine,...
)
raise TemplateDoesNotExist(template_name, tried=tried)
def load_template(self, template_name, template_dirs=None):
warnings.warn(
Variable | Value |
---|---|
origin | <django.template.base.Origin object at 0x7efdc043cbd0> |
template_dirs | None |
tried | [(<django.template.base.Origin object at 0x7efdc043c290>, 'Source does not exist'), (<django.template.base.Origin object at 0x7efdc043c750>, 'Source does not exist'), (<django.template.base.Origin object at 0x7efdc043c850>, 'Source does not exist'), (<django.template.base.Origin object at 0x7efdc043c6d0>, 'Source does not exist'), (<django.template.base.Origin object at 0x7efdc043c450>, 'Source does not exist'), (<django.template.base.Origin object at 0x7efdc043cd10>, 'Source does not exist')] |
skip | None |
self | <django.template.loaders.app_directories.Loader object at 0x7efdc04ec790> |
args | ['offerta-lavoro.html', None] |
template_name | 'offerta-lavoro.html' |
contents | u'{% extends \'base.html\' %}\n\n{% block canonical %}\n<link rel="canonical" href="https://ctsafe.it/news/collabora-con-noi/{{page.slug}}" />\n{% endblock %}\n\n{% block title %}\n\t{{page.name|truncatechars:40}}\n{% endblock %}\n\n{% block description %}\n\t{{page.intro|truncatechars:155}}\n{% endblock %}\n\n{% block keys %}\n\t{{page.tag}}\n{% endblock %}\n\n{% load crispy_forms_tags %}\n\n{% block content %}\n\n<section id="offerta-lavoro">\n\t<div class="container">\n\t\t<div class="col col-12 breadcrumb">\n\t\t\t<p>\n\t\t\t\t<a href="{% url \'home\' %}">home</a> > <a href="{% url \'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{% url \'fferta-lavoro\' page.slug %}">{{page.name}}</a>\n\t\t\t</p>\n\t\t</div>\n\t\t<div class="main-heading-content">\n <h1 class="text-center">{{page.name}}</h1>\n </div>\n\n <div class="row">\n \t<div class="col col-12 col-md-2">\n \t\t{% load cropping %}\n\t <img src="{% cropped_thumbnail page \'thumb\' %}" class="img-fluid icona">\n \t</div>\n \t<div class="col col-12 col-md-10" style="padding-top: 50px;">\n \t\t<p>Area: {{page.settore}}</p>\n \t\t<p>Ruolo: {{page.ruolo}}</p>\n \t</div>\n \t<div class="col col-12 col-md-12">\n \t\t<p><hr></p>\n\t \t{{page.body|safe}}\n\t \t<p><hr></p>\n\t \t<p class="text-center">\n\t \t\t<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">\n\t \t\t\tCOMPILA MODULO PER INVIO CANDIDATURA\n\t \t\t</button>\n\t \t</p>\n \t</div>\n </div><!-- /row -->\n\n\n\t</div><!-- /container -->\t\n\t<!-- Modal -->\n\t<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">\n\t <div class="modal-dialog" role="document">\n\t <div class="modal-content">\n\t <div class="modal-header">\n\t <h5 class="modal-title" id="exampleModalLabel">CANDIDATURA</h5>\n\t <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n\t <span aria-hidden="true">×</span>\n\t </button>\n\t </div>\n\t <div class="modal-body">\n\t \t<form action="{% url \'send-candidatura\' %}" method="post" enctype="multipart/form-data">{% csrf_token %}\n\t \t\t<input type="hidden" name="offerta" value="{{page.name}}">\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.nome|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.cognome|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.azienda|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.email|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.telefono|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.indirizzo|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.civico|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.cap|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.citta|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.allegato|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col-md-12">\n\t\t\t\t<div class="g-recaptcha" data-sitekey="6LfC2c0UAAAAALzVk02nMbSgjvFlQ0SjiYla0Wo0"></div>\n\t\t\t</div>\n\t \t<br>\n\t \t<button type="submit" class="btn-primary">INVIA</button>\n\t \t</form>\n\t </div>\n\t <!--div class="modal-footer">\n\t <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>\n\t <button type="button" class="btn btn-primary">Save chang... <trimmed 4522 bytes string> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = template_string
self.nodelist = self.compile_nodelist()...
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7efdc0731a50> |
origin | <django.template.base.Origin object at 0x7efdc043cbd0> |
self | <django.template.base.Template object at 0x7efdc043c710> |
name | 'offerta-lavoro.html' |
template_string | u'{% extends \'base.html\' %}\n\n{% block canonical %}\n<link rel="canonical" href="https://ctsafe.it/news/collabora-con-noi/{{page.slug}}" />\n{% endblock %}\n\n{% block title %}\n\t{{page.name|truncatechars:40}}\n{% endblock %}\n\n{% block description %}\n\t{{page.intro|truncatechars:155}}\n{% endblock %}\n\n{% block keys %}\n\t{{page.tag}}\n{% endblock %}\n\n{% load crispy_forms_tags %}\n\n{% block content %}\n\n<section id="offerta-lavoro">\n\t<div class="container">\n\t\t<div class="col col-12 breadcrumb">\n\t\t\t<p>\n\t\t\t\t<a href="{% url \'home\' %}">home</a> > <a href="{% url \'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{% url \'fferta-lavoro\' page.slug %}">{{page.name}}</a>\n\t\t\t</p>\n\t\t</div>\n\t\t<div class="main-heading-content">\n <h1 class="text-center">{{page.name}}</h1>\n </div>\n\n <div class="row">\n \t<div class="col col-12 col-md-2">\n \t\t{% load cropping %}\n\t <img src="{% cropped_thumbnail page \'thumb\' %}" class="img-fluid icona">\n \t</div>\n \t<div class="col col-12 col-md-10" style="padding-top: 50px;">\n \t\t<p>Area: {{page.settore}}</p>\n \t\t<p>Ruolo: {{page.ruolo}}</p>\n \t</div>\n \t<div class="col col-12 col-md-12">\n \t\t<p><hr></p>\n\t \t{{page.body|safe}}\n\t \t<p><hr></p>\n\t \t<p class="text-center">\n\t \t\t<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">\n\t \t\t\tCOMPILA MODULO PER INVIO CANDIDATURA\n\t \t\t</button>\n\t \t</p>\n \t</div>\n </div><!-- /row -->\n\n\n\t</div><!-- /container -->\t\n\t<!-- Modal -->\n\t<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">\n\t <div class="modal-dialog" role="document">\n\t <div class="modal-content">\n\t <div class="modal-header">\n\t <h5 class="modal-title" id="exampleModalLabel">CANDIDATURA</h5>\n\t <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n\t <span aria-hidden="true">×</span>\n\t </button>\n\t </div>\n\t <div class="modal-body">\n\t \t<form action="{% url \'send-candidatura\' %}" method="post" enctype="multipart/form-data">{% csrf_token %}\n\t \t\t<input type="hidden" name="offerta" value="{{page.name}}">\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.nome|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.cognome|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.azienda|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.email|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.telefono|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.indirizzo|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.civico|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.cap|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.citta|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col col-12 col-md-12">\n\t \t\t{{form.allegato|as_crispy_field}}\n\t \t</div>\n\t \t<div class="col-md-12">\n\t\t\t\t<div class="g-recaptcha" data-sitekey="6LfC2c0UAAAAALzVk02nMbSgjvFlQ0SjiYla0Wo0"></div>\n\t\t\t</div>\n\t \t<br>\n\t \t<button type="submit" class="btn-primary">INVIA</button>\n\t \t</form>\n\t </div>\n\t <!--div class="modal-footer">\n\t <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>\n\t <button type="button" class="btn btn-primary">Save chang... <trimmed 4522 bytes string> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()...
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
tokens | [<django.template.base.Token object at 0x7efdba733490>, <django.template.base.Token object at 0x7efdba733c50>, <django.template.base.Token object at 0x7efdba733250>, <django.template.base.Token object at 0x7efdba733b90>, <django.template.base.Token object at 0x7efdba733f10>, <django.template.base.Token object at 0x7efdba733450>, <django.template.base.Token object at 0x7efdba733150>, <django.template.base.Token object at 0x7efdba733a10>, <django.template.base.Token object at 0x7efdba733310>, <django.template.base.Token object at 0x7efdba733a50>, <django.template.base.Token object at 0x7efdba733f50>, <django.template.base.Token object at 0x7efdba733c90>, <django.template.base.Token object at 0x7efdba733c10>, <django.template.base.Token object at 0x7efdba7332d0>, <django.template.base.Token object at 0x7efdba733a90>, <django.template.base.Token object at 0x7efdba733610>, <django.template.base.Token object at 0x7efdba733350>, <django.template.base.Token object at 0x7efdba733750>, <django.template.base.Token object at 0x7efdba733cd0>, <django.template.base.Token object at 0x7efdba733550>, <django.template.base.Token object at 0x7efdba733ad0>, <django.template.base.Token object at 0x7efdba7337d0>, <django.template.base.Token object at 0x7efdba7335d0>, <django.template.base.Token object at 0x7efdba733e90>, <django.template.base.Token object at 0x7efdba733690>, <django.template.base.Token object at 0x7efdba733ed0>, <django.template.base.Token object at 0x7efdba733850>, <django.template.base.Token object at 0x7efdba733290>, <django.template.base.Token object at 0x7efdba733810>, <django.template.base.Token object at 0x7efdba733050>, <django.template.base.Token object at 0x7efdba7336d0>, <django.template.base.Token object at 0x7efdba7334d0>, <django.template.base.Token object at 0x7efdba733410>, <django.template.base.Token object at 0x7efdba733b50>, <django.template.base.Token object at 0x7efdba733bd0>, <django.template.base.Token object at 0x7efdba733210>, <django.template.base.Token object at 0x7efdba733990>, <django.template.base.Token object at 0x7efdba733590>, <django.template.base.Token object at 0x7efdba733950>, <django.template.base.Token object at 0x7efdc03ef690>, <django.template.base.Token object at 0x7efdc03efcd0>, <django.template.base.Token object at 0x7efdc03efd10>, <django.template.base.Token object at 0x7efdc03ef2d0>, <django.template.base.Token object at 0x7efdc03efd50>, <django.template.base.Token object at 0x7efdc03ef9d0>, <django.template.base.Token object at 0x7efdc03ef350>, <django.template.base.Token object at 0x7efdc03efa90>, <django.template.base.Token object at 0x7efdc03ef450>, <django.template.base.Token object at 0x7efdc03efc50>, <django.template.base.Token object at 0x7efdc03ef790>, <django.template.base.Token object at 0x7efdc03ef110>, <django.template.base.Token object at 0x7efdc03ef6d0>] |
self | <django.template.base.Template object at 0x7efdc043c710> |
parser | <django.template.base.Parser object at 0x7efdc043c510> |
e | TemplateSyntaxError(u'Could not parse the remainder: \'}">COLLABORA CON NOI</a> > <a href="{%\' from \'\'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{%\'',) |
lexer | <django.template.base.DebugLexer object at 0x7efdc043cd90> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)...
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
nodelist | [] |
compile_func | <function do_extends at 0x7efdc3d7a758> |
self | <django.template.base.Parser object at 0x7efdc043c510> |
token | <django.template.base.Token object at 0x7efdc043cc10> |
parse_until | [] |
command | u'extends' |
e | TemplateSyntaxError(u'Could not parse the remainder: \'}">COLLABORA CON NOI</a> > <a href="{%\' from \'\'offerte-lavoro\'}">COLLABORA CON NOI</a> > <a href="{%\'',) |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
DB_PORT_3306_TCP_PROTO | 'tcp' |
wsgi.multiprocess | False |
RUN_MAIN | 'true' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.13' |
DB_ENV_GOSU_VERSION | '1.12' |
SCRIPT_NAME | u'' |
DB_PORT | 'tcp://172.17.0.5:3306' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/collabora-con-noi-detail/junior-project-manager' |
PATH | '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
QUERY_STRING | '' |
HOME | '/root' |
PYTHONUNBUFFERED | '1' |
HTTP_X_REAL_IP | '34.228.239.171' |
LANG | 'C.UTF-8' |
HTTP_USER_AGENT | 'claudebot' |
TZ | 'UTC' |
PYTHON_VERSION | '2.7.13' |
SERVER_NAME | 'c4534512cc5a' |
REMOTE_ADDR | '146.59.229.113' |
PYTHON_PIP_VERSION | '9.0.1' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '8000' |
DB_PORT_3306_TCP_PORT | '3306' |
DB_ENV_MYSQL_VERSION | '5.7.33-1debian10' |
CONTENT_LENGTH | '' |
DB_PORT_3306_TCP_ADDR | '172.17.0.5' |
GPG_KEY | 'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF' |
DB_PORT_33060_TCP_PROTO | 'tcp' |
DB_PORT_33060_TCP_ADDR | '172.17.0.5' |
wsgi.input | <socket._fileobject object at 0x7efdba7e9c50> |
DB_NAME | '/ctsafe-django/db' |
DB_PORT_33060_TCP | 'tcp://172.17.0.5:33060' |
wsgi.multithread | True |
HTTP_CONNECTION | 'close' |
DB_ENV_MYSQL_ROOT_PASSWORD | 'Bs19850221*' |
DB_PORT_33060_TCP_PORT | '33060' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '34.228.239.171' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7efdc9f811e0> |
HOSTNAME | 'c4534512cc5a' |
HTTP_X_FORWARDED_HOST | 'ctsafe.it' |
DB_PORT_3306_TCP | 'tcp://172.17.0.5:3306' |
wsgi.run_once | False |
DJANGO_SETTINGS_MODULE | 'djangoproject.settings' |
DB_ENV_MYSQL_MAJOR | '5.7' |
CONTENT_TYPE | 'text/plain' |
HTTP_HOST | 'ctsafe.it' |
wsgi.file_wrapper | '' |
REMOTE_HOST | '' |
djangoproject.settings
Setting | Value |
---|---|
IMAGE_CROPPING_BACKEND_PARAMS | {} |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background') |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'djangoproject.urls' |
MANAGERS | [] |
BASE_DIR | '/code/djangoproject' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/code/djangoproject' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
CONTACT_RECIPIENTS | False |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'db', 'NAME': 'ctsafe-2023', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
TEMPLATE_CONTEXT_PROCESSORS | ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'] |
DEFAULT_CONTENT_TYPE | 'text/html' |
IMAGE_CROPPING_BACKEND | 'image_cropping.backends.easy_thumbs.EasyThumbnailsBackend' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
IMAGE_CROPPING_JQUERY_URL | 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js' |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
WSGI_APPLICATION | 'djangoproject.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
SECURE_BROWSER_XSS_FILTER | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'tinymce', 'easy_thumbnails', 'filer', 'mptt', 'image_cropping', 'crispy_forms', 'sito'] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
USE_L10N | True |
THUMBNAIL_PROGRESSIVE | 100 |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ['/code/djangoproject/static'] |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
LOCALE_PATHS | [] |
TEMPLATE_STRING_IF_INVALID | '' |
THUMBNAIL_HIGH_RESOLUTION | True |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
FIXTURE_DIRS | [] |
EMAIL_HOST | 'ssl0.ovh.net' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/code/djangoproject/media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | [] |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@abacus85.it' |
MEDIA_URL | 'https://ctsafe.it/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | [] |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
THUMBNAIL_QUALITY | 100 |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'sito.views.Globali']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
COMPRESS_ENABLED | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
IMAGE_CROPPING_THUMB_SIZE | (1425, 500) |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django_smtp_ssl.SSLEmailBackend' |
EMAIL_USE_SSL | False |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'djangoproject.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/static/' |
EMAIL_PORT | 465 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
TINYMCE_DEFAULT_CONFIG | {'cleanup_on_startup': True, 'custom_undo_redo_levels': 10, 'height': '1000px', 'plugins': 'table,spellchecker,paste,searchreplace', 'theme': 'advanced', 'width': '1040px'} |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
IMAGE_CROPPING_SIZE_WARNING | True |
EMAIL_HOST_USER | 'webmaster@abacus85.it' |
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.