StartTag: invalid element name, line 1, column 91 (line 1)
Request Method: | GET |
---|---|
Request URL: | http://new.lessicografia.it/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1 |
Django Version: | 1.11.24 |
Exception Type: | XMLSyntaxError |
Exception Value: | StartTag: invalid element name, line 1, column 91 (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: | Thu, 28 Mar 2024 23:34:23 +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'StartTag: invalid element name, line 1, column 91',) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe57c0bdf50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
/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'StartTag: invalid element name, line 1, column 91',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
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'StartTag: invalid element name, line 1, column 91',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
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/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
self | <lessicografia.views.ControllerView object at 0x7fe578b53bd0> |
/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 0x7fe578b53bd0>> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
self | <lessicografia.views.ControllerView object at 0x7fe578b53bd0> |
/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': '551', 'docs_ext': [{u'_version_': 1712167720084045829, u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_type_s': u'contesto', u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti': [{'contesto': u'eg', 'id': u'6511a12f44fb48629b4c3071369666c5', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>"}], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'first_letter_s': u'n', u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'id': u'6511a12f44fb48629b4c3071369666c5', u'index_i': 575678, u'pagina_s': u'302', u'score': 11.587023, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166734665875461, u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'57caa3157346424f8635c9f198a675a9', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'first_letter_s': u'm', u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'id': u'57caa315... <trimmed 125195 bytes string> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
res | None |
se | <lessicografia.search.search_engine.search_engine object at 0x7fe578b535d0> |
self | <lessicografia.views.ControllerView object at 0x7fe578b53bd0> |
/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': '551', 'docs_ext': [{u'_version_': 1712167720084045829, u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_type_s': u'contesto', u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti': [{'contesto': u'eg', 'id': u'6511a12f44fb48629b4c3071369666c5', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>"}], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'first_letter_s': u'n', u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'id': u'6511a12f44fb48629b4c3071369666c5', u'index_i': 575678, u'pagina_s': u'302', u'score': 11.587023, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166734665875461, u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'57caa3157346424f8635c9f198a675a9', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'first_letter_s': u'm', u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'id': u'57caa315... <trimmed 125195 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
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': '551', 'docs_ext': [{u'_version_': 1712167720084045829, u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_type_s': u'contesto', u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti': [{'contesto': u'eg', 'id': u'6511a12f44fb48629b4c3071369666c5', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>"}], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'first_letter_s': u'n', u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'id': u'6511a12f44fb48629b4c3071369666c5', u'index_i': 575678, u'pagina_s': u'302', u'score': 11.587023, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166734665875461, u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'57caa3157346424f8635c9f198a675a9', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'first_letter_s': u'm', u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'id': u'57caa315... <trimmed 125195 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
template | <django.template.backends.django.Template object at 0x7fe5797c1750> |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1'> |
self | <django.template.backends.django.Template object at 0x7fe5797c1750> |
/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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
self | <django.template.base.Template object at 0x7fe57834f090> |
/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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
self | <django.template.base.Template object at 0x7fe57834f090> |
/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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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 0x7fe57834f190> |
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 0x7fe534667dd0> |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fe5792703d0> |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
self | <django.template.base.Template object at 0x7fe534667dd0> |
/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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
node | <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]> |
self | [<TextNode: u'\ufeff'>, <django.template.defaulttags.LoadNode object at 0x7fe5792703d0>, <TextNode: u'\n<html>\n<head>\n <title'>, <django.templatetags.static.StaticNode object at 0x7fe579270250>, <TextNode: u'assets/css/essentials.css'>, <django.templatetags.static.StaticNode object at 0x7fe579270710>, <TextNode: u'assets/css/layout.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe578f91d90>, <TextNode: u'assets/css/header-1.css" '>, <django.templatetags.static.StaticNode object at 0x7fe578f91dd0>, <TextNode: u'assets/css/color_scheme/b'>, <django.templatetags.static.StaticNode object at 0x7fe578f91650>, <TextNode: u'assets/css/custom.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe4f055ec90>, <TextNode: u'assets/css/stiliTabella.c'>, <django.templatetags.static.StaticNode object at 0x7fe4f055e090>, <TextNode: u'assets/css/stiliCrusca.cs'>, <django.templatetags.static.StaticNode object at 0x7fe4f055e890>, <TextNode: u'assets/css/StileRisultati'>, <django.template.defaulttags.CommentNode object at 0x7fe579852410>, <TextNode: u'\n\n <di'>, <django.template.defaulttags.URLNode object at 0x7fe4f055e6d0>, <TextNode: u'">Visualizzazione immagin'>, <django.template.defaulttags.URLNode object at 0x7fe4f055e610>, <TextNode: u'">Visualizzazione testi</'>, <django.template.defaulttags.URLNode object at 0x7fe4f055e850>, <TextNode: u'criteri">\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055ec50>, <TextNode: u'motore">\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055eed0>, <TextNode: u'">Ricerca libera</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055e210>, <TextNode: u'">Ricerca avanzata</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055eb10>, <TextNode: u'">Ricerca esperta</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055e050>, <TextNode: u'ricerca_immagini">Ricerca'>, <django.template.defaulttags.URLNode object at 0x7fe4f055ef10>, <TextNode: u'">Ricerca dei contesti</a'>, <django.template.defaulttags.URLNode object at 0x7fe4f055ea90>, <TextNode: u'?cmd=resetall">Ricerca de'>, <django.template.defaulttags.URLNode object at 0x7fe4f055e2d0>, <TextNode: u'">Ricerca per indici</a>\n'>, <django.template.defaulttags.URLNode object at 0x7fe4f055e250>, <TextNode: u'crediti">\n '>, <django.template.defaulttags.URLNode object at 0x7fe4f055e4d0>, <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 0x7fe4f055e990>, <TextNode: u'assets/js/scripts.js"></s'>, <django.templatetags.static.StaticNode object at 0x7fe4f055e590>, <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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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 0x7fe3702a5190>, <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 0x7fe57834f190> |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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 0x7fe3702a5190>, <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>: 551 msec - Sono state trovate <B>8311</B> voci</p>\n\n <p>La ricerca è stata rilevata in <strong>22627</strong> forme, per un totale di <strong>14063</strong> occorrenze</p>\n <div class="table-responsive">\n <table class="table">\n <tr class="EdizTabRapporto">\n \n <td colspan="2" class="Ed4">4° Edizione</td>\n \n </tr>\n <tr>\n \n \n <td class="Ed4B" title="{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4} 4° Edizione">Diz</td>\n \n <td class="Ed4C" title="{'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4} 4° 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="Ed4_R1"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&EdCrusca4=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">22078</a></td>\n \n\n\n <td class="Ed4_R1"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&Giunte4=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">549</a></td>\n \n\n \n <td class="tot_R1">22627</td>\n <td class="tot_R1" align="left">forme</td>\n </tr>\n\n\n <tr>\n \n\n\n \n <td class="Ed4_R2"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&EdCrusca4=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">13767</a></td>\n \n <td class="Ed4_R2"><a href="/Controller/?SettImpostazioni=LancioRicerca&q1=None&maxresults=50&submit=Cerca+Voci&q2=&TipoSequenza=0&q3=&distanzaMax=1&Giunte4=1&IgnoraAccenti=1&TipoVisualizzazione=1&TipoOrdinamento=1&TipoRicerca=0" class="s" target="_blank">296</a></td>\n \n \n\n\n <td class="tot_R2">14063</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="qr" value="|Not. al Malm.||note al Malm.|Note al Malm.|" />\n\t\t\t\n\t\t\t<input type="hidden" name="ricerca" value="ricerca_voci" />\n\t\t\t\n\t\t\t<input type="hidden" name="EdCrusca4" value="1" />\n\t\t\t... <trimmed 5150 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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 0x7fe3702a5190>, <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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
i | 13 |
item | {u'_version_': 1712167331872899077, u'content_plain_txt_ac': [u'AL BARLUME. '], u'content_plain_txt_cs': [u'AL BARLUME. '], u'content_plain_txt_s': u'AL BARLUME. ', u'content_plain_txt_st': [u'AL BARLUME. '], u'content_type_s': u'contesto', u'content_xml': [u'<form><orth>AL BARLUME</orth><testo>. </testo></form>'], u'content_xml_txt_lemma': [u'<form><orth>AL BARLUME</orth><testo>. </testo></form>'], 'contesti': [{'contesto': u'form', 'id': u'03d47e1cefa94485bb68a19709cdbe1e', 'xml': u'<EVIDENZCONTESTO><form><orth><Evidenz1>AL</Evidenz1> BARLUME</orth><testo>. </testo></form></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'54ba058911084be38442748046e80c2a', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Alleg$. </ref>99. </abbr>Volete voi vedere, s'io pescava pel Proconsolo <Evidenz1>al</Evidenz1> barlume?\n</quote></eg></EVIDENZCONTESTO>"}, {'contesto': u'eg', 'id': u'b8748c4c825749cbaf9d9a61feb929f1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Franc$. Sacch$. nov$.</ref> 28. </abbr>Come la vide <Evidenz1>al</Evidenz1> barlume, la donna archimiata, con grande\nambascia ec$. gli disse. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'33bd1d631e65479698fc7c2cd13258d9', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Tac$. Dav$. ann$. </ref>2. 42. </abbr>Andava egli <<Evidenz1>note</Evidenz1>>(il finto Agrippa) </<Evidenz1>note</Evidenz1>>per le terre <Evidenz1>al</Evidenz1>\nbarlume, in pubblico non s'affacciava. </quote></eg></EVIDENZCONTESTO>"}], 'contesti_match_ids': [u'03d47e1cefa94485bb68a19709cdbe1e', u'54ba058911084be38442748046e80c2a', u'b8748c4c825749cbaf9d9a61feb929f1', u'33bd1d631e65479698fc7c2cd13258d9'], 'contesti_to_display_ids': [u'03d47e1cefa94485bb68a19709cdbe1e', u'54ba058911084be38442748046e80c2a', u'b8748c4c825749cbaf9d9a61feb929f1', u'33bd1d631e65479698fc7c2cd13258d9'], u'contesto_s': u'form', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'b237209ab8e74a9abe5e95e61a67fa0f', u'first_letter_s': u'a', u'form_s': u'<form><orth>AL BARLUME</orth><testo>. </testo></form>', u'id': u'03d47e1cefa94485bb68a19709cdbe1e', u'index_i': 484070, u'pagina_s': u'108', u'score': 7.659071, u'sezione_s': u'2', u'volume_i': 1} |
len_values | 20 |
loop_dict | {u'counter': 14, u'counter0': 13, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 7, u'revcounter0': 6} |
node | <django.template.loader_tags.IncludeNode object at 0x7fe3702a5050> |
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. 4° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="/Controller/?entry_id=6ba3262b06fb40b182c6a363748d1d05" target="_blank" class="t voce0">ULIVO. <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=4&vol=5&pag=302&sez=2" class="h" title="Apri Immagine Pagina" target="blank">pag.302</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: 6511a12f44fb48629b4c3071369666c5)<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=Note al Malm. " class="g"><span class="Evidenz1">Note</span> <span class="Evidenz1">al</span> <span class="Evidenz1">Malm</span>. </a></span>4. 26. </span>Ne fece poi di quelle con l\'ulivo. </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. 4° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="/Controller/?entry_id=1a02d3f834c2423ea850bdee02cd7aa3" target="_blank" class="t voce0">PRESONTUOSO. <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=4&vol=3&pag=709&sez=2" class="h" title="Apri Immagine Pagina" target="blank">pag.709</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: 57caa3157346424f8635c9f198a675a9)<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=Malm. " class="g"><span class="Evidenz1">Malm</span>. </a></span>10. 34. </span>Ed è presontuoso <span class="Evidenz1">al</span> quinto grado. </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\t3)\n\t\t\t\t\t\t<span class="Edi... <trimmed 31406 bytes string> |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <For Node: for doc in data.docs_ext, tail_len: 3> |
unpack | False |
values | [{u'_version_': 1712167720084045829, u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_type_s': u'contesto', u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti': [{'contesto': u'eg', 'id': u'6511a12f44fb48629b4c3071369666c5', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>"}], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'first_letter_s': u'n', u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'id': u'6511a12f44fb48629b4c3071369666c5', u'index_i': 575678, u'pagina_s': u'302', u'score': 11.587023, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166734665875461, u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'57caa3157346424f8635c9f198a675a9', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'first_letter_s': u'm', u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'id': u'57caa3157346424f8635c9f198a675a9', u'index_i': 338858, u'pagina_s': u'709', u'score': 9.286587, u'sezione_s': u'2', u'volume_i': 3}, {u'_version_': 1712167697968529408, u'content_plain_txt_ac': [u'Malm$. 4. 58. Tremano giusto come giunco al vento. '], u'content_plain_txt_cs': [u'Malm$. 4. 58. Tremano giusto come giunco al vento. '], u'content_plain_txt_s': u'Malm$. 4. 58. Tremano giusto come giunco al vento. ', u'content_plain_txt_st': [u'Malm$. 4. 58. Tremano giusto come giunco al vento. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>4. 58. </abbr>Tremano giusto come giunco al vento. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>4. 58. </abbr>Tremano giusto come giunco al vento. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'b02873f5b8b04fd09febf2780284bf1d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>4. 58. </abbr>Tremano giusto come giunco <Evidenz1>al</Evidenz1> vento. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'd8f5e5a21ca84e4dbfc28270a98b51af', ... <trimmed 42053 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe3702a5050> |
/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 0x7fe4d02a33d0>} |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe3702a5050> |
template | <django.template.base.Template object at 0x7fe4d02a33d0> |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
self | <django.template.base.Template object at 0x7fe4d02a33d0> |
/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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
self | <django.template.base.Template object at 0x7fe4d02a33d0> |
/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'14', u')\n\t\t\t\t\t\t<span class="Edizione"> ', u'Dizion', u'. ', u'4', u'° Ed.</span> .<br>\n\n\t\t\t\t\t\t<a href="', u'/Controller/', u'?entry_id=', u'b237209ab8e74a9abe5e95e61a67fa0f', u'" target="_blank" class="t voce0">', u'AL BARLUME. <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'4', u'&vol=', u'1', u'&pag=', u'108', u'&sez=', u'2', u'" class="h" title="Apri Immagine Pagina" target="blank">pag.', u'108', 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
node | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe54c4c0a50>, <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 0x7fe54c4c0690>, <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 0x7fe54c4c00d0>, <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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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 0x7fe54c2f6c10>) (literal <django.template.base.FilterExpression object at 0x7fe54c2f6550>)) |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
match | True |
nodelist | [<TextNode: u'\n\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.CommentNode object at 0x7fe579852c90>, <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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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 0x7fe579852c90>, <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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
i | 3 |
item | {'contesto': u'eg', 'id': u'33bd1d631e65479698fc7c2cd13258d9', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Tac$. Dav$. ann$. </ref>2. 42. </abbr>Andava egli <<Evidenz1>note</Evidenz1>>(il finto Agrippa) </<Evidenz1>note</Evidenz1>>per le terre <Evidenz1>al</Evidenz1>\nbarlume, in pubblico non s'affacciava. </quote></eg></EVIDENZCONTESTO>"} |
len_values | 4 |
loop_dict | {u'counter': 4, u'counter0': 3, u'first': False, u'last': True, u'parentloop': {u'counter': 14, u'counter0': 13, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 7, u'revcounter0': 6}, u'revcounter': 1, u'revcounter0': 0} |
node | <IfNode> |
nodelist | [u'\n\t\t\t\t\t\t\t\t\t', u'', u'\n\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t\t\t<br><br>2) id: 54ba058911084be38442748046e80c2a)<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=Alleg. " class="g">Alleg. </a></span>99. </span>Volete voi vedere, s\'io pescava pel Proconsolo <span class="Evidenz1">al</span> barlume?\n</td>\n </tr>\n </tbody>\n </table>\n</div>\n\n\t\t\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t\t\t<br><br>3) id: b8748c4c825749cbaf9d9a61feb929f1)<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=Franc. Sacch. nov." class="g">Franc. Sacch. nov.</a></span> 28. </span>Come la vide <span class="Evidenz1">al</span> barlume, la donna archimiata, con grande\nambascia ec. gli disse. </td>\n </tr>\n </tbody>\n </table>\n</div>\n\n\t\t\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t', u'\n\t\t\t\t\t\t\t\t\t'] |
num_loopvars | 1 |
parentloop | {u'counter': 14, u'counter0': 13, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 7, u'revcounter0': 6} |
pop_context | False |
self | <For Node: for contesto in doc.contesti, tail_len: 3> |
unpack | False |
values | [{'contesto': u'form', 'id': u'03d47e1cefa94485bb68a19709cdbe1e', 'xml': u'<EVIDENZCONTESTO><form><orth><Evidenz1>AL</Evidenz1> BARLUME</orth><testo>. </testo></form></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'54ba058911084be38442748046e80c2a', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Alleg$. </ref>99. </abbr>Volete voi vedere, s'io pescava pel Proconsolo <Evidenz1>al</Evidenz1> barlume?\n</quote></eg></EVIDENZCONTESTO>"}, {'contesto': u'eg', 'id': u'b8748c4c825749cbaf9d9a61feb929f1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Franc$. Sacch$. nov$.</ref> 28. </abbr>Come la vide <Evidenz1>al</Evidenz1> barlume, la donna archimiata, con grande\nambascia ec$. gli disse. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'33bd1d631e65479698fc7c2cd13258d9', 'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Tac$. Dav$. ann$. </ref>2. 42. </abbr>Andava egli <<Evidenz1>note</Evidenz1>>(il finto Agrippa) </<Evidenz1>note</Evidenz1>>per le terre <Evidenz1>al</Evidenz1>\nbarlume, in pubblico non s'affacciava. </quote></eg></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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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 0x7fe510440690>) (literal <django.template.base.FilterExpression object at 0x7fe510440b10>)) |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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'4', u') id: ', u'33bd1d631e65479698fc7c2cd13258d9', 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
e | XMLSyntaxError(u'StartTag: invalid element name, line 1, column 91',) |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 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 | [4] |
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': 0, u'1_1': 0, u'4_2': 22078, u'4_3': 549, u'4_1': 0}, 'TipoVisualizzazione': 1, 'num': 20, 'edizioni': [{'sezioni': [{'label_short': 'Diz', 'label': 'Dizionario', 'num': 2, 'cod': '4_2', 'class': 'B', 'edizione': 4}, {'label_short': 'Giu.', 'label': 'Giunte', 'num': 3, 'cod': '4_3', 'class': 'C', 'edizione': 4}], 'num': '4', 'col': 2}], 'query': None, 'total': 8311, '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': 0, u'1_1': 0, u'4_2': 13767, u'4_3': 296, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '551', 'request_base_resorting': <QueryDict: {u'qr': [u'|Not. al Malm.||note al Malm.|Note al Malm.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 22627, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u"<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Note</Evidenz1> <Evidenz1>al</Evidenz1> <Evidenz1>Malm</Evidenz1>$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg></EVIDENZCONTESTO>", 'id': u'6511a12f44fb48629b4c3071369666c5', 'contesto': u'eg'}], u'content_plain_txt_ac': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'content_plain_txt_cs': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "], u'entry_id_s': u'6ba3262b06fb40b182c6a363748d1d05', u'id': u'6511a12f44fb48629b4c3071369666c5', u'sezione_s': u'2', u'pagina_s': u'302', u'edizione_sezione_s': u'4_2', u'score': 11.587023, u'volume_i': 5, u'index_i': 575678, 'contesti_to_display_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'_version_': 1712167720084045829, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'n', u'content_plain_txt_s': u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. ", u'content_xml': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u"<eg><quote><abbr><ref>Note al Malm$. </ref>4. 26. </abbr>Ne fece poi di quelle con l'ulivo. </quote></eg>"], 'contesti_match_ids': [u'6511a12f44fb48629b4c3071369666c5'], u'form_s': u'<form><orth>ULIVO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u"Note al Malm$. 4. 26. Ne fece poi di quelle con l'ulivo. "]}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Malm</Evidenz1>$. </ref>10. 34. </abbr>Ed \xe8 presontuoso <Evidenz1>al</Evidenz1> quinto grado. </quote></eg></EVIDENZCONTESTO>', 'id': u'57caa3157346424f8635c9f198a675a9', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'content_plain_txt_cs': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. '], u'entry_id_s': u'1a02d3f834c2423ea850bdee02cd7aa3', u'id': u'57caa3157346424f8635c9f198a675a9', u'sezione_s': u'2', u'pagina_s': u'709', u'edizione_sezione_s': u'4_2', u'score': 9.286587, u'volume_i': 3, u'index_i': 338858, 'contesti_to_display_ids': [u'57caa3157346424f8635c9f198a675a9'], u'_version_': 1712166734665875461, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'm', u'content_plain_txt_s': u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ', u'content_xml': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Malm$. </ref>10. 34. </abbr>Ed \xe8 presontuoso al quinto grado. </quote></eg>'], 'contesti_match_ids': [u'57caa3157346424f8635c9f198a675a9'], u'form_s': u'<form><orth>PRESONTUOSO</orth><testo>. </testo></form>', u'content_plain_txt_st': [u'Malm$. 10. 34. Ed \xe8 presontuoso al quinto grado. ']}, {'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abb... <trimmed 77566 bytes string> |
escape_isnt_last_filter | True |
func | <function style_voce at 0x7fe579c52398> |
ignore_failures | False |
lookup | True |
obj | u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Tac$. Dav$. ann$. </ref>2. 42. </abbr>Andava egli <<Evidenz1>note</Evidenz1>>(il finto Agrippa) </<Evidenz1>note</Evidenz1>>per le terre <Evidenz1>al</Evidenz1>\nbarlume, in pubblico non s'affacciava. </quote></eg></EVIDENZCONTESTO>" |
self | <django.template.base.FilterExpression object at 0x7fe510440390> |
/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 | 4 |
xml | u"<EVIDENZCONTESTO><eg><quote><abbr><ref>Tac$. Dav$. ann$. </ref>2. 42. </abbr>Andava egli <<Evidenz1>note</Evidenz1>>(il finto Agrippa) </<Evidenz1>note</Evidenz1>>per le terre <Evidenz1>al</Evidenz1>\nbarlume, in pubblico non s'affacciava. </quote></eg></EVIDENZCONTESTO>" |
AnonymousUser
Variable | Value |
---|---|
qr | u'|Not. al Malm.||note al Malm.|Note al Malm.|' |
EdCrusca4 | u'1' |
Giunte4 | u'1' |
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 | 'qr=%7CNot.+al+Malm.%7C%7Cnote+al+Malm.%7CNote+al+Malm.%7C&EdCrusca4=1&Giunte4=1' |
REMOTE_ADDR | '3.237.51.235' |
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 0x7fe490373d50> |
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.