error parsing attribute name, line 1, column 78 (line 1)
Request Method: | GET |
---|---|
Request URL: | http://new.lessicografia.it/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1 |
Django Version: | 1.11.24 |
Exception Type: | XMLSyntaxError |
Exception Value: | error parsing attribute name, line 1, column 78 (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 20:23:12 +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'error parsing attribute name, line 1, column 78',) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe57c0bdf50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%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'error parsing attribute name, line 1, column 78',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%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'error parsing attribute name, line 1, column 78',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe579c2ba50>> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%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=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1'> |
self | <lessicografia.views.ControllerView object at 0x7fe5792d1390> |
/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 0x7fe5792d1390>> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1'> |
self | <lessicografia.views.ControllerView object at 0x7fe5792d1390> |
/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': '1049', 'docs_ext': [{u'_version_': 1712167688533442568, u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_plain_txt_st': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'first_letter_s': u'b', u'form_s': u'<form><orth>TOVAGLIUOLA</orth><testo>.</testo></form>', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'index_i': 568456, u'pagina_s': u'112', u'score': 81.93306, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166203473002500, u'content_plain_txt_ac': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_cs': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_s': u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. ', u'content_plain_txt_st': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><a... <trimmed 163786 bytes string> |
kwargs | {} |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1'> |
res | None |
se | <lessicografia.search.search_engine.search_engine object at 0x7fe5792d1ed0> |
self | <lessicografia.views.ControllerView object at 0x7fe5792d1390> |
/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': '1049', 'docs_ext': [{u'_version_': 1712167688533442568, u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_plain_txt_st': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'first_letter_s': u'b', u'form_s': u'<form><orth>TOVAGLIUOLA</orth><testo>.</testo></form>', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'index_i': 568456, u'pagina_s': u'112', u'score': 81.93306, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166203473002500, u'content_plain_txt_ac': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_cs': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_s': u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. ', u'content_plain_txt_st': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><a... <trimmed 163786 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%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': '1049', 'docs_ext': [{u'_version_': 1712167688533442568, u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_plain_txt_st': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'first_letter_s': u'b', u'form_s': u'<form><orth>TOVAGLIUOLA</orth><testo>.</testo></form>', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'index_i': 568456, u'pagina_s': u'112', u'score': 81.93306, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166203473002500, u'content_plain_txt_ac': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_cs': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_s': u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. ', u'content_plain_txt_st': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><a... <trimmed 163786 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1'> |
template | <django.template.backends.django.Template object at 0x7fe57983e850> |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
request | <WSGIRequest: GET '/Controller/?qr=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1'> |
self | <django.template.backends.django.Template object at 0x7fe57983e850> |
/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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
self | <django.template.base.Template object at 0x7fe57983ed90> |
/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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
self | <django.template.base.Template object at 0x7fe57983ed90> |
/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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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 0x7fe57983e050> |
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 0x7fe57947f810> |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fe4d02d11d0> |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
self | <django.template.base.Template object at 0x7fe57947f810> |
/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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
node | <Block Node: content. Contents: [<TextNode: u'TO BE REPLACED'>]> |
self | [<TextNode: u'\ufeff'>, <django.template.defaulttags.LoadNode object at 0x7fe4d02d11d0>, <TextNode: u'\n<html>\n<head>\n <title'>, <django.templatetags.static.StaticNode object at 0x7fe4d02d17d0>, <TextNode: u'assets/css/essentials.css'>, <django.templatetags.static.StaticNode object at 0x7fe4d02d1f10>, <TextNode: u'assets/css/layout.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe4d02d1c10>, <TextNode: u'assets/css/header-1.css" '>, <django.templatetags.static.StaticNode object at 0x7fe4d02d1190>, <TextNode: u'assets/css/color_scheme/b'>, <django.templatetags.static.StaticNode object at 0x7fe4d02d1710>, <TextNode: u'assets/css/custom.css" re'>, <django.templatetags.static.StaticNode object at 0x7fe4d029d0d0>, <TextNode: u'assets/css/stiliTabella.c'>, <django.templatetags.static.StaticNode object at 0x7fe4d029d1d0>, <TextNode: u'assets/css/stiliCrusca.cs'>, <django.templatetags.static.StaticNode object at 0x7fe4d029d250>, <TextNode: u'assets/css/StileRisultati'>, <django.template.defaulttags.CommentNode object at 0x7fe4d02d1c50>, <TextNode: u'\n\n <di'>, <django.template.defaulttags.URLNode object at 0x7fe4d029d310>, <TextNode: u'">Visualizzazione immagin'>, <django.template.defaulttags.URLNode object at 0x7fe4d029dad0>, <TextNode: u'">Visualizzazione testi</'>, <django.template.defaulttags.URLNode object at 0x7fe4d029d590>, <TextNode: u'criteri">\n '>, <django.template.defaulttags.URLNode object at 0x7fe4d029df50>, <TextNode: u'motore">\n '>, <django.template.defaulttags.URLNode object at 0x7fe4d029d5d0>, <TextNode: u'">Ricerca libera</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4d029de90>, <TextNode: u'">Ricerca avanzata</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4d029de10>, <TextNode: u'">Ricerca esperta</a>\n '>, <django.template.defaulttags.URLNode object at 0x7fe4d029d410>, <TextNode: u'ricerca_immagini">Ricerca'>, <django.template.defaulttags.URLNode object at 0x7fe4d029d190>, <TextNode: u'">Ricerca dei contesti</a'>, <django.template.defaulttags.URLNode object at 0x7fe4d029d890>, <TextNode: u'?cmd=resetall">Ricerca de'>, <django.template.defaulttags.URLNode object at 0x7fe4d029d750>, <TextNode: u'">Ricerca per indici</a>\n'>, <django.template.defaulttags.URLNode object at 0x7fe4d029dfd0>, <TextNode: u'crediti">\n '>, <django.template.defaulttags.URLNode object at 0x7fe57942d8d0>, <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 0x7fe57942d4d0>, <TextNode: u'assets/js/scripts.js"></s'>, <django.templatetags.static.StaticNode object at 0x7fe57942d990>, <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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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 0x7fe57947f990>, <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 0x7fe57983e050> |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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 0x7fe57947f990>, <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>: 1049 msec - Sono state trovate <B>35106</B> voci</p>\n\n <p>La ricerca è stata rilevata in <strong>241494</strong> forme, per un totale di <strong>204576</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">236248</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">5246</a></td>\n \n\n \n <td class="tot_R1">241494</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">201142</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">3434</a></td>\n \n \n\n\n <td class="tot_R2">204576</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="|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. ... <trimmed 5988 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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 0x7fe57947f990>, <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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
i | 13 |
item | {u'_version_': 1712167487194267656, u'content_plain_txt_ac': [u"Bocc$. introd$. 4. Verso l'occidente miserabilmente s'era ampliata.\n"], u'content_plain_txt_cs': [u"Bocc$. introd$. 4. Verso l'occidente miserabilmente s'era ampliata.\n"], u'content_plain_txt_s': u"Bocc$. introd$. 4. Verso l'occidente miserabilmente s'era ampliata.\n", u'content_plain_txt_st': [u"Bocc$. introd$. 4. Verso l'occidente miserabilmente s'era ampliata.\n"], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. </ref><pb pag="167"/> introd$. 4. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. </ref><pb pag="167"/> introd$. 4. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'3b4aaacb49ad4f5b90562fac38d35940', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. </ref><pb <Evidenz1>pag</Evidenz1>="167"/> <Evidenz1>introd</Evidenz1>$. <Evidenz1>4</Evidenz1>. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'3819e8d3a51e4d99af4b85a086d735a5', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lab</Evidenz1>$. </ref>137. </abbr>Riguardasi a quanta vilt\xe0 si sottomettono, per ampliare un poco le dote\nloro. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'3b4aaacb49ad4f5b90562fac38d35940', u'3819e8d3a51e4d99af4b85a086d735a5'], 'contesti_to_display_ids': [u'3b4aaacb49ad4f5b90562fac38d35940', u'3819e8d3a51e4d99af4b85a086d735a5'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'9bfd2ebdb77b478d95b2d01b96833267', u'first_letter_s': u'b', u'form_s': u'<form><orth>AMPLIARE</orth><testo>. </testo></form>', u'id': u'3b4aaacb49ad4f5b90562fac38d35940', u'index_i': 522639, u'pagina_s': u'167', u'score': 70.087975, 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 0x7fe57947f150> |
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=9e67aee7fe0246009c5a95170a01800e" target="_blank" class="t voce0">TOVAGLIUOLA<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=112&sez=2" class="h" title="Apri Immagine Pagina" target="blank">pag.112</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: be7bb75edee8448884731fc447b4dd1d)<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=Bocc. Test. " class="g"><span class="Evidenz1">Bocc</span>. <span class="Evidenz1">Test</span>. </a></span><span class="Evidenz1">pag</span>. <span class="Evidenz1">1</span>. </span>Due tovagliuole convenevoli. </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\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<br><br>2) id: 10d35e2c78f34b62bba4e4d9a041c1a0)<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="hi">E </span><span class="abbr" title="Abbreviazione Bibliografica [parte mobile]"><span title="Abbreviazione bibliografica [parte fissa]"><a href=" /ref?psearch=Bocc. " class="g"><span class="add" title="integrazione"><span class="Evidenz1">Bocc</span>.</span> </a></span><span class="Evidenz1">nov</span>. 92. 6.</span> Allora in una tovagliuola bianchissima gli\nportò due fette di pane arrostito. </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\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<br><br>3) id: 535e3e79dd7a4d63bb9fb9b22378bde1)<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=Pist. S. Gir. " class="g">Pist. <span class="Evidenz1">S</span>. Gir. </a></span></span>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </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" ... <trimmed 53772 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_': 1712167688533442568, u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_plain_txt_st': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>'}], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'contesto_s': u'eg', u'edizione_i': 4, u'edizione_sezione_s': u'4_2', u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'first_letter_s': u'b', u'form_s': u'<form><orth>TOVAGLIUOLA</orth><testo>.</testo></form>', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'index_i': 568456, u'pagina_s': u'112', u'score': 81.93306, u'sezione_s': u'2', u'volume_i': 5}, {u'_version_': 1712166203473002500, u'content_plain_txt_ac': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_cs': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_plain_txt_s': u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. ', u'content_plain_txt_st': [u'Bocc$. lett$. Pr$. S$. Ap$. 309. Comporre nello scrittoio. '], u'content_type_s': u'contesto', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. lett$. Pr$. S$. Ap$. </ref>309. </abbr>Comporre nello scrittoio. </quote></eg>'], u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. lett$. Pr$. S$. Ap$. </ref>309. </abbr>Comporre nello scrittoio. </quote></eg>'], 'contesti': [{'contesto': u'eg', 'id': u'9200312c762c41a5acc729391020e50f', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>lett</Evidenz1>$. <Evidenz1>Pr</Evidenz1>$. <Evidenz1>S</Evidenz1>$. <Evidenz1>Ap</Evidenz1>$. </ref>309. </abbr>Comporre nello scrittoio. </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'cf3ced5b13364dbc8196b9e42c3e0ae1', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Burch$. </ref><Evidenz1>2</Evidenz1>. <Evidenz1>1</Evidenz1>. </abbr>Per che cagioni Mi cavi il tuo Burchiel dello scrittoio? </quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'04cffeb34dc944f0a8aa9e5519c9b545', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Segr$. Fior$. Cliz$. </ref><Evidenz1>4</Evidenz1>... <trimmed 53490 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe57947f150> |
/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 0x7fe51061a390>} |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
self | <django.template.loader_tags.IncludeNode object at 0x7fe57947f150> |
template | <django.template.base.Template object at 0x7fe51061a390> |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
self | <django.template.base.Template object at 0x7fe51061a390> |
/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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
self | <django.template.base.Template object at 0x7fe51061a390> |
/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'9bfd2ebdb77b478d95b2d01b96833267', u'" target="_blank" class="t voce0">', u'AMPLIARE. <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'167', u'&sez=', u'2', u'" class="h" title="Apri Immagine Pagina" target="blank">pag.', u'167', 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
node | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe5794a3050>, <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 0x7fe5794a3190>, <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 0x7fe578de7410>, <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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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 0x7fe57923f090>) (literal <django.template.base.FilterExpression object at 0x7fe57923f0d0>)) |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
match | True |
nodelist | [<TextNode: u'\n\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.CommentNode object at 0x7fe5794a3710>, <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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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 0x7fe5794a3710>, <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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
i | 0 |
item | {'contesto': u'eg', 'id': u'3b4aaacb49ad4f5b90562fac38d35940', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. </ref><pb <Evidenz1>pag</Evidenz1>="167"/> <Evidenz1>introd</Evidenz1>$. <Evidenz1>4</Evidenz1>. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg></EVIDENZCONTESTO>'} |
len_values | 2 |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {u'counter': 14, u'counter0': 13, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 7, u'revcounter0': 6}, u'revcounter': 2, u'revcounter0': 1} |
node | <IfNode> |
nodelist | [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'eg', 'id': u'3b4aaacb49ad4f5b90562fac38d35940', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. </ref><pb <Evidenz1>pag</Evidenz1>="167"/> <Evidenz1>introd</Evidenz1>$. <Evidenz1>4</Evidenz1>. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg></EVIDENZCONTESTO>'}, {'contesto': u'eg', 'id': u'3819e8d3a51e4d99af4b85a086d735a5', 'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Lab</Evidenz1>$. </ref>137. </abbr>Riguardasi a quanta vilt\xe0 si sottomettono, per ampliare un poco le dote\nloro. </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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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 0x7fe5790af950>) (literal <django.template.base.FilterExpression object at 0x7fe5342a9290>)) |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
match | True |
nodelist | [<TextNode: u'\n\t\t\t\t\t\t\t\t\t<br><br>'>, <Variable Node: forloop.counter|default:"1">, <TextNode: u') id: '>, <Variable Node: contesto.id>, <TextNode: u')<br>\n\t\t\t\t\t\t\t\t\t'>, <Variable Node: contesto.xml|style_voce:doc.edizione_i|safe>, <TextNode: u'\n\t\t\t\t\t\t\t\t\t'>] |
self | <IfNode> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u')<br>\n\t\t\t\t\t\t\t\t\t' |
bits | [u'\n\t\t\t\t\t\t\t\t\t<br><br>', u'1', u') id: ', u'3b4aaacb49ad4f5b90562fac38d35940', 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 bytes string> |
e | XMLSyntaxError(u'error parsing attribute name, line 1, column 78',) |
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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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': 236248, u'4_3': 5246, 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': 35106, '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': 201142, u'4_3': 3434, u'4_1': 0}, 'ricerca': 'ricerca_voci', 'crono': '1049', 'request_base_resorting': <QueryDict: {u'qr': [u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|'], u'ricerca': [u'ricerca_voci'], u'EdCrusca4': [u'1'], u'Giunte4': [u'1']}>, 'TipoRicercaDettaglio': None, 'intestazione_forme_tot': 241494, 'TipoOrdinamento': 1, 'docs_ext': [{'contesti': [{'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref><Evidenz1>Bocc</Evidenz1>$. <Evidenz1>Test</Evidenz1>$. </ref><Evidenz1>pag</Evidenz1>$. <Evidenz1>1</Evidenz1>. </abbr>Due tovagliuole convenevoli. </quote></eg></EVIDENZCONTESTO>', 'id': u'be7bb75edee8448884731fc447b4dd1d', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><hi>E </hi><abbr><ref><add><Evidenz1>Bocc</Evidenz1>$.</add> </ref><Evidenz1>nov</Evidenz1>$. 92. 6.</abbr> Allora in una tovagliuola bianchissima gli\nport\xf2 due fette di pane arrostito. </quote></eg></EVIDENZCONTESTO>', 'id': u'10d35e2c78f34b62bba4e4d9a041c1a0', 'contesto': u'eg'}, {'xml': u'<EVIDENZCONTESTO><eg><quote><abbr><ref>Pist$. <Evidenz1>S</Evidenz1>$. Gir$. </ref></abbr>Se egli vi vede alcuna tovagliuola, o guanciali, o alcuna gioia,\nche gli piaccia. </quote></eg></EVIDENZCONTESTO>', 'id': u'535e3e79dd7a4d63bb9fb9b22378bde1', 'contesto': u'eg'}], u'content_plain_txt_ac': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'content_plain_txt_cs': [u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. '], u'entry_id_s': u'9e67aee7fe0246009c5a95170a01800e', u'id': u'be7bb75edee8448884731fc447b4dd1d', u'sezione_s': u'2', u'pagina_s': u'112', u'edizione_sezione_s': u'4_2', u'score': 81.93306, u'volume_i': 5, u'index_i': 568456, 'contesti_to_display_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'_version_': 1712167688533442568, u'edizione_i': 4, u'content_type_s': u'contesto', u'first_letter_s': u'b', u'content_plain_txt_s': u'Bocc$. Test$. pag$. 1. Due tovagliuole convenevoli. ', u'content_xml': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], u'contesto_s': u'eg', u'content_xml_txt_lemma': [u'<eg><quote><abbr><ref>Bocc$. Test$. </ref>pag$. 1. </abbr>Due tovagliuole convenevoli. </quote></eg>'], 'contesti_match_ids': [u'be7bb75edee8448884731fc447b4dd1d', u'10d35e2c78f34b62bba4e4d9a041c1a0', u'535e3e79dd7a4d63bb9fb9b22378bde1'], u'form_s': u'<form><orth>TOVAGLIUOLA</orth>... <trimmed 107929 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><Evidenz1>Bocc</Evidenz1>$. </ref><pb <Evidenz1>pag</Evidenz1>="167"/> <Evidenz1>introd</Evidenz1>$. <Evidenz1>4</Evidenz1>. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg></EVIDENZCONTESTO>' |
self | <django.template.base.FilterExpression object at 0x7fe5342a9590> |
/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><Evidenz1>Bocc</Evidenz1>$. </ref><pb <Evidenz1>pag</Evidenz1>="167"/> <Evidenz1>introd</Evidenz1>$. <Evidenz1>4</Evidenz1>. </abbr>Verso l\'occidente miserabilmente s\'era ampliata.\n</quote></eg></EVIDENZCONTESTO>' |
AnonymousUser
Variable | Value |
---|---|
qr | u'|Bocc. Proem. 5.|Bocc. Intr.|Bocc. Introd.|Bocc. Introd. 23.|Bocc. g. 1. p. 2.|Bocc. nov. 7. 19.|Bocc. nov. 44. tit.|Bocc. g. 3. f. 4.|Bocc. Canz. 8. 1.|Bocc. Concl. 4.|Bocc. Conclus. n. 10.|Bocc. Amet.|Bocc. Amet. Proem.|Bocc. Amet. 98.|Bocc. Amor. Vis.|Bocc. Vis. cap. 40.|Bocc. Am. Vis. can. 36.|Bocc. Com. Dant.|Bocc. sop. Dan.|Bocc. Com. Dant. 2. 237.|Bocc. Fiamm.|Bocc. Fiamm. Proem.|Bocc. Fiamm. 1. 25.|Bocc. Filoc.|Bocc. Filoc. 1. 78.|Bocc. Filostr.|Bocc. Filostr. 2. 40.|Bocc. Laber.|Bocc. Lab. 11.|Bocc. Lett.|Bocc. Lett. 320.|Bocc. Lett. Pin. Ros.|Bocc. Lett. Pin. Ross. 287.|Bocc. Lett. Pr. S. Apos.|Bocc. Lett. Pr. S. Ap. 316.|Bocc. Lett. S.|Bocc. Lett. R.|Bocc. Ninf. Fies.|Bocc. Ninf. Fiesol. 112.|Bocc. Teseid.|Bocc. Teseid. 1. 24.|Bocc. Testam.|Bocc. Test. pag. 2.|Bocc. Vit. Dan.|Bocc. Vit. Dant. 30.||Bocc. Ninf. Fiesol.|Ninf.|Ninf. Fies.|Ninf. Fiesol.|' |
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=%7CBocc.+Proem.+5.%7CBocc.+Intr.%7CBocc.+Introd.%7CBocc.+Introd.+23.%7CBocc.+g.+1.+p.+2.%7CBocc.+nov.+7.+19.%7CBocc.+nov.+44.+tit.%7CBocc.+g.+3.+f.+4.%7CBocc.+Canz.+8.+1.%7CBocc.+Concl.+4.%7CBocc.+Conclus.+n.+10.%7CBocc.+Amet.%7CBocc.+Amet.+Proem.%7CBocc.+Amet.+98.%7CBocc.+Amor.+Vis.%7CBocc.+Vis.+cap.+40.%7CBocc.+Am.+Vis.+can.+36.%7CBocc.+Com.+Dant.%7CBocc.+sop.+Dan.%7CBocc.+Com.+Dant.+2.+237.%7CBocc.+Fiamm.%7CBocc.+Fiamm.+Proem.%7CBocc.+Fiamm.+1.+25.%7CBocc.+Filoc.%7CBocc.+Filoc.+1.+78.%7CBocc.+Filostr.%7CBocc.+Filostr.+2.+40.%7CBocc.+Laber.%7CBocc.+Lab.+11.%7CBocc.+Lett.%7CBocc.+Lett.+320.%7CBocc.+Lett.+Pin.+Ros.%7CBocc.+Lett.+Pin.+Ross.+287.%7CBocc.+Lett.+Pr.+S.+Apos.%7CBocc.+Lett.+Pr.+S.+Ap.+316.%7CBocc.+Lett.+S.%7CBocc.+Lett.+R.%7CBocc.+Ninf.+Fies.%7CBocc.+Ninf.+Fiesol.+112.%7CBocc.+Teseid.%7CBocc.+Teseid.+1.+24.%7CBocc.+Testam.%7CBocc.+Test.+pag.+2.%7CBocc.+Vit.+Dan.%7CBocc.+Vit.+Dant.+30.%7C%7CBocc.+Ninf.+Fiesol.%7CNinf.%7CNinf.+Fies.%7CNinf.+Fiesol.%7C&EdCrusca4=1&Giunte4=1' |
REMOTE_ADDR | '18.209.209.28' |
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 0x7fe579231850> |
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.