Unescaped '<' not allowed in attributes values, line 1, column 70 (line 1)
Request Method: | GET |
---|---|
Request URL: | http://new.lessicografia.it/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C |
Django Version: | 1.11.24 |
Exception Type: | XMLSyntaxError |
Exception Value: | Unescaped '<' not allowed in attributes values, line 1, column 70 (line 1) |
Exception Location: | /code/lessicografia/templatetags/lessicografia_extras.py in style_voce, line 54 |
Python Executable: | /usr/local/bin/python |
Python Version: | 2.7.16 |
Python Path: | ['/code', '/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 07:48:07 +0000 |
In template /code/lessicografia/templates/results_content_voce.html
, error at line 63
53 | {% if data.ricerca == "ricerca_voci" %} |
---|---|
54 | |
55 | {% comment %}{% endcomment %} |
56 | {% if data.TipoVisualizzazione == '1' %} |
57 | {{ doc.form_s|style_voce|safe }} |
58 | {% endif %} |
59 | |
60 | {% for contesto in doc.contesti %} |
61 | {% if contesto.contesto != 'form' %} |
62 | <br><br>{{ forloop.counter|default:"1" }}) id: {{ contesto.id }})<br> |
63 | {{ contesto.xml|style_voce:doc.edizione_i|safe }} |
64 | {% endif %} |
65 | {% endfor %} |
66 | |
67 | |
68 | {# CASO DI VISUALIZZAZIONE SOLAMENTE DELLA VOCE INTERA PER LA LETTURA #} |
69 | {% else %} |
70 | {{ doc.content_xml|style_voce:doc.edizione_i|safe }} |
71 | {% endif %} |
72 | |
73 |
/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(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 | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe57c0bdf50>> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
/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 |
---|---|
callback | <function ControllerView at 0x7fe579c9d140> |
callback_args | () |
callback_kwargs | {} |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
resolver | <RegexURLResolver 'cruscle.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=lessicografia.views.ControllerView, args=(), kwargs={}, url_name=Controller, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe57c0bdf50> |
wrapped_callback | <function ControllerView at 0x7fe579c9d140> |
/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 |
---|---|
callback | <function ControllerView at 0x7fe579c9d140> |
callback_args | () |
callback_kwargs | {} |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
resolver | <RegexURLResolver 'cruscle.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=lessicografia.views.ControllerView, args=(), kwargs={}, url_name=Controller, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe57c0bdf50> |
wrapped_callback | <function ControllerView at 0x7fe579c9d140> |
/usr/local/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'lessicografia.views.ControllerView'> |
initkwargs | {} |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
self | <lessicografia.views.ControllerView object at 0x7fe54c4c8d50> |
/usr/local/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method ControllerView.get of <lessicografia.views.ControllerView object at 0x7fe54c4c8d50>> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
self | <lessicografia.views.ControllerView object at 0x7fe54c4c8d50> |
/code/lessicografia/views.py
in get
context = {
'lemma':'Accettare',
'page':'Risultati ricerca',
'data': se.results
}
return render(request, se.template, context)...
# Add this view
class RicercaAvanzataView(TemplateView):
Variable | Value |
---|---|
context | {u'data': {'TipoOrdinamento': 1, 'TipoRicerca': '0', 'TipoRicercaDettaglio': None, 'TipoVisualizzazione': 1, 'crono': '519', 'docs_ext': [{u'_version_': 1712144727181099013, u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'first_letter_s': u'l', u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'index_i': 113859, u'pagina_s': u'304', u'score': 5.9069715, u'sezione_s': u'2', u'volume_i': 1}, {u'_version_': 1712144639162580997, u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'first_letter_s': u'l', u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'index_i': 89789, u'pagina_s': u'621', u'score': 5.4052763, ... <trimmed 98148 bytes string> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
res | None |
se | <lessicografia.search.search_engine.search_engine object at 0x7fe54c4c8e50> |
self | <lessicografia.views.ControllerView object at 0x7fe54c4c8d50> |
/usr/local/lib/python2.7/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, **kwargs):
"""
Returns an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {u'data': {'TipoOrdinamento': 1, 'TipoRicerca': '0', 'TipoRicercaDettaglio': None, 'TipoVisualizzazione': 1, 'crono': '519', 'docs_ext': [{u'_version_': 1712144727181099013, u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'first_letter_s': u'l', u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'index_i': 113859, u'pagina_s': u'304', u'score': 5.9069715, u'sezione_s': u'2', u'volume_i': 1}, {u'_version_': 1712144639162580997, u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'first_letter_s': u'l', u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'index_i': 89789, u'pagina_s': u'621', u'score': 5.4052763, ... <trimmed 98148 bytes string> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
status | None |
template_name | 'results_voci.html' |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {u'data': {'TipoOrdinamento': 1, 'TipoRicerca': '0', 'TipoRicercaDettaglio': None, 'TipoVisualizzazione': 1, 'crono': '519', 'docs_ext': [{u'_version_': 1712144727181099013, u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'first_letter_s': u'l', u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'index_i': 113859, u'pagina_s': u'304', u'score': 5.9069715, u'sezione_s': u'2', u'volume_i': 1}, {u'_version_': 1712144639162580997, u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'first_letter_s': u'l', u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'index_i': 89789, u'pagina_s': u'621', u'score': 5.4052763, ... <trimmed 98148 bytes string> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
template | <django.template.backends.django.Template object at 0x7fe578a8f590> |
template_name | 'results_voci.html' |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
request | <WSGIRequest: GET '/Controller/?EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C'> |
self | <django.template.backends.django.Template object at 0x7fe578a8f590> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <django.template.base.Template object at 0x7fe4f07aa050> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <django.template.base.Template object at 0x7fe4f07aa050> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <ExtendsNode: extends "layout.html"> |
self | [<ExtendsNode: extends "layout.html">] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <ExtendsNode: extends "layout.html"> |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7fe578da19d0> |
blocks | {u'content': <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]>, u'js': <Block Node: js. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7fe579263850> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fe4f046a110> |
self | <ExtendsNode: extends "layout.html"> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <django.template.base.Template object at 0x7fe579263850> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'" class="p-0 mb-0">\n <input name="SettImpostazioni" value="LancioRicerca" type="hidden" />\n <input type="hidden" name="maxresults" value="50" />\n <input name="TipoOrdinamento" type="hidden" value="1" />\n <input type="hidden" value="0" name="TipoRicerca" id="TipoRicerca0" />\n <div class="input-group">\n <input type="text" name="q1" class="form-control" placeholder="Cerca in tutte le edizioni" style="height:40px !important" />\n <div class="input-group-append">\n <button type="submit" id="ElencoFormeON" class="btn btn-primary"><i class="fa fa-search"></i></button>\n </div>\n </div>\n <input name="EdCrusca1" type="hidden" value="1" />\n <input name="EdCrusca2" type="hidden" value="1" />\n <input name="EdCrusca3" type="hidden" value="1" />\n <input name="EdCrusca4" type="hidden" value="1" />\n <input name="EdCrusca5" type="hidden" value="1" />\n <input name="Integrazioni" type="hidden" value="1" />\n <input type="hidden" name="submit" value="Visualizza elenco forme" />\n </form>\n </div>\n <div style="clear:both"></div>\n </nav>\n </div>\n </div>\n </header>\n </div>\n ' |
bits | [u'\ufeff', u'', u'\n<html>\n<head>\n <title>\n Vocabolario degli Accademici della Crusca - Lessicografia della crusca in rete, Accademia della Crusca, Firenze\n </title>\n <meta Name="Description" Content="Vocabolario degli Accademici della Crusca - Lessicografia della crusca in rete, Accademia della Crusca, Firenze" />\n <meta Name="keywords" Content="Vocabolario, dizionario, italiano, accademia della crusca, crusca, lessicografia" />\n <meta charset="utf-8" />\n <meta name="Author" content="Progettinrete [www.progettinrete.com]" />\n\n <!-- mobile settings -->\n <meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />\n <!--[if IE]><meta http-equiv=\'X-UA-Compatible\' content=\'IE=edge,chrome=1\'><![endif]-->\n <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700" rel="stylesheet" type="text/css" />\n <link href="https://fonts.googleapis.com/css?family=Titillium+Web&display=swap" rel="stylesheet" />\n <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous" />\n\n <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />\n\n <link href="', u'/static/', u'assets/css/essentials.css" rel="stylesheet" />\n <link href="', u'/static/', u'assets/css/layout.css" rel="stylesheet" />\n <link href="', u'/static/', u'assets/css/header-1.css" rel="stylesheet" type="text/css" />\n <link href="', u'/static/', u'assets/css/color_scheme/brown.css" rel="stylesheet" type="text/css" id="color_scheme" />\n <link href="', u'/static/', u'assets/css/custom.css" rel="stylesheet" type="text/css" />\n <link href="', u'/static/', u'assets/css/stiliTabella.css" rel="stylesheet" />\n <link href="', u'/static/', u'assets/css/stiliCrusca.css" rel="stylesheet" />\n <link href="', u'/static/', u'assets/css/StileRisultati.css" rel="stylesheet" />\n <script src="https://code.jquery.com/jquery-3.4.1.min.js"\n integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="\n crossorigin="anonymous">\n </script>\n</head>\n<body class="fullwidth">\n <!-- INIZIO TESTATA -->\n <div id="wrapper">\n <div id="topBar" class="no-print">\n <div class="container">\n <ul class="top-links list-inline pull-right">\n <li><a href="http://www.accademiadellacrusca.it" target="_blank">ACCADEMIA DELLA CRUSCA</a></li>\n </ul>\n </div>\n <div class="border-top block clearfix">\n <div class="container">\n ', u'', u'\n\n <div class="row">\n <div class="col-md-12">\n <h2 class="nopadding mt-20 mb-20 letter-spacing-1 font-raleway">Lessicografia della Crusca in rete</h2>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- TOP NAV -->\n <div id="header" class="navbar-toggleable-md sticky header-sm clearfix">\n <header id="topNav">\n <div class="container">\n <!-- Mobile Menu Button -->\n <button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">\n <i class="fa fa-bars"></i>\n </button>\n <div class="navbar-collapse collapse nav-main-collapse" style="width:100%">\n <nav class="nav-main">\n <ul id="topMain" class="nav nav-pills nav-main float-left has-topBar">\n <li>\n <a class="oswa... <trimmed 10516 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]> |
self | [<TextNode: u'\ufeff'>, <django.template.defaulttags.LoadNode object at 0x7fe4f046a110>, <TextNode: u'\n<html>\n<head>\n <title'>, <django.templatetags.static.StaticNode object at 0x7fe4f046ab10>, <TextNode: u'assets/css/essentials.css'>, <django.templatetags.static.StaticNode object at 0x7fe4f046a890>, <TextNode: u'assets/css/layout.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe4f046ac50>, <TextNode: u'assets/css/header-1.css" '>, <django.templatetags.static.StaticNode object at 0x7fe4f046afd0>, <TextNode: u'assets/css/color_scheme/b'>, <django.templatetags.static.StaticNode object at 0x7fe54c0ec7d0>, <TextNode: u'assets/css/custom.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe54c0ec150>, <TextNode: u'assets/css/stiliTabella.c'>, <django.templatetags.static.StaticNode object at 0x7fe54c0ecf10>, <TextNode: u'assets/css/stiliCrusca.cs'>, <django.templatetags.static.StaticNode object at 0x7fe54c0ecdd0>, <TextNode: u'assets/css/StileRisultati'>, <django.template.defaulttags.CommentNode object at 0x7fe579263450>, <TextNode: u'\n\n <di'>, <django.template.defaulttags.URLNode object at 0x7fe54c0ecf50>, <TextNode: u'">Visualizzazione immagin'>, <django.template.defaulttags.URLNode object at 0x7fe54c0ec750>, <TextNode: u'">Visualizzazione testi</'>, <django.template.defaulttags.URLNode object at 0x7fe54c0ecc90>, <TextNode: u'criteri">\n '>, <django.template.defaulttags.URLNode object at 0x7fe54c0ec650>, <TextNode: u'motore">\n '>, <django.template.defaulttags.URLNode object at 0x7fe54c0eca90>, <TextNode: u'">Ricerca libera</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe54c0ecd50>, <TextNode: u'">Ricerca avanzata</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe54c0ece10>, <TextNode: u'">Ricerca esperta</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe54c0ec110>, <TextNode: u'ricerca_immagini">Ricerca'>, <django.template.defaulttags.URLNode object at 0x7fe54c0ece50>, <TextNode: u'">Ricerca dei contesti</a'>, <django.template.defaulttags.URLNode object at 0x7fe54c0ec890>, <TextNode: u'?cmd=resetall">Ricerca de'>, <django.template.defaulttags.URLNode object at 0x7fe54c0eca10>, <TextNode: u'">Ricerca per indici</a>\n'>, <django.template.defaulttags.URLNode object at 0x7fe5799d6ad0>, <TextNode: u'crediti">\n '>, <django.template.defaulttags.URLNode object at 0x7fe5799d6590>, <TextNode: u'" class="p-0 mb-0">\n '>, <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]>, <TextNode: u'\n <!-- FOOTER -->\n'>, <django.templatetags.static.StaticNode object at 0x7fe5104d4490>, <TextNode: u'assets/js/scripts.js"></s'>, <django.templatetags.static.StaticNode object at 0x7fe579bc8e10>, <TextNode: u'assets/js/app.js"></scrip'>, <Block Node: js. Contents: []>, <TextNode: u'\n\n <!-- CODE -->\n <'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]> |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: u'\n<section class="page-hea'>, <IfNode>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe578da1b10>, <TextNode: u'\n\n\n '>, <For Node: for doc in data.docs_ext, tail_len: 3>, <TextNode: u'\n\n '>, <Variable Node: data.pagination|safe>, <TextNode: u'\n '>, <Variable Node: data.start>, <TextNode: u'</u> a <u>'>, <Variable Node: data.end>, <TextNode: u'</u> di '>, <Variable Node: data.total>, <TextNode: u'</span><br>\n\n '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fe578da19d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
push | <Block Node: content. Contents: [<TextNode: u'\n<section class="page-hea'>, <IfNode>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe578da1b10>, <TextNode: u'\n\n\n '>, <For Node: for doc in data.docs_ext, tail_len: 3>, <TextNode: u'\n\n '>, <Variable Node: data.pagination|safe>, <TextNode: u'\n '>, <Variable Node: data.start>, <TextNode: u'</u> a <u>'>, <Variable Node: data.end>, <TextNode: u'</u> di '>, <Variable Node: data.total>, <TextNode: u'</span><br>\n\n '>]> |
self | <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n\n <div id="results">\n ' |
bits | [u'\n<section class="page-header page-header-xs">\n <div class="container">\n <h1>Risultati della ricerca</h1>\n <ol class="breadcrumb">\n <li><a href="/">Pagina d'entrata</a></li>\n <li> Ricerca</li>\n <li><a href="#"> Ricerca libera</a></li>\n <li>Risultati della ricerca</li>\n </ol>\n </div>\n</section>\n<section class="p-20">\n <div class="container">\n <div class="row">\n <div class="col-md-12">\n <!-- INIZIO CORPO DELLA PAGINA SPALLASX + AREA DINAMICA -->\n <div id="corpo_ris">\n <div align="center">\n\n ', u'\n\n \n<div id="sommario">\n \n <p><b>Query: </b><span class="orth2">+None</span> - <B>Tempo di Ricerca</B>: 519 msec - Sono state trovate <B>414</B> voci</p>\n\n <p>La ricerca è stata rilevata in <strong>917</strong> forme, per un totale di <strong>503</strong> occorrenze</p>\n <div class="table-responsive">\n <table class="table">\n <tr class="EdizTabRapporto">\n \n <td colspan="2" class="Ed1">1° Edizione</td>\n \n </tr>\n <tr>\n \n \n <td class="Ed1B" title="{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1} 1° Edizione">Diz</td>\n \n <td class="Ed1C" title="{'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1} 1° Edizione">Giu.</td>\n \n \n <td colspan="2" class="tot" title="Occorrenze Totali">totali</td>\n </tr>\n <tr>\n\n \n\n \n\n\n <td class="Ed1_R1"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&EdCrusca1=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">917</a></td>\n \n\n\n <td class="Ed1_R1"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&Giunte1=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">0</a></td>\n \n\n \n <td class="tot_R1">917</td>\n <td class="tot_R1" align="left">forme</td>\n </tr>\n\n\n <tr>\n \n\n\n \n <td class="Ed1_R2"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&EdCrusca1=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">503</a></td>\n \n <td class="Ed1_R2"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&Giunte1=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">0</a></td>\n \n \n\n\n <td class="tot_R2">503</td>\n\n <td class="tot_R2" align="left">occorrenze</td>\n </tr>\n </table>\n </div>\n</div>\n\n\n\n ', u'\n\n ', u'\n\n\n\n\t\t<form name="search" action="/Controller/" method="get">\n\t\t\n\n\t\t<div class="ordinamento">\n\n\t\t\t\n\t\t\t<input type="hidden" name="EdCrusca1" value="1" />\n\t\t\t\n\t\t\t<input type="hidden" name="Giunte1" value="1" />\n\t\t\t\n\t\t\t<input type="hidden" name="qr" value="|||Lorenz. Med.|" />\n\t\t\t\n\t\t\t<input type="hidden" name="ricerca" value="ricer... <trimmed 5105 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <For Node: for doc in data.docs_ext, tail_len: 3> |
self | [<TextNode: u'\n<section class="page-hea'>, <IfNode>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe578da1b10>, <TextNode: u'\n\n\n '>, <For Node: for doc in data.docs_ext, tail_len: 3>, <TextNode: u'\n\n '>, <Variable Node: data.pagination|safe>, <TextNode: u'\n '>, <Variable Node: data.start>, <TextNode: u'</u> a <u>'>, <Variable Node: data.end>, <TextNode: u'</u> di '>, <Variable Node: data.total>, <TextNode: u'</span><br>\n\n '>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <For Node: for doc in data.docs_ext, tail_len: 3> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
i | 2 |
item | {u'_version_': 1712144788197736448, u'content_plain_txt_ac': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_plain_txt_cs': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_plain_txt_s': u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. ', u'content_plain_txt_st': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_type_s': u'contesto', u'content_xml': [u'<def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="Lorenz. Med. Nencia."><ref>Lorenz$. Med$. nella sua\nNencia</ref></abbr>. </def>'], u'content_xml_txt_lemma': [u'<def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="Lorenz. Med. Nencia."><ref>Lorenz$. Med$. nella sua\nNencia</ref></abbr>. </def>'], 'contesti': [{'contesto': u'def', 'id': u'68af28170e064c28825e19828c4e7d9e', 'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'68af28170e064c28825e19828c4e7d9e'], 'contesti_to_display_ids': [u'68af28170e064c28825e19828c4e7d9e'], u'contesto_s': u'def', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'dbd7bf5d0a154a5c86ddcfcbc9515eb7', u'first_letter_s': u'e', u'form_s': u'<form><orth>SVEGLIA</orth><testo>. </testo></form>', u'id': u'68af28170e064c28825e19828c4e7d9e', u'index_i': 129368, u'pagina_s': u'863', u'score': 4.982131, u'sezione_s': u'2', u'volume_i': 1} |
len_values | 20 |
loop_dict | {u'counter': 3, u'counter0': 2, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 18, u'revcounter0': 17} |
node | <django.template.loader_tags.IncludeNode object at 0x7fe578da18d0> |
nodelist | [u'\n\n ', u'\n\n\t\t\t<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: 20px;">\n\t\t\t\t<tr>\n\t\t\t\t\t<td width="200" align="right" valign="top">\n\t\t\t\t\t\t1)\n\t\t\t\t\t\t<span class="Edizione"> Dizion. 1° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="/Controller/?entry_id=4d1797f5bd054cd29bfbf35755e9324a" target="_blank" class="t voce0">DOTTA<br>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<span class="ApriVoce">\n\t\t\t\t\t\tApri Voce completa\n\t\t\t\t\t\t</span></a><br>\n\n\t\t\t\t\t\t<a href="/pagina/?ediz=1&vol=1&pag=304&sez=2" class="h" title="Apri Immagine Pagina" target="blank">pag.304</a><br><br>\n\t\t\t\t\t\t\n\t\t\t\t\t</td>\n\t\t\t\t\t<td width="50" valign="top"></td>\n\t\t\t\t\t<td width="700" valign="top">\n\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<br><br>1) id: 52b8f0f0bc3f408c951ffd084d5308c6)<br>\n\t\t\t\t\t\t\t\t\t<div xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes" class="EVIDENZCONTESTO">\n <table border="0" cellpadding="0" cellspacing="1" class="base">\n <tbody>\n <tr valign="top">\n <td class="TitEsemp" width="65"> Esempio: </td>\n <td class="esempio"><span class="abbr" title="Abbreviazione Bibliografica [parte mobile]"><span title="Abbreviazione bibliografica [parte fissa]"><a href=" /ref?psearch=Lorenz. Med. " class="g"><span class="Evidenz1">Lorenz</span>. <span class="Evidenz1">Med</span>. </a></span></span> Noi rimetterem le dotte. </td>\n </tr>\n </tbody>\n </table>\n</div>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n', u'\n\n ', u'\n\n ', u'\n\n\t\t\t<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: 20px;">\n\t\t\t\t<tr>\n\t\t\t\t\t<td width="200" align="right" valign="top">\n\t\t\t\t\t\t2)\n\t\t\t\t\t\t<span class="Edizione"> Dizion. 1° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="/Controller/?entry_id=91fd48493938409da8fffb70c798ddce" target="_blank" class="t voce0">PIACERE<br>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<span class="ApriVoce">\n\t\t\t\t\t\tApri Voce completa\n\t\t\t\t\t\t</span></a><br>\n\n\t\t\t\t\t\t<a href="/pagina/?ediz=1&vol=1&pag=621&sez=2" class="h" title="Apri Immagine Pagina" target="blank">pag.621</a><br><br>\n\t\t\t\t\t\t\n\t\t\t\t\t</td>\n\t\t\t\t\t<td width="50" valign="top"></td>\n\t\t\t\t\t<td width="700" valign="top">\n\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<br><br>1) id: 5c521bcd812c4f0c8aeaf393c70c4d2d)<br>\n\t\t\t\t\t\t\t\t\t<div xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes" class="EVIDENZCONTESTO">\n <table border="0" cellpadding="0" cellspacing="1" class="base">\n <tbody>\n <tr valign="top">\n <td class="TitEsemp" width="65"> Esempio: </td>\n <td class="esempio"><span class="abbr" title="Abbreviazione Bibliografica [parte mobile]"><span title="Abbreviazione bibliografica [parte fissa]"><a href=" /ref?psearch=Lorenz. Med. canz." class="g"><span class="Evidenz1">Lorenz</span>. <span class="Evidenz1">Med</span>. canz.</a></span></span> Alle Donne molto garba. </td>\n </tr>\n </tbody>\n </table>\n</div>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n', u'\n\n ', u'\n\n '] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <For Node: for doc in data.docs_ext, tail_len: 3> |
unpack | False |
values | [{u'_version_': 1712144727181099013, u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'first_letter_s': u'l', u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'index_i': 113859, u'pagina_s': u'304', u'score': 5.9069715, u'sezione_s': u'2', u'volume_i': 1}, {u'_version_': 1712144639162580997, u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'contesto_s': u'eg', u'edizione_i': 1, u'edizione_sezione_s': u'1_2', u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'first_letter_s': u'l', u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'index_i': 89789, u'pagina_s': u'621', u'score': 5.4052763, u'sezione_s': u'2', u'volume_i': 1}, {u'_version_': 1712144788197736448, u'content_plain_txt_ac': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_plain_txt_cs': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_plain_txt_s': u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. ', u'content_plain_txt_st': [u'E SVEGLIONE, disse Lorenz$. Med$. nella sua\nNencia. '], u'content_type_s': u'contesto', u'content_xml': [u'<def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="Lorenz. Med. Nencia."><ref>Lorenz$. Med$. nella sua\nNencia</ref></abbr>. </def>'], u'content_xml_txt_lemma': [u'<def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="Lorenz. Med. Nencia."><ref>Lorenz$. Med$. nella sua\nNencia</ref></abbr>. </def>'], 'contesti': [{'contesto': u'def', 'id': u'68af28170e064c28825e19828c4e7d9e', 'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'68af28170e064c28825e19828c4e7d9e'], 'contesti_to_display_ids': [u'68af28170e064c28825e19828c4e7d9e'], u... <trimmed 32636 bytes string> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe578da18d0> |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in six.iteritems(self.extra_context)
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)...
except Exception as e:
if context.template.engine.debug:
raise
template_name = getattr(context, 'template_name', None) or 'unknown'
warnings.warn(
"Rendering {%% include '%s' %%} raised %s. In Django 2.1, "
Variable | Value |
---|---|
cache | {u'results_content_voce.html': <django.template.base.Template object at 0x7fe57989c910>} |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe578da18d0> |
template | <django.template.base.Template object at 0x7fe57989c910> |
template_name | u'results_content_voce.html' |
values | {} |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)
else:
return self._render(context)...
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
is True and an exception occurs during parsing, the exception is
is annotated with contextual line information where it occurred in the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <django.template.base.Template object at 0x7fe57989c910> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <django.template.base.Template object at 0x7fe57989c910> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\t\t\t\t\t\t' |
bits | [u'', u'\n\n\t\t\t<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: 20px;">\n\t\t\t\t<tr>\n\t\t\t\t\t<td width="200" align="right" valign="top">\n\t\t\t\t\t\t', u'3', u')\n\t\t\t\t\t\t<span class="Edizione"> ', u'Dizion', u'. ', u'1', u'° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="', u'/Controller/', u'?entry_id=', u'dbd7bf5d0a154a5c86ddcfcbc9515eb7', u'" target="_blank" class="t voce0">', u'SVEGLIA. <br>\n\t\t\t\t\t\t', u'\n\t\t\t\t\t\t<span class="ApriVoce">\n\t\t\t\t\t\tApri Voce completa\n\t\t\t\t\t\t</span></a><br>\n\n\t\t\t\t\t\t<a href="', u'/pagina/', u'?ediz=', u'1', u'&vol=', u'1', u'&pag=', u'863', u'&sez=', u'2', u'" class="h" title="Apri Immagine Pagina" target="blank">pag.', u'863', u'</a><br><br>\n\t\t\t\t\t\t', u'', u'\n\t\t\t\t\t</td>\n\t\t\t\t\t<td width="50" valign="top"></td>\n\t\t\t\t\t<td width="700" valign="top">\n\n\n\t\t\t\t\t\t', u'\n\t\t\t\t\t\t'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe54c07a950>, <TextNode: u'\n\n\t\t\t<table border="0" al'>, <Variable Node: forloop.counter0|default:"0"|add:data.start>, <TextNode: u')\n\t\t\t\t\t\t<span class="Ediz'>, <Variable Node: doc.sezione_s|sezione_to_label>, <TextNode: u'. '>, <Variable Node: doc.edizione_i>, <TextNode: u'° Ed.</span> .<br>\n\n\t'>, <django.template.defaulttags.URLNode object at 0x7fe54c07a050>, <TextNode: u'?entry_id='>, <Variable Node: doc.entry_id_s>, <TextNode: u'" target="_blank" class="'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t<span class="ApriV'>, <django.template.defaulttags.URLNode object at 0x7fe54c2f6a90>, <TextNode: u'?ediz='>, <Variable Node: doc.edizione_i>, <TextNode: u'&vol='>, <Variable Node: doc.volume_i>, <TextNode: u'&pag='>, <Variable Node: doc.pagina_s>, <TextNode: u'&sez='>, <Variable Node: doc.sezione_s>, <TextNode: u'" class="h" title="Apri I'>, <Variable Node: doc.pagina_s>, <TextNode: u'</a><br><br>\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t</td>\n\t\t\t\t\t<td widt'>, <TextNode: u'\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\n\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (== (literal <django.template.base.FilterExpression object at 0x7fe5345dac50>) (literal <django.template.base.FilterExpression object at 0x7fe5345da410>)) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
match | True |
nodelist | [<TextNode: u'\n\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.CommentNode object at 0x7fe54c07ac50>, <TextNode: u'\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t\t\t'>, <For Node: for contesto in doc.contesti, tail_len: 3>, <TextNode: u'\n\n\n\t\t\t\t\t\t'>, <TextNode: u'\n\t\t\t\t\t\t'>] |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n\t\t\t\t\t\t\t' |
bits | [u'\n\n\t\t\t\t\t\t\t', u'', u'\n\t\t\t\t\t\t\t', u'', u'\n\n\t\t\t\t\t\t\t'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <For Node: for contesto in doc.contesti, tail_len: 3> |
self | [<TextNode: u'\n\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.CommentNode object at 0x7fe54c07ac50>, <TextNode: u'\n\t\t\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t\t\t'>, <For Node: for contesto in doc.contesti, tail_len: 3>, <TextNode: u'\n\n\n\t\t\t\t\t\t'>, <TextNode: u'\n\t\t\t\t\t\t'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <For Node: for contesto in doc.contesti, tail_len: 3> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
i | 0 |
item | {'contesto': u'def', 'id': u'68af28170e064c28825e19828c4e7d9e', 'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'} |
len_values | 1 |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': True, u'parentloop': {u'counter': 3, u'counter0': 2, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 18, u'revcounter0': 17}, u'revcounter': 1, u'revcounter0': 0} |
node | <IfNode> |
nodelist | [u'\n\t\t\t\t\t\t\t\t\t'] |
num_loopvars | 1 |
parentloop | {u'counter': 3, u'counter0': 2, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 18, u'revcounter0': 17} |
pop_context | False |
self | <For Node: for contesto in doc.contesti, tail_len: 3> |
unpack | False |
values | [{'contesto': u'def', 'id': u'68af28170e064c28825e19828c4e7d9e', 'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (!= (literal <django.template.base.FilterExpression object at 0x7fe5345dac90>) (literal <django.template.base.FilterExpression object at 0x7fe5345dae90>)) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
match | True |
nodelist | [<TextNode: u'\n\t\t\t\t\t\t\t\t\t<br><br>'>, <Variable Node: forloop.counter|default:"1">, <TextNode: u') id: '>, <Variable Node: contesto.id>, <TextNode: u')<br>\n\t\t\t\t\t\t\t\t\t'>, <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe>, <TextNode: u'\n\t\t\t\t\t\t\t\t\t'>] |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u')<br>\n\t\t\t\t\t\t\t\t\t' |
bits | [u'\n\t\t\t\t\t\t\t\t\t<br><br>', u'1', u') id: ', u'68af28170e064c28825e19828c4e7d9e', u')<br>\n\t\t\t\t\t\t\t\t\t'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
node | <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe> |
self | [<TextNode: u'\n\t\t\t\t\t\t\t\t\t<br><br>'>, <Variable Node: forloop.counter|default:"1">, <TextNode: u') id: '>, <Variable Node: contesto.id>, <TextNode: u')<br>\n\t\t\t\t\t\t\t\t\t'>, <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe>, <TextNode: u'\n\t\t\t\t\t\t\t\t\t'>] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
e | XMLSyntaxError(u"Unescaped '<' not allowed in attributes values, line 1, column 70",) |
self | <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
self | <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in resolve
else:
arg_vals.append(arg.resolve(context))
if getattr(func, 'expects_localtime', False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
with warnings.catch_warnings():
# Ignore mark_for_escaping deprecation as this will be
# removed in Django 2.0.
Variable | Value |
---|---|
arg | <Variable: u'doc.edizione_i'> |
arg_vals | [1] |
args | [(True, <Variable: u'doc.edizione_i'>)] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {u'lemma': u'Accettare', u'data': {'intestazione_forme': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 917, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '1_2', 'class': 'B', 'edizione': 1}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '1_3', 'class': 'C', 'edizione': 1}], 'num': '1', 'col': 2}], 'query': None, 'total': 414, 'end': 20, 'TipoRicerca': '0', 'paginazioni_disponibili': [10, 20, 30, 50, 100, 200], 'start': 1, 'intestazione_occorrenze': {u'3_1': 0, u'3_3': 0, u'3_2': 0, u'2_1': 0, u'2_2': 0, u'2_3': 0, u'5_2': 0, u'1_3': 0, u'1_2': 503, u'1_1': 0, u'4_2': 0, u'4_3': 0, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '519', 'request_base_resorting': <QueryDict: {u'EdCrusca1': [u'1'], u'Giunte1': [u'1'], u'qr': [u'|||Lorenz. Med.|'], u'ricerca': [u'ricerca_voci']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 917, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. </ref></abbr> Noi rimetterem le dotte. </quote></eg></EVIDENZCONTESTO>', 'id': u'52b8f0f0bc3f408c951ffd084d5308c6', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. Noi rimetterem le dotte. '], u'entry_id_s': u'4d1797f5bd054cd29bfbf35755e9324a', u'id': u'52b8f0f0bc3f408c951ffd084d5308c6', u'sezione_s': u'2', u'pagina_s': u'304', u'edizione_sezione_s': u'1_2', u'score': 5.9069715, u'volume_i': 1, u'index_i': 113859, 'contesti_to_display_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'_version_': 1712144727181099013, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. Noi rimetterem le dotte. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. </ref></abbr> Noi rimetterem le dotte. </quote></eg>'], 'contesti_match_ids': [u'52b8f0f0bc3f408c951ffd084d5308c6'], u'form_s': u'<form><orth>DOTTA</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. Noi rimetterem le dotte. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg></EVIDENZCONTESTO>', 'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'content_plain_txt_cs': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. '], u'entry_id_s': u'91fd48493938409da8fffb70c798ddce', u'id': u'5c521bcd812c4f0c8aeaf393c70c4d2d', u'sezione_s': u'2', u'pagina_s': u'621', u'edizione_sezione_s': u'1_2', u'score': 5.4052763, u'volume_i': 1, u'index_i': 89789, 'contesti_to_display_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'_version_': 1712144639162580997, u'edizione_i': 1, u'content_type_s': u'contesto', u'first_letter_s': u'l', u'content_plain_txt_s': u'Lorenz$. Med$. canz$. Alle Donne molto garba. ', u'content_xml': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Lorenz$. Med$. canz$.</ref></abbr> Alle Donne molto garba. </quote></eg>'], 'contesti_match_ids': [u'5c521bcd812c4f0c8aeaf393c70c4d2d'], u'form_s': u'<form><orth>PIACERE</orth><testo>.</testo></form>', u'content_plain_txt_st': [u'Lorenz$. Med$. canz$. Alle Donne molto garba. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>'... <trimmed 64071 bytes string> |
escape_isnt_last_filter | True |
func | <function style_voce at 0x7fe579c52398> |
ignore_failures | False |
lookup | True |
obj | u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>' |
self | <django.template.base.FilterExpression object at 0x7fe578af8890> |
/code/lessicografia/templatetags/lessicografia_extras.py
in style_voce
return ""
print "xml"
print sanitize_string(xml)
#if not type(xml) is string:
# return ""
dom = ET.fromstring(xml)...
xslt = ET.parse(settings.VOCE_XLS_1)
transform = ET.XSLT(xslt)
newdom = transform(dom)
res = ET.tostring(newdom, pretty_print=True)
Variable | Value |
---|---|
ediz | 1 |
xml | u'<EVIDENZCONTESTO><def>E <oVar>SVEGLIONE</oVar>, disse <abbr truerif="<Evidenz1>Lorenz</Evidenz1>. <Evidenz1>Med</Evidenz1>. Nencia."><ref><Evidenz1>Lorenz</Evidenz1>$. <Evidenz1>Med</Evidenz1>$. nella sua\nNencia</ref></abbr>. </def></EVIDENZCONTESTO>' |
AnonymousUser
Variable | Value |
---|---|
EdCrusca1 | u'1' |
Giunte1 | u'1' |
qr | u'|||Lorenz. Med.|' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | 'text/plain' |
DJANGO_SETTINGS_MODULE | 'cruscle.settings' |
GATEWAY_INTERFACE | 'CGI/1.1' |
GPG_KEY | 'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF' |
HOME | '/root' |
HOSTNAME | 'e802162526b4' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'new.lessicografia.it' |
HTTP_USER_AGENT | 'claudebot' |
LANG | 'C.UTF-8' |
PATH | '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
PATH_INFO | u'/Controller/' |
PWD | '/code' |
PYTHONIOENCODING | 'UTF-8' |
PYTHONUNBUFFERED | '1' |
PYTHON_GET_PIP_SHA256 | '57e3643ff19f018f8a00dfaa6b7e4620e3c1a7a2171fd218425366ec006b3bfe' |
PYTHON_GET_PIP_URL | 'https://github.com/pypa/get-pip/raw/309a56c5fd94bd1134053a541cb4657a4e47e09d/get-pip.py' |
PYTHON_PIP_VERSION | '19.2.3' |
PYTHON_VERSION | '2.7.16' |
QUERY_STRING | 'EdCrusca1=1&Giunte1=1&qr=%7C%7C%7CLorenz.+Med.%7C' |
REMOTE_ADDR | '3.231.222.84' |
REMOTE_HOST | '' |
REQUEST_METHOD | 'GET' |
RUN_MAIN | 'true' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'e802162526b4' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.16' |
SHLVL | '1' |
TZ | 'UTC' |
_ | '/usr/local/bin/python' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7fe57d2d11e0> |
wsgi.file_wrapper | '' |
wsgi.input | <socket._fileobject object at 0x7fe579815ad0> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
cruscle.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('admin', 'admin@mysite.com'),) |
ADMIN_INITIAL_PASSWORD | u'********************' |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/code' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'db', 'NAME': 'crusca', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'crusca'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_PAGING | 20 |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
IMG_URL | '/img/' |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'lessicografia'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOGS_PATH | '/xml/logs/' |
LOG_ON_FILE | False |
MANAGERS | [] |
MAX_EVENTS_INSERTS_SOLR | 5000 |
MAX_ITEMS_CONVERTED | 50000 |
MEDIA_ROOT | u'' |
MEDIA_URL | u'' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PAGE_OCCORRENZE | 20 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
RICERCA_LEMMA_ENABLED | True |
ROOT_URLCONF | 'cruscle.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'cruscle.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SOLR_CONN_HOST | 'solr' |
SOLR_CONN_PORT | '8983' |
SOLR_ISTANCE | 'solr/mycore' |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_IMG_ROOT | '/xml/img/' |
STATIC_IMG_URL | '/img/' |
STATIC_ROOT | '/web/lessicografia/static/' |
STATIC_ROOT1 | 'lessicografia/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VOCE_XLS_1 | 'lessicografia/static/xsl/voceStile1.xsl' |
VOCE_XLS_2 | 'lessicografia/static/xsl/voceStile2.xsl' |
WSGI_APPLICATION | 'cruscle.wsgi.application' |
XML_PATH | '/xml/' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.