Esemeny has no field named 'name'
Request Method: | GET |
---|---|
Request URL: | http://www.reformata.sk/mutat/5114/ |
Django Version: | 1.4.6 |
Exception Type: | FieldDoesNotExist |
Exception Value: | Esemeny has no field named 'name' |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/db/models/options.py in get_field, line 293 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/usr/local/lib/python2.7/dist-packages/pip-1.4.1-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/home/reformata/www/', '/home/reformata/www/reformata'] |
Server time: | csüt, 28 Már 2024 19:15:35 +0100 |
In template /home/reformata/www/reformata/templates/layouts/subpage_details.html
, error at line 68
58 | {%comment%} |
---|---|
59 | <div class="left"> |
60 | |
61 | </div> |
62 | {%endcomment%} |
63 | |
64 | <div class="right"> |
65 | {% ifequal pagetype "details" %} |
66 | {% include "layouts/fragments/details_attached.html" %} |
67 | {% endifequal %} |
68 | {% portlet_container 'cikkoldal_bal' LANGUAGE_CODE %} |
69 | |
70 | |
71 | {% portlet_container 'aloldal_jobb' LANGUAGE_CODE %} |
72 | </div> |
73 | |
74 | |
75 | |
76 | </div> |
77 | |
78 |
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
e | FieldDoesNotExist("Esemeny has no field named 'name'",) |
callback_args | () |
settings | <django.conf.LazySettings object at 0x7f7e102251d0> |
middleware_method | <bound method URLRewriteMiddleware.process_request of <general.middlewares.URLRewriteMiddleware object at 0x7f7e10b8bcd0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7e10829390> |
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
callback | <function display_directly at 0x7f7e04925050> |
resolver | <RegexURLResolver reformata.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'id': u'5114'} |
response | None |
urlconf | 'reformata.urls' |
/home/reformata/www/reformata/navigation/views.py
in display_directly
mi = MenuItem.objects.get( alias_url=url )
return display_menuitem( request, mi.section, mi )
except:
raise Http404
def display_directly(request, contenttype=None, slug=None, id=None):
""" Direkt tartalom nézet: /mutat/{{slug}}/, /cikk/{{slug}}/"""
return display_content( request, slug=slug, id=id )...
def home(request, section_object=None, menuitem_object=None):
params = {
"base_template": "layouts/default.html",
'active_mainmenu': section_object,
Variable | Value |
---|---|
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
contenttype | None |
id | u'5114' |
slug | None |
/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py
in _wrapped_view
if result is not None:
return result
if hasattr(middleware, 'process_view'):
result = middleware.process_view(request, view_func, args, kwargs)
if result is not None:
return result
try:
response = view_func(request, *args, **kwargs)...
except Exception, e:
if hasattr(middleware, 'process_exception'):
result = middleware.process_exception(request, e)
if result is not None:
return result
raise
Variable | Value |
---|---|
e | FieldDoesNotExist("Esemeny has no field named 'name'",) |
middleware | <django.middleware.cache.CacheMiddleware object at 0x7f7e04923150> |
args | () |
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
result | None |
kwargs | {'id': u'5114', 'slug': None} |
view_func | <function display_content at 0x7f7e049209b0> |
/home/reformata/www/reformata/navigation/views.py
in display_content
params['active_menu'] = menuitem
params['pagetype'] = 'details'
if section and section.pagetemplate_details:
params['base_template'] = "layouts/%s" % section.pagetemplate_details.template
else:
params['base_template'] = 'layouts/subpage_details.html'
return render_page( request, 'main/content/%s.html' % contenttype, params )...
@cache_page(60)
def display_contentlist( request, section_object, menuitem_object ):
params = {}
Variable | Value |
---|---|
contenttype | u'hir' |
section | None |
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
id | u'5114' |
content_object | <Content: A Világosság református egyházi műsor 2018. július 15-ei ajánlata> |
params | {'active_mainmenu': None, 'active_menu': None, 'attached_files': [], 'attached_galleries': [], 'base_template': 'layouts/subpage_details.html', 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'fotok': {'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': [], 'utolso': None}, 'pagetype': 'details', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]} |
menuitem | None |
related_content | [<Content: A Pátria rádió Világosság egyházi műsorának január 6-ai ajánlata>, <Content: Katekizmus gyermekek számára>, <Content: A Pátria rádió Világosság református egyházi műsorának január 20-ai ajánlata>, <Content: A Pátria rádió Világosság református egyházi műsorának február 2-ai ajánlata>, <Content: A Pátria rádió Világosság református egyházi műsorának február 17-ei ajánlata>, <Content: Kálvinista Szemle archívuma>, <Content: A Pátria rádió Világosság református egyházi műsorának március 3-ai ajánlata>, <Content: Kálvinista Szemle – 2013. március>, <Content: A Pátria rádió Világosság református egyházi műsorának március 17-ei ajánlata>, <Content: Rákos Loránt: Hét nap Élet>, <Content: A Pátria rádió Világosság református egyházi műsorának nagypénteki kiadásának ajánlata>, <Content: A Pátria rádió Világosság református egyházi műsorának április 14-ei ajánlata>, <Content: A Pátria rádió Világosság református egyházi műsorának április 28-ai ajánlata>, <Content: A Pátria rádió Világosság egyházi műsorának május 12-ei ajánlata>, <Content: A Pátria rádió Világosság egyházi műsorának május 26-ai ajánlata>, <Content: A Pátria rádió Világosság református műsorának június 23-ai adásának ajánlata>, <Content: A Pátria rádió Világosság egyházi műsorának július 7-ei ajánlata>, <Content: A Pátria rádió Világosság egyházi műsorának július 21-ei ajánlata>, <Content: A Pátria rádió Világosság egyházi műsorának augusztus 4-ei ajánlata>, <Content: A Pátria rádió Világosság református egyházi műsorának augusztus 18-ai ajánlata>, '...(remaining elements truncated)...'] |
slug | None |
taglist | [''] |
/home/reformata/www/reformata/general/utils.py
in render_page
params["base_template"] = "layouts/subpage.html"
params['current_date'] = datetime.now()
response = HttpResponse(mimetype='text/html')
t = loader.get_template(template)
c = RequestContext(request, params)
response.write(t.render(c))...
return response
def render_admin( request, template, params ):
response = HttpResponse(mimetype='text/html')
if request.user.is_staff:
Variable | Value |
---|---|
c | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
toplevel | [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>] |
params | {'active_mainmenu': None, 'active_menu': None, 'attached_files': [], 'attached_galleries': [], 'base_template': 'layouts/subpage_details.html', 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'fotok': {'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': [], 'utolso': None}, 'pagetype': 'details', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]} |
t | <django.template.base.Template object at 0x7f7dfc226bd0> |
template | u'main/content/hir.html' |
response | <django.http.HttpResponse object at 0x7f7e117d7b10> |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7dfc226bd0> |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-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"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7dfc226bd0> |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-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 = self.render_node(node, context)...
else:
bit = node
bits.append(force_unicode(bit))
return mark_safe(u''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends base_template> |
self | [<ExtendsNode: extends base_template>] |
bits | [] |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception, e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends base_template> |
self | [<ExtendsNode: extends base_template>] |
e | FieldDoesNotExist("Esemeny has no field named 'name'",) |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render
blocks = dict([(n.name, n) for n in
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.
return compiled_parent._render(context)...
class BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f7de00a7a50> |
blocks | {u'containerclass': <Block Node: containerclass. Contents: []>, u'content': <Block Node: content. Contents: [<Text Node: 'Tartalom'>]>, u'contentclass': <Block Node: contentclass. Contents: []>, u'header_media': <Block Node: header_media. Contents: []>, u'title': <Block Node: title. Contents: [<Text Node: 'Reformata.sk'>, <IfNode>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7df83b9d90> |
n | <Block Node: content. Contents: [<Text Node: 'Tartalom'>]> |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
compiled_parent | <django.template.base.Template object at 0x7f7de00a7910> |
self | <ExtendsNode: extends base_template> |
/usr/local/lib/python2.7/dist-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"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f7de00a7910> |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-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 = self.render_node(node, context)...
else:
bit = node
bits.append(force_unicode(bit))
return mark_safe(u''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.base.InclusionNode object at 0x7f7df428f150> |
bit | u'\r\n\t\t\t' |
bits | [u'\r\n', u'', u'\r\n', u'', u'\r\n\r\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n<!-- \r\n\teSolution Ltd. \xa9 2009\r\n\thttp://www.esolution.hu\r\n-->\r\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">\r\n<head>\r\n\t<title>', u'Reformata.sk| A Vil\xe1goss\xe1g reform\xe1tus egyh\xe1zi m\u0171sor 2018. j\xfalius 15-ei aj\xe1nlata', u'</title>\r\n\t<meta http-equiv="content-type" content="text/html; charset=utf-8" />\r\n\t<meta name="description" content="" />\r\n\t<meta name="keywords" content="" />\r\n\t<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />\r\n\t<meta property="fb:admins" content="1024682952,100000537476239"/>\r\n\r\n\t<link rel="profile" href="http://microformats.org/profile/hcard" />\r\n\t<link rel="apple-touch-icon" href="/public/images/apple-touch-icon_57.png"/>\r\n\t<link rel="shortcut icon" href="/public/images/favicon.ico" />\r\n\r\n\r\n\t<link rel="stylesheet" type="text/css" href="/public/css/reset.css" media="screen" />\r\n\t<link rel="stylesheet" type="text/css" href="/public/css/print.css" media="print" />\r\n\t<link rel="stylesheet" type="text/css" href="/public/css/layouts/default.css" media="screen" />\r\n\t<link rel="stylesheet" type="text/css" href="/public/css/layouts/default-article.css" media="screen" />\r\n\t<link rel="stylesheet" type="text/css" href="/public/css/layouts/default-mobile.css" media="screen,handheld" />\r\n\r\n\r\n\r\n\t<script type="text/javascript" src="/public/js/jquery.min.js"></script>\r\n\t<script type="text/javascript" src="/public/js/script.js"></script>\r\n\t<script type="text/javascript" src="/public/js/selectivizr.min.js"></script>\r\n\t<script type="text/javascript" src="/public/js/jquery.scrollTo-min.js"></script>\r\n\r\n\r\n\t<script type="text/javascript" src="//use.typekit.net/tok8bcj.js"></script>\r\n\t<script type="text/javascript">try{Typekit.load();}catch(e){}</script>\r\n\r\n\t', u'', u'\r\n\r\n</head>\r\n\r\n<body>\r\n\t\r\n\t', u' \r\n<div id="header">\r\n\t\r\n\t<a href="/"><img src="/public/images/default/logo.png" alt="reformata.sk - Szlov\xe1kiai Reformatus Egyhaz" class="logo" /></a>\r\n\t\r\n\r\n\t<ul class="nav">\r\n\t\t<li><a href="/irjon-nekunk/">\xcdrjon nek\xfcnk</a> •</li>\r\n\t\t<li>\r\n \r\n <a href="/i18n/?lan=sk"><img src="/public/images/icons/flag-sk.png" alt="Slovensk\xfd" class="flag" style="margin-top: -5px;"></a>\r\n\t\t\t\r\n </li>\r\n\t</ul>\r\n\t<span class="date">2024. m\xe1rcius 28., cs\xfct\xf6rt\xf6k</span>\r\n\t<form action="/keres/">\r\n \t\t<fieldset>\r\n\t\t\t<input type="text" name="q" value="Keres\xe9s az oldalon..." />\r\n\t\t\t<input type="hidden" name="lan" value="hu" />\r\n\t\t\t<button>Keress!</button>\r\n \t\t</fieldset>\r\n \t</form>\r\n\t<form action="/adatbazis/gyulekezet/">\r\n\t\t<fieldset>\r\n\t\t\t<input type="text" name="gyulekezet" value="Gy\xfclekezetet keresek..." />\r\n\t\t\t<button>Keress!</button>\r\n\t\t</fieldset>\r\n\t</form>\r\n</div>\r\n\r\n<ul id="menu">\r\n\t<li class="home" ><a href="/">C\xedmlap</a></li>\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/egyhazunk/">Egyh\xe1zunk</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/nepszamlalas-2021/">N\xe9psz\xe1ml\xe1l\xe1s 2021</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/gyulekezeteink-/">Gy\xfclekezeteink</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/sajto/">Sajt\xf3</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/presbiter/">Presbiter</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/oktatas/">Oktat\xe1s</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/eztortenik/">Esem\xe9nyek</a>\r\n\t</li>\r\n\t\r\n\t\r\n\t\r\n\t<li>\r\n\t\t<a href="/galeria/lista/">Gal\xe9ria</a>\r\n\t</li>\r\n\t\r\n\t\r\n</ul>\r\n\r\n\r\n\r\n<ul id="featured">\r\n\r\n\t\r\n\t<li><a href="http://refcm.sk/" target="_blank">Cig\xe1nymisszi\xf3</a> •</li>\r\n\t\r\n\t<li><a href="http://refdiakonia.sk/" target="_blank">Diak\xf3nia</a> •</li>\r\n\t\r\n\t<li><a href="http://reformata.sk/lap/egyhazzene/" target="_blank">Egyh\xe1zzene</a> •</li>\r\n\t\r\n\t<li><a href="http://firesz.sk" target="_blank">Firesz</a></li>\r\n\t\r\n</ul>\r\n\r\n\r\n\r\n\r\n', u'\r\n\r\n\t<div id="content" class="', u'article indent', u' clearfix">\r\n\t\t<div class="content ', u'', u'">\r\n\t\t\t\r\n\t\t\t', u'\r\n\r\n<h1>A Vil\xe1goss\xe1g reform\xe1tus egyh\xe1zi m\u0171sor 2018. j\xfalius 15-ei aj\xe1nlata</h1>\r\n\r\n\r\n<span class="date">2018. j\xfalius 13., p\xe9ntek</span>\r\n\r\n<div class="lead"><p>A P\xe1tria r\xe1di\xf3ban a 7.05-kor kezd\u0151d\u0151 m\u0171sor f\u0151 t\xe9m\xe1ja a Jeruzs\xe1lembe \xf6sszeh\xedvott apostoli gy\u0171l\xe9s pog\xe1nykereszty\xe9nekre vonatkoz\xf3 hat\xe1rozata \xe9s annak \xfczenete. Megtartotta diplomaoszt\xf3 \xe9s tan\xe9vz\xe1r\xf3 istentisztelet\xe9t a Reform\xe1tus Teol\xf3giai Kar. A nagykaposi egyh\xe1zk\xf6zs\xe9g is bekapcsol\xf3dott a K\xe1rp\xe1t-medencei reform\xe1tus b\xf6lcs\u0151de- \xe9s \xf3vodafejleszt\xe9si programba.</p></div>\r\n\r\n<ul class="share">\r\n\t<li>\r\n\t\t\r\n<ul>\r\n\t<li>Megoszt\xe1s</li>\r\n\t<li><a href="http://www.facebook.com/sharer.php?u=http://www.reformata.sk/mutat/5114/&locale=HU_hu" class="facebook">facebook</a></li>\r\n\t<li><a href="https://plusone.google.com/_/+1/confirm?hl=hu&url=http://www.reformata.sk/mutat/5114/" class="buzz">google+</a></li>\r\n\t<li><a href="http://twitter.com/home?status=\xc9pp ezt olvasom: http://www.reformata.sk/mutat/5114/" class="twitter">twitter</a></li>\r\n</ul>\r\n\t</li>\r\n\t<li class="send">\r\n\t\t<a href="#" data-url="/levelben-elkuld/5114/">Elk\xfcld</a>\r\n\t</li>\r\n\t<li class="print">\r\n\t\t<a href="#">Nyomtat</a>\r\n\t</li>\r\n\t<li>\r\n\t\t<a href="#" class="small">A</a>\r\n\t\t<a href="#" class="medium">A</a>\r\n\t\t<a href="#" class="big">A</a>\r\n\t</li>\r\n\r\n</ul>\r\n\r\n<div>\r\n\t<p>A farizeusokb\xf3l lett h\xedv\u0151k \xe9s a\xa0j\xfadeaiak is szorgalmazt\xe1k a\xa0pog\xe1nykereszty\xe9nek k\xf6r\xfclmet\xe9l\xe9s\xe9t a\xa0m\xf3zesi t\xf6rv\xe9ny szerint. A\xa0k\xe9rd\xe9s eld\xf6nt\xe9se miatt az apostolok \xe9s a\xa0v\xe9nek gy\u0171l\xe9st h\xedvtak \xf6ssze Jeruzs\xe1lembe. P\xe9ter \xe9s Jakab besz\xe9de ut\xe1n hozott hat\xe1rozat \xfczenet\xe9t Szathm\xe1ry Zsuzsanna nagyk\xe1lnai lelkip\xe1sztor tolm\xe1csolja.</p>\r\n<p>Diplomaoszt\xf3 \xe9s tan\xe9vz\xe1r\xf3 istentiszteletet tartott a Reform\xe1tus Teol\xf3giai Kar a kom\xe1romi reform\xe1tus templomban, amelyen huszonheten vehett\xe9k \xe1t a tanulm\xe1nyaik befejez\xe9s\xe9t igazol\xf3 diplom\xe1t. A hallgat\xf3i l\xe9tsz\xe1m alakul\xe1s\xe1r\xf3l \xe9s a j\xf6v\u0151beli tervekr\u0151l a kar d\xe9k\xe1nj\xe1t Dr. L\xe9vai Attil\xe1t, valamint k\xe9t v\xe9gz\u0151s hallgat\xf3t Varga \xc1got\xe1t \xe9s T\xf3th Kriszti\xe1nt k\xe9rdezz\xfck tanulm\xe1nyaikr\xf3l \xe9s a\xa0terveikr\u0151l.</p>\r\n<p>A nagykaposi egyh\xe1zk\xf6zs\xe9g is bekapcsol\xf3dott a K\xe1rp\xe1t-medencei reform\xe1tus b\xf6lcs\u0151de- \xa0\xe9s \xf3vodafejleszt\xe9si programba. Az elm\xfalt \xe9vben megv\xe1s\xe1rolt telken hamarosan elkezd\u0151dhet \xa0az oktat\xe1si-nevel\xe9si int\xe9zm\xe9ny c\xe9lj\xe1ra sz\xe1nt \xe9p\xfclet \xe9p\xedt\xe9se. Az egyh\xe1zk\xf6zs\xe9g d\xf6nt\xe9s\xe9r\u0151l P\xe1ndy \xc1rp\xe1d nagykaposi lelkip\xe1sztorral besz\xe9lget\xfcnk.</p>\r\n<p>Szerkeszt\u0151-m\u0171sorvezet\u0151: Iski Ibolya.</p>\r\n<p>Ism\xe9tl\xe9sre m\xe1snap, h\xe9tf\u0151n 13.05 \xf3rakor ker\xfcl sor.</p>\r\n</div>\r\n\r\n\r\n<ul class="share">\r\n\t<li>\r\n\t\t\r\n<ul>\r\n\t<li>Megoszt\xe1s</li>\r\n\t<li><a href="http://www.facebook.com/sharer.php?u=http://www.reformata.sk/mutat/5114/&locale=HU_hu" class="facebook">facebook</a></li>\r\n\t<li><a href="https://plusone.google.com/_/+1/confirm?hl=hu&url=http://www.reformata.sk/mutat/5114/" class="buzz">google+</a></li>\r\n\t<li><a href="http://twitter.com/home?status=\xc9pp ezt olvasom: http://www.reformata.sk/mutat/5114/" class="twitter">twitter</a></li>\r\n</ul>\r\n\t</li>\r\n\t<li class="send">\r\n\t\t<a href="#" data-url="/levelben-elkuld/5114/">Elk\xfcld</a>\r\n\t</li>\r\n\t<li class="print">\r\n\t\t<a href="#">Nyomtat</a>\r\n\t</li>\r\n\t<li>\r\n\t\t<a href="#" class="small">A</a>\r\n\t\t<a href="#" class="medium">A</a>\r\n\t\t<a href="#" class="big">A</a>\r\n\t</li>\r\n</ul>\r\n\r\n\r\n', u'\r\n\r\n\t\t\t', u'\n<div id="fb-root"></div>\n<script>(function(d, s, id) {\n\tvar js, fjs = d.getElementsByTagName(s)[0];\n\tif (d.getElementById(id)) return;\n\tjs = d.createElement(s); js.id = id;\n\tjs.src = "//connect.facebook.net/HU_hu/all.js#xfbml=1";\n\tfjs.parentNode.insertBefore(js, fjs);\n}(document, \'script\', \'facebook-jssdk\'));</script>\n<div class="fb-comments" data-href="http://www.reformata.sk/mutat/5114/" data-num-posts="5" data-width="500"></div>\n', u'\r\n\r\n\t\t</div>\r\n\r\n', u'', u'\t\t\t\r\n\r\n\t\t<div class="right">\r\n\t\t\t', u'\r\n\t\t\t\r\n\r\n\r\n<div id="portlet_related" class="related">\r\n\t\r\n\r\n\t<h2><span>C\xedmk\xe9k</span></h2>\r\n\t<div class="tags">\r\n\t\t\r\n\t\t<a href="#">Nincsenek c\xedmk\xe9k</a>\r\n\t\t\r\n\t</div>\r\n\r\n\t\r\n\t<div class="related">\r\n\t\t<h2>Kapcsol\xf3d\xf3</h2>\r\n\t\t<ul>\r\n\t\t\t\r\n\t\t\t<li><a href="/mutat/8326/">A Vil\xe1goss\xe1g reform\xe1tus egyh\xe1zi m\u0171sor 2024. m\xe1rcius 24-ei aj\xe1nlata</a></li>\r\n\t\t\t\r\n\t\t\t<li><a href="/mutat/8325/">JUTALOM lapbemutat\xf3</a></li>\r\n\t\t\t\r\n\t\t\t<li><a href="/mutat/8324/">A K\xe1lvinista Szemle m\xe1rciusi sz\xe1m\xe1b\xf3l</a></li>\r\n\t\t\t\r\n\t\t\t<li><a href="/mutat/8313/">A Vil\xe1goss\xe1g reform\xe1tus egyh\xe1zi m\u0171sor 2024. m\xe1rcius 10-ei aj\xe1nlata</a></li>\r\n\t\t\t\r\n\t\t\t<li><a href="/mutat/8245/">A Vil\xe1goss\xe1g reform\xe1tus egyh\xe1zi m\u0171sor 2024. febru\xe1r 25-ei aj\xe1nlata</a></li>\r\n\t\t\t\r\n\t\t</ul>\r\n\t</div>\r\n\t\r\n\r\n\t\r\n\r\n\t\r\n</div>\r\n\t\t\t', u'\r\n\t\t\t'] |
self | [<Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f7de00a7a50>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f7de00a7390>, <Text Node: ' <!DOCTYPE html PUBLIC'>, <Block Node: title. Contents: [<Text Node: 'Reformata.sk'>, <IfNode>]>, <Text Node: '</title> <meta http-equ'>, <Block Node: header_media. Contents: []>, <Text Node: ' </head> <body> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7de00a76d0>, <Text Node: ' <div id="content" cl'>, <Block Node: containerclass. Contents: []>, <Text Node: ' clearfix"> <div class'>, <Block Node: contentclass. Contents: []>, <Text Node: '"> '>, <Block Node: content. Contents: [<Text Node: 'Tartalom'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7df428f890>, <Text Node: ' </div> '>, <django.template.defaulttags.CommentNode object at 0x7f7df428fed0>, <Text Node: ' <div class="righ'>, <IfEqualNode>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0x7f7df428f150>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0x7f7df428f790>, <Text Node: ' </div> </div>'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7df428fa90>, <Text Node: ' </body> </html> '>] |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception, e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <django.template.base.InclusionNode object at 0x7f7df428f150> |
self | [<Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f7de00a7a50>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f7de00a7390>, <Text Node: ' <!DOCTYPE html PUBLIC'>, <Block Node: title. Contents: [<Text Node: 'Reformata.sk'>, <IfNode>]>, <Text Node: '</title> <meta http-equ'>, <Block Node: header_media. Contents: []>, <Text Node: ' </head> <body> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7de00a76d0>, <Text Node: ' <div id="content" cl'>, <Block Node: containerclass. Contents: []>, <Text Node: ' clearfix"> <div class'>, <Block Node: contentclass. Contents: []>, <Text Node: '"> '>, <Block Node: content. Contents: [<Text Node: 'Tartalom'>]>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7df428f890>, <Text Node: ' </div> '>, <django.template.defaulttags.CommentNode object at 0x7f7df428fed0>, <Text Node: ' <div class="righ'>, <IfEqualNode>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0x7f7df428f150>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0x7f7df428f790>, <Text Node: ' </div> </div>'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f7df428fa90>, <Text Node: ' </body> </html> '>] |
e | FieldDoesNotExist("Esemeny has no field named 'name'",) |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in render
def dec(func):
params, varargs, varkw, defaults = getargspec(func)
class InclusionNode(TagHelperNode):
def render(self, context):
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
_dict = func(*resolved_args, **resolved_kwargs)...
if not getattr(self, 'nodelist', False):
from django.template.loader import get_template, select_template
if isinstance(file_name, Template):
t = file_name
elif not isinstance(file_name, basestring) and is_iterable(file_name):
Variable | Value |
---|---|
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
resolved_kwargs | {} |
self | <django.template.base.InclusionNode object at 0x7f7df428f150> |
file_name | 'portlets/container.html' |
func | <function portlet_container at 0x7f7e049f5de8> |
resolved_args | [[{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}], u'cikkoldal_bal', 'hu'] |
context_class | <class 'django.template.context.Context'> |
/home/reformata/www/reformata/layout/templatetags/portlet_tags.py
in portlet_container
if t:
return { "portlets" : t }
temp = get_portlets_for_container( loc, lan )
# TODO Cachelni a portleteket is
rendered_portlets = []
for portlet in temp:
rendered_portlets.append(portlet.render(context, width))...
if ctime>0:
cache.set( "pcont_%s_%s" % (loc.slug, lan), rendered_portlets, ctime )
return { "portlets" : rendered_portlets }
Variable | Value |
---|---|
loc | <PortletLocation: Cikkoldal - bal oszlop> |
lan | 'hu' |
portlet | <Portlet: események doboz (Esemény lista)> |
ctime | 0 |
temp | [<Portlet: események doboz (Esemény lista)>] |
rendered_portlets | [] |
request | "<WSGIRequest\npath:/mutat/5114/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'DOCUMENT_ROOT': '/home/reformata/www/reformata',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.reformata.sk',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/mutat/5114/',\n 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.165.122.173',\n 'REMOTE_PORT': '52520',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/mutat/5114/',\n 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.67',\n 'SERVER_ADMIN': 'root@reformata.sk',\n 'SERVER_NAME': 'www.reformata.sk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-CUSTOM-ORIGPATH': u'/mutat/5114/',\n 'mod_wsgi.application_group': 'www.reformata.sk|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'reformata.sk',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
slot_name | u'cikkoldal_bal' |
width | None |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/home/reformata/www/reformata/layout/models.py
in render
if "x" in "%s" % width:
params["thumbnail_width"] = "%s" % width
else:
params["thumbnail_width"] = "%sx0" % width
o = getattr( self, portlet_name )
ret = o.render( context=context, params=params )...
if self.cache_time>0:
cache.set( self.cache_key(), ret, self.cache_time )
return ret
raise NotImplemented()
def settings(self):
Variable | Value |
---|---|
portlet_name | 'esemenyportlet' |
o | <EsemenyPortlet: események doboz (Esemény lista)> |
width | 290 |
params | {'container_width': 290, 'id': u'portlet_esemenyek-doboz', 'p': {'custom_css_class': u'', 'custom_css_style': u'', 'description': u'', 'hide_if_empty': False, 'id': 1L, 'image': <ImageFieldFile: None>, 'infotext': u'', 'name': u'esem\xe9nyek doboz', 'show_description': False, 'show_portletname': True, 'slug': u'esemenyek-doboz', 'title': u'esem\xe9nyek', 'type': <PortletType: Esemény lista>, 'url': None}, 'thumbnail_width': '290x0'} |
t | None |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
self | <Portlet: események doboz (Esemény lista)> |
/home/reformata/www/reformata/layout/models.py
in render
if self.is_special=='igen':
lst = lst.filter( is_special=True )
else:
lst = lst.filter( is_special=False )
return lst
def render(self, context=None, params={}):
cnt = self.get_content()...
if self.hide_if_empty and len(cnt)==0:
return mark_safe(u"<!-- Elrejtve: %s -->" % self.slug)
return render_to_string(self.get_template(), merge_params(params, {
'object_list' : cnt,
'show_category': self.show_category,
'helyszin': self.helyszin,
Variable | Value |
---|---|
self | <EsemenyPortlet: események doboz (Esemény lista)> |
params | {'container_width': 290, 'id': u'portlet_esemenyek-doboz', 'p': {'custom_css_class': u'', 'custom_css_style': u'', 'description': u'', 'hide_if_empty': False, 'id': 1L, 'image': <ImageFieldFile: None>, 'infotext': u'', 'name': u'esem\xe9nyek doboz', 'show_description': False, 'show_portletname': True, 'slug': u'esemenyek-doboz', 'title': u'esem\xe9nyek', 'type': <PortletType: Esemény lista>, 'url': None}, 'thumbnail_width': '290x0'} |
context | [{'attached_files': [], 'active_mainmenu': None, 'attached_galleries': [], 'active_menu': None, 'content': <News: A Világosság református egyházi műsor 2018. július 15-ei ajánlata>, 'current_date': datetime.datetime(2024, 3, 28, 19, 15, 33, 556123), 'pagetype': 'details', 'fotok': {'utolso': None, 'felirat': u'Tov\xe1bbi k\xe9pek', 'tobbi': []}, 'base_template': 'layouts/subpage_details.html', 'related_content_list': [<Content: A Világosság református egyházi műsor 2024. március 24-ei ajánlata>, <Content: JUTALOM lapbemutató>, <Content: A Kálvinista Szemle márciusi számából>, <Content: A Világosság református egyházi műsor 2024. március 10-ei ajánlata>, <Content: A Világosság református egyházi műsor 2024. február 25-ei ajánlata>]}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7f7dfc20a710>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f7dfc20a610>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f7e06422610>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f7e064223d0>}, {'request': <WSGIRequest path:/mutat/5114/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/home/reformata/www/reformata', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.reformata.sk', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/mutat/5114/', 'PATH_TRANSLATED': '/home/reformata/www/reformata.wsgi/mutat/5114/', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.165.122.173', 'REMOTE_PORT': '52520', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/mutat/5114/', 'SCRIPT_FILENAME': '/home/reformata/www/reformata.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.67', 'SERVER_ADMIN': 'root@reformata.sk', 'SERVER_NAME': 'www.reformata.sk', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-CUSTOM-ORIGPATH': u'/mutat/5114/', 'mod_wsgi.application_group': 'www.reformata.sk|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'reformata.sk', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7f7ddc22d6b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f7dfc245648>, 'wsgi.input': <mod_wsgi.Input object at 0x7f7ddc22dd70>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'flavour': u'full'}, {'linktar_lablec': [{'links': [{'title': u'Zempl\xe9ni Reform\xe1tus Egyh\xe1zmegye', 'id': 24L, 'is_newwindow': True}, {'title': u'G\xf6m\xf6ri Reform\xe1tus Egyh\xe1zmegye', 'id': 26L, 'is_newwindow': True}, {'title': u'Barsi Reform\xe1tus Egyh\xe1zmegye', 'id': 29L, 'is_newwindow': True}], 'title': u'Egyh\xe1zmegy\xe9k'}, {'links': [{'title': u'Selye J\xe1nos Egyetem Reform\xe1tus Teol\xf3giai Kar', 'id': 14L, 'is_newwindow': True}, {'title': u'Tompa Mih\xe1ly Reform\xe1tus Gimn\xe1zium', 'id': 13L, 'is_newwindow': True}, {'title': u'Czegl\xe9di P\xe9ter Reform\xe1tus Gimn\xe1zium', 'id': 46L, 'is_newwindow': True}, {'title': u'Calvin J. Teol\xf3giai Akad\xe9mia', 'id': 22L, 'is_newwindow': True}], 'title': u'Oktat\xe1s'}, {'links': [{'title': u'K\xe1lvin Kiad\xf3', 'id': 5L, 'is_newwindow': True}, {'title': u'Szeretet.sk', 'id': 2L, 'is_newwindow': True}, {'title': u'Reform\xe1tusok Lapja', 'id': 3L, 'is_newwindow': True}, {'title': u'K\xe1lvincsillag', 'id': 4L, 'is_newwindow': True}, {'title': u'Sola R\xe1di\xf3', 'id': 6L, 'is_newwindow': True}], 'title': u'Sajt\xf3 \xe9s m\xe9dia'}], 'today': datetime.datetime(2024, 3, 28, 19, 15, 33, 967387), 'special_menu': [<MenuItem: Cigánymisszió>, <MenuItem: Diakónia>, <MenuItem: Egyházzene>, <MenuItem: Firesz>], 'top_level_menu': [<MenuSection: Egyházunk>, <MenuSection: Naša cirkev>, <MenuSection: Zo života zborov>, <MenuSection: Cirkevná tlač>, <MenuSection: Udalosti>, <MenuSection: Galéria fotiek>, <MenuSection: Népszámlálás 2021>, <MenuSection: Sčítanie obyvateľov 2021>, <MenuSection: Gyülekezeteink>, <MenuSection: Sajtó>, <MenuSection: Presbiter>, <MenuSection: Oktatás>, <MenuSection: Események>, <MenuSection: Galéria>]}] |
/home/reformata/www/reformata/layout/models.py
in get_content
def select_values(self, lst):
""" Flattenelt lista van, emiatt a lekerdezett mezok nevet portletenkent meg kell adni """
lst = lst.values( 'id','title','teaser_image','slug','teaser','short','category','category__name','category__slug', 'site__slug', 'lan' )
return lst
def get_content(self):
""" Ez vegzi a tenyleges szurest """
t = cache.get( self.content_cache_key() )...
if t:
return t
lst = self.get_base_list()
lst = self.filter_by_contenttype( lst )
lst = self.filter_by_categories( lst )
Variable | Value |
---|---|
self | <EsemenyPortlet: események doboz (Esemény lista)> |
/usr/local/lib/python2.7/dist-packages/django/core/cache/backends/filebased.py
in get
f = open(fname, 'rb')
try:
exp = pickle.load(f)
now = time.time()
if exp < now:
self._delete(fname)
else:
return pickle.load(f)...
finally:
f.close()
except (IOError, OSError, EOFError, pickle.PickleError):
pass
return default
Variable | Value |
---|---|
key | ':1:p_content_1' |
exp | 1711649750.29059 |
f | <closed file '/tmp/django_reformata_cache/22/55/e1629695f45ce7635012fa2e5cd5', mode 'rb' at 0x7f7df83e6300> |
default | None |
self | <django.core.cache.backends.filebased.FileBasedCache object at 0x7f7e10897090> |
version | None |
fname | '/tmp/django_reformata_cache/22/55/e1629695f45ce7635012fa2e5cd5' |
now | 1711649735.033131 |
/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py
in __setstate__
"""
Unpickling support.
"""
# Rebuild list of field instances
opts = obj_dict['model']._meta
obj_dict['select_fields'] = [
name is not None and opts.get_field(name) or None
for name in obj_dict['select_fields']...
]
self.__dict__.update(obj_dict)
def prepare(self):
return self
Variable | Value |
---|---|
obj_dict | {'_aggregate_select_cache': {}, '_extra_select_cache': {}, 'aggregate_select_mask': set(), 'aggregates': {}, 'alias_map': {'contents_content': ('contents_content', 'contents_content', 'INNER JOIN', 'contents_esemeny', 'content_ptr_id', 'id', False), 'contents_contentcategory': ('contents_contentcategory', 'contents_contentcategory', 'LEFT OUTER JOIN', 'contents_content', 'category_id', 'id', True), 'contents_contentprovider': ('contents_contentprovider', 'contents_contentprovider', 'INNER JOIN', 'contents_content', 'provider_id', 'id', True), 'contents_esemeny': ('contents_esemeny', 'contents_esemeny', None, None, None, None, False), 'subsite_subsite': ('subsite_subsite', 'subsite_subsite', 'LEFT OUTER JOIN', 'contents_content', 'site_id', 'id', True)}, 'alias_refcount': {'contents_esemeny': 6, 'contents_content': 14, 'contents_contentprovider': 0, 'contents_contentcategory': 2, 'subsite_subsite': 1}, 'default_cols': True, 'default_ordering': True, 'deferred_loading': (set(), True), 'distinct': True, 'distinct_fields': (), 'dupe_avoidance': {}, 'extra': {}, 'extra_order_by': (), 'extra_select_mask': set(), 'extra_tables': (), 'filter_is_sticky': False, 'group_by': None, 'having': <django.db.models.sql.where.WhereNode object at 0x7f7e06424750>, 'high_mark': 10, 'included_inherited_models': {}, 'join_map': {(None, 'contents_esemeny', None, None): ('contents_esemeny',), ('contents_content', 'contents_contentcategory', 'category_id', 'id'): ('contents_contentcategory',), ('contents_content', 'contents_contentprovider', 'provider_id', 'id'): ('contents_contentprovider',), ('contents_content', 'subsite_subsite', 'site_id', 'id'): ('subsite_subsite',), ('contents_esemeny', 'contents_content', 'content_ptr_id', 'id'): ('contents_content',)}, 'low_mark': 0, 'max_depth': 5, 'model': <class 'reformata.contents.models.Esemeny'>, 'order_by': [u'idopont_kezdet'], 'ordering_aliases': [], 'quote_cache': {}, 'related_select_cols': [], 'related_select_fields': [], 'rev_join_map': {'contents_content': ('contents_esemeny', 'contents_content', 'content_ptr_id', 'id'), 'contents_contentcategory': ('contents_content', 'contents_contentcategory', 'category_id', 'id'), 'contents_contentprovider': ('contents_content', 'contents_contentprovider', 'provider_id', 'id'), 'contents_esemeny': (None, 'contents_esemeny', None, None), 'subsite_subsite': ('contents_content', 'subsite_subsite', 'site_id', 'id')}, 'select': [('contents_esemeny', 'content_ptr_id'), ('contents_content', 'title'), ('contents_content', 'slug'), ('contents_content', 'teaser'), ('contents_content', 'teaser_image'), ('contents_content', 'short'), ('contents_content', 'category_id'), ('contents_contentcategory', 'name'), ('contents_contentcategory', 'slug'), ('contents_esemeny', 'helyszin'), ('contents_esemeny', 'idopont_kezdet'), ('contents_content', 'lan'), ('subsite_subsite', 'slug')], 'select_fields': ['id', 'title', 'slug', 'teaser', 'teaser_image', 'short', 'category', 'name', 'slug', 'helyszin', 'idopont_kezdet', 'lan', 'slug'], 'select_for_update': False, 'select_for_update_nowait': False, 'select_related': False, 'standard_ordering': True, 'table_map': {'contents_content': ['contents_content'], 'contents_contentcategory': ['contents_contentcategory'], 'contents_contentprovider': ['contents_contentprovider'], 'contents_esemeny': ['contents_esemeny'], 'subsite_subsite': ['subsite_subsite']}, 'tables': ['contents_esemeny', 'contents_content', 'contents_contentprovider', 'contents_contentcategory', 'subsite_subsite'], 'used_aliases': set(), 'where': <django.db.models.sql.where.WhereNode object at 0x7f7e06424c10>, 'where_class': <class 'django.db.models.sql.where.WhereNode'>} |
self | <django.db.models.sql.query.Query object at 0x7f7e064245d0> |
name | 'name' |
opts | <Options for Esemeny> |
/usr/local/lib/python2.7/dist-packages/django/db/models/options.py
in get_field
"""
Returns the requested field by name. Raises FieldDoesNotExist on error.
"""
to_search = many_to_many and (self.fields + self.many_to_many) or self.fields
for f in to_search:
if f.name == name:
return f
raise FieldDoesNotExist('%s has no field named %r' % (self.object_name, name))...
def get_field_by_name(self, name):
"""
Returns the (field_object, model, direct, m2m), where field_object is
the Field instance for the given name, model is the model containing
this field (None for local fields), direct is True if the field exists
Variable | Value |
---|---|
self | <Options for Esemeny> |
to_search | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.related.ForeignKey: site>, <django.db.models.fields.related.ForeignKey: content_type>, <django.db.models.fields.related.ForeignKey: category>, <django.db.models.fields.related.ForeignKey: provider>, <django.db.models.fields.CharField: title>, <django.db.models.fields.SlugField: slug>, <django.db.models.fields.TextField: teaser>, <django.db.models.fields.TextField: short>, <django.db.models.fields.TextField: content>, <django.db.models.fields.related.ForeignKey: created_by>, <django.db.models.fields.DateTimeField: created_at>, <django.db.models.fields.related.ForeignKey: updated_by>, <django.db.models.fields.DateTimeField: updated_at>, <django.db.models.fields.BooleanField: is_visible>, <django.db.models.fields.BooleanField: is_archived>, <django.db.models.fields.BooleanField: is_special>, <django.db.models.fields.BooleanField: is_on_main>, <django.db.models.fields.files.ImageField: teaser_image>, <django.db.models.fields.IntegerField: num_visits>, <django.db.models.fields.CharField: lan>, <django.db.models.fields.BooleanField: site_is_visible>, <django.db.models.fields.BooleanField: site_is_archived>, <django.db.models.fields.BooleanField: site_is_special>, <django.db.models.fields.BooleanField: site_is_on_main>, <django.db.models.fields.DateTimeField: visible_from>, <django.db.models.fields.DateTimeField: visible_until>, <django.db.models.fields.CharField: taglist>, <django.db.models.fields.CharField: author_name>, <django.db.models.fields.CharField: category_name>, <django.db.models.fields.related.OneToOneField: content_ptr>, <django.db.models.fields.DateField: idopont_kezdet>, <django.db.models.fields.DateField: idopont_veg>, <django.db.models.fields.CharField: helyszin>, <taggit.managers.TaggableManager object at 0x7f7e111c42d0>, <django.contrib.contenttypes.generic.GenericRelation: tagged_items>] |
many_to_many | True |
name | 'name' |
f | <django.contrib.contenttypes.generic.GenericRelation: tagged_items> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
X-CUSTOM-ORIGPATH | u'/mutat/5114/' |
SERVER_SOFTWARE | 'Apache/2.2.22 (Ubuntu)' |
SCRIPT_NAME | u'' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.22 (Ubuntu) Server at www.reformata.sk Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/mutat/5114/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.reformata.sk' |
REMOTE_PORT | '52520' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/reformata/www/reformata.wsgi/mutat/5114/' |
SERVER_PORT | '80' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '192.168.9.67' |
DOCUMENT_ROOT | '/home/reformata/www/reformata' |
mod_wsgi.process_group | 'reformata.sk' |
SCRIPT_FILENAME | '/home/reformata/www/reformata.wsgi' |
SERVER_ADMIN | 'root@reformata.sk' |
wsgi.input | <mod_wsgi.Input object at 0x7f7ddc22dd70> |
HTTP_HOST | 'www.reformata.sk' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/mutat/5114/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 1) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f7ddc22d6b0> |
REMOTE_ADDR | '54.165.122.173' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (3, 3) |
mod_wsgi.application_group | 'www.reformata.sk|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
reformata.settings
Setting | Value |
---|---|
COMPRESS_URL | '/public/' |
DEBUG_TOOLBAR_PANELS | ('debug_toolbar.panels.timer.TimerDebugPanel', 'debug_toolbar.panels.headers.HeaderDebugPanel', 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel', 'debug_toolbar.panels.template.TemplateDebugPanel', 'debug_toolbar.panels.sql.SQLDebugPanel', 'debug_toolbar.panels.signals.SignalDebugPanel', 'debug_toolbar.panels.logger.LoggingPanel') |
SPECIAL_CONTENTS | [] |
USE_L10N | False |
HAYSTACK_SEARCH_ENGINE | 'whoosh' |
MATH_CAPTCHA_OPERATORS | '+-' |
CACHE_COMMON | 10 |
HAYSTACK_WHOOSH_PATH | '/home/reformata/www/reformata/tmp/searchindex' |
SUBDOMAIN_MNG_DIR | 'lap/' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'hu' |
ROOT_URLCONF | 'reformata.urls' |
MANAGERS | (('Roodie', 'istvan.farkas@gmail.com'),) |
DEFAULT_CHARSET | 'utf-8' |
LELKESZ_VALASZOL_EMAIL | 'reformata@reformata.sk' |
STATIC_ROOT | '' |
TEST_CHARSET | 'utf-8' |
USE_THOUSAND_SEPARATOR | False |
RECAPTCHA_PUBLIC_KEY | u'********************' |
CACHE_PORTLET_FILTERS | 0 |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.6 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CACHE_LONG | 0 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'reformata', 'OPTIONS': {'init_command': 'SET storage_engine=MYISAM'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Budapest', 'USER': 'reformata'}} |
STORAGE_DOCUMENTS_LOCATION | '/home/reformata/www/reformata/data/documents' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor-2.4.6.jar' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
THUMBNAIL_PAGE | (500, 500) |
CONTACT_FORM_EMAIL | 'reformata@reformata.sk' |
THUMBNAIL_DEFAULT | (140, 140) |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
MEDIA_ROOT | '/home/reformata/www/reformata/data/' |
DEFAULT_PORTLET_WIDTH | 290 |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/tmp/django_reformata_cache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
NEWSLETTER_FORM_EMAIL | 'reformata@reformata.sk' |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_sorting.middleware.SortingMiddleware', 'pagination.middleware.PaginationMiddleware', 'django_mobile.middleware.MobileDetectionMiddleware', 'django_mobile.middleware.SetFlavourMiddleware', 'breadcrumbs.middleware.BreadcrumbsMiddleware', 'general.middlewares.URLRewriteMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
THUMBNAIL_MED_PAGE | (600, 600) |
MATH_CAPTCHA_NUMBERS | (1, 2, 3, 4, 5) |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
ROOT_DIR | '/' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
DEFAULT_SORT_DOWN | '<span class="ui-icon ui-icon-arrowthick-1-s floatright" />' |
TEMPLATE_LOADERS | ('django_mobile.loader.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'file:///tmp/django_reformata_cache' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
BASE_PATH | '/home/reformata/www/reformata' |
TWINNING_FORM_EMAIL | 'reformata@reformata.sk' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CACHE_PORTLET_LOCATIONS | 0 |
SESSION_FILE_PATH | None |
COMPRESS_JS_FILTERS | ['compressor.filters.yui.YUIJSFilter'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.messages', 'haystack', 'django_sorting', 'easy_thumbnails', 'pagination', 'debug_toolbar', 'taggit', 'subsite', 'contents', 'layout', 'admin', 'general', 'userprofile', 'navigation', 'south', 'closedarea', 'mediamanager', 'mptt', 'faq', 'feedutil', 'custom', 'links', 'upload', 'downloads', 'adatbazis', 'newsletter', 'simplemathcaptcha', 'django_mobile', 'guardian', 'snowpenguin.django.recaptcha2') |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CACHE_MIDDLEWARE_ALIAS | 'default' |
EMAIL_FILE_PATH | '/home/reformata/www/reformata/log/email' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/admin/jog/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
STORAGE_MEDIA_LOCATION | '/home/reformata/www/reformata/data/media' |
TIME_FORMAT | 'P' |
CLOSEDAREA_DOWNLOAD_NUMBER | 5 |
HAYSTACK_SITECONF | 'reformata.search_config' |
THUMBNAIL_SUBDIR | 'thumbs' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%Y/%m/%d', '%Y.%m.%d.', '%Y. %m. %d.', '%Y.%m.%d', '%Y. %m. %d', '%Y %B %d', '%Y. %B %d.') |
STORAGE_DOCUMENTS_URL | '/data/documents/' |
COMPRESS_CSS_FILTERS | ['compressor.filters.yui.YUICSSFilter'] |
AUTHENTICATION_BACKENDS | ('reformata.userprofile.backends.EmailModelBackend', 'django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend') |
EMAIL_HOST_PASSWORD | u'********************' |
CLOSEDAREA_NORMAL_NUMBER | 3 |
AUTH_PROFILE_MODULE | 'userprofile.UserProfile' |
AJAX_LOOKUP_CHANNELS | {'content': {'model': 'contents.content', 'search_field': 'title'}} |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
FORBIDDEN_SLUGS | ['admin', 'console', 'public', 'data', 'rss', 'menu', 'cikk', 'hir', 'galeria', 'login', 'logout', 'rovat', 'cimke', 'dokumentum', 'felhasznalo', 'zart', 'url', 'fototar', 'ajax', 'eztortenik', 'lelkeszvalaszol', 'evfordulo', 'hirlevel', 'letoltesek'] |
DECIMAL_SEPARATOR | '.' |
COMPRESS_PRECOMPILERS | (('text/x-sass', 'sass {infile} {outfile}'),) |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
CLOSEDAREA_STICKY_NUMBER | 5 |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'mx1.ttre.hu' |
DATE_FORMAT | 'N j, Y' |
MPTT_ADMIN_LEVEL_INDENT | 20 |
MATH_CAPTCHA_QUESTION | u'K\xe9rj\xfck v\xe1laszoljon a k\xe9rd\xe9sre. Mennyi ' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Roodie', 'istvan.farkas@gmail.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMPRESS_ROOT | '/home/reformata/www/reformata/public' |
FIXED_GROUPS | [u'Adminisztr\xe1tor'] |
MEDIA_URL | '/data/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/reformata/www/reformata/templates/',) |
DEFAULT_SORT_UP | '<span class="ui-icon ui-icon-arrowthick-1-n floatright" />' |
NUM_NEWS_ON_MAIN | 5 |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
STORAGE_MEDIA_URL | '/data/media/' |
CACHE_CONTENT_CATEGORIES | 0 |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'debug': {'format': '%(asctime)s: %(message)s'}, 'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(asctime)s %(levelname)s [%(module)s/ %(funcName)s]: %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'DEBUG'}, 'logfile_audit': {'class': 'logging.FileHandler', 'filename': '/home/reformata/www/reformata/log/audit.log', 'formatter': 'verbose', 'level': 'INFO'}, 'logfile_debug': {'class': 'logging.FileHandler', 'filename': '/home/reformata/www/reformata/log/debug.log', 'formatter': 'debug', 'level': 'DEBUG'}, 'logfile_default': {'class': 'logging.FileHandler', 'filename': '/home/reformata/www/reformata/log/default.log', 'formatter': 'verbose', 'level': 'ERROR'}}, 'loggers': {'reformata.audit': {'handlers': ['logfile_audit'], 'level': 'INFO'}, 'reformata.debug': {'handlers': ['logfile_debug'], 'level': 'DEBUG'}, 'reformata.default': {'handlers': ['console', 'logfile_default'], 'level': 'ERROR'}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
SITE_DOMAIN_NAME | 'http://reformata.sk' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
DEFAULT_PORTLET_MARGIN | 2 |
CACHE_PORTLET_PLACEMENTS | 0 |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Budapest' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 524288 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'django_mobile.context_processors.flavour', 'navigation.context_processors.commondata') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'reformata.settings' |
USE_ETAGS | False |
LANGUAGES | (('hu', u'Magyar'), ('sk', u'Slovensk\xfd')) |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | None |
EMAIL_PORT | 25 |
SITE_TOKEN | u'********************' |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
SUBDOMAINS_SUPPORTED | False |
CACHE_MIDDLEWARE_SECONDS | 600 |
DEBUG_TOOLBAR_CONFIG | {'INTERCEPT_REDIRECTS': False} |
ANONYMOUS_USER_ID | -1 |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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 500 page.