"Unknown language code 'hu-hu'."
Request Method: | GET |
---|---|
Request URL: | http://csillagpont2013.reformatus.hu/ |
Django Version: | 1.4.5 |
Exception Type: | KeyError |
Exception Value: | "Unknown language code 'hu-hu'." |
Exception Location: | /home/reformatus/csp2013/env/lib/python2.7/site-packages/django/utils/translation/__init__.py in get_language_info, line 165 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/home/reformatus/csp2013/env/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/home/reformatus/csp2013/env/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/home/reformatus/csp2013/env/lib/python2.7/site-packages', '/home/reformatus/csp2013/env/lib/python2.7/site-packages/PIL', '/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/local/lib/python2.7/dist-packages/setuptools-0.6c11-py2.7.egg-info', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/home/reformatus/csp2013/env/lib/python2.7/site-packages', '/home/reformatus/csp2013/esolportal', '/home/reformatus/csp2013', '/home/reformatus/csp2013/csillagpont'] |
Server time: | pén, 29 Már 2024 08:27:28 +0100 |
In template /home/reformatus/csp2013/csillagpont/templates/index.html
, error at line 9
1 | {% extends "layout/index.html" %} |
---|---|
2 | {% load general_tags %} |
3 | {% load pagination_tags %} |
4 | {% load thumbnail %} |
5 | {% load url from future %} |
6 | {% load i18n %} |
7 | |
8 | {% block content %} |
9 | {% get_language_info for LANGUAGE_CODE as lang %} |
10 | {% endblock %} |
11 |
/home/reformatus/csp2013/env/lib/python2.7/site-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 '/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | KeyError("Unknown language code 'hu-hu'.",) |
callback_args | () |
settings | <django.conf.LazySettings object at 0xae52ed8c> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xae23662c>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xb67355cc> |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\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 Home at 0xad596f7c> |
resolver | <RegexURLResolver csillagpont.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'csillagpont.urls' |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/views/generic/base.py
in view
raise TypeError(u"%s() received an invalid keyword %r" % (
cls.__name__, key))
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <csillagpont.views.Home object at 0xad0d2d6c> |
args | () |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
kwargs | {} |
cls | <class 'csillagpont.views.Home'> |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
self.request = request
self.args = args
self.kwargs = kwargs
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
allowed_methods = [m for m in self.http_method_names if hasattr(self, m)]
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
Variable | Value |
---|---|
self | <csillagpont.views.Home object at 0xad0d2d6c> |
handler | <bound method Home.get of <csillagpont.views.Home object at 0xad0d2d6c>> |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
args | () |
kwargs | {} |
/home/reformatus/csp2013/esolportal/esolportal/navigation/genericviews.py
in get
A generic render function, called uniformly by both get and
post by default - required for the content sender for example
"""
context = self.get_context_data(**kwargs)
return render_page( request, self.get_template_names(), context )
def get(self, request, *args, **kwargs):
return self.render(request, *args, **kwargs)...
def post(self, request, *args, **kwargs):
return self.render(request, *args, **kwargs)
class PortalHome( PortalTemplateView ):
Variable | Value |
---|---|
self | <csillagpont.views.Home object at 0xad0d2d6c> |
args | () |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
kwargs | {} |
/home/reformatus/csp2013/esolportal/esolportal/navigation/genericviews.py
in render
def render(self, request, *args, **kwargs):
"""
A generic render function, called uniformly by both get and
post by default - required for the content sender for example
"""
context = self.get_context_data(**kwargs)
return render_page( request, self.get_template_names(), context )...
def get(self, request, *args, **kwargs):
return self.render(request, *args, **kwargs)
def post(self, request, *args, **kwargs):
return self.render(request, *args, **kwargs)
Variable | Value |
---|---|
self | <csillagpont.views.Home object at 0xad0d2d6c> |
args | () |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
context | {'index_kiemelt_nagy': [], 'params': {}} |
kwargs | {} |
/home/reformatus/csp2013/esolportal/esolportal/layout/utils.py
in render_page
t = get_template(template)
# For the time being, let's place it here
if getattr(request, 'menu_actual', None):
params['menu_prefix'] = request.menu_actual.get_display_link()
c = RequestContext(request, params)
response.write(t.render(c))...
return response
Variable | Value |
---|---|
c | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
request | "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd',\n 'DOCUMENT_ROOT': '/home/reformatus/csp2013',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'csillagpont2013.reformatus.hu',\n 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/',\n 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.220.43.170',\n 'REMOTE_PORT': '50096',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/',\n 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '192.168.9.54',\n 'SERVER_ADMIN': 'root@reformatus.hu',\n 'SERVER_NAME': 'csillagpont2013.reformatus.hu',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)',\n 'X-ESOLR-ORIGPATH': u'/',\n 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|',\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': 'csp2013.reformatus.hu',\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 0xacb25980>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>,\n 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
params | {'index_kiemelt_nagy': [], 'params': {}} |
t | <django.template.base.Template object at 0xad0d24cc> |
template | ['index.html'] |
response | <django.http.HttpResponse object at 0xad0d2d4c> |
/home/reformatus/csp2013/env/lib/python2.7/site-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 0xad0d24cc> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xad0d24cc> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 "layout/index.html"> |
self | [<ExtendsNode: extends "layout/index.html">] |
bits | [] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 "layout/index.html"> |
self | [<ExtendsNode: extends "layout/index.html">] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 | <ExtendsNode: extends "layout/html.html"> |
block_context | <django.template.loader_tags.BlockContext object at 0xad0cd36c> |
compiled_parent | <django.template.base.Template object at 0xad0cdfac> |
self | <ExtendsNode: extends "layout/index.html"> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xad0cdfac> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 "layout/html.html"> |
self | [<ExtendsNode: extends "layout/html.html">] |
bits | [] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 "layout/html.html"> |
self | [<ExtendsNode: extends "layout/html.html">] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 0xad0d650c> |
blocks | {u'body': <Block Node: body. Contents: []>, u'body_class': <Block Node: body_class. Contents: []>, u'header_media': <Block Node: header_media. Contents: []>, u'jslib': <Block Node: jslib. Contents: []>, u'title': <Block Node: title. Contents: [<Variable Node: request.site.name>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0xad0cd36c> |
n | <Block Node: jslib. Contents: []> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
compiled_parent | <django.template.base.Template object at 0xad0cd3ec> |
self | <ExtendsNode: extends "layout/html.html"> |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xad0cd3ec> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 | <Block Node: body. Contents: []> |
bit | u'\r\n\t</div>\r\n</header>\r\n\r\n' |
bits | [u'', u'\r\n', u'', u'\r\n', u'', u'\r\n', u'', u'\r\n', u'', u'\r\n<!doctype html>\r\n<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="', u'hu-hu', u'"> <![endif]-->\r\n<!--[if IE 7]> <html class="no-js ie7 oldie" lang="', u'hu-hu', u'"> <![endif]-->\r\n<!--[if IE 8]> <html class="no-js ie8 oldie" lang="', u'hu-hu', u'"> <![endif]-->\r\n<!--[if IE 9]> <html class="no-js ie9 oldie" lang="', u'hu-hu', u'"> <![endif]-->\r\n<!--[if gt IE 9]><!--> <html class="no-js" lang="', u'hu-hu', u'"> <!--<![endif]-->\r\n<head>\r\n <meta charset="utf-8">\r\n <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\r\n <meta http-equiv="content-type" content="text/html; charset=utf-8" />\r\n <meta name="viewport" content="width=device-width">\r\n <meta name="description" content="">\r\n <title>', u'Csillagpont', u'</title>\r\n\r\n\t<!--[if lt IE 9]>\r\n\t\t<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>\r\n\t<![endif]-->\r\n\r\n ', u'\r\n\r\n <link rel="stylesheet" href="', u'/static/layout/css/layout.css', u'">\r\n ', u'', u'\r\n\r\n <script type="text/javascript" src="//use.typekit.net/gix8wez.js"></script>\r\n\t<script type="text/javascript">try{Typekit.load();}catch(e){}</script>\r\n\r\n ', u'\r\n <div id="fb-root"></div>\r\n <script>(function(d, s, id) {\r\n var js, fjs = d.getElementsByTagName(s)[0];\r\n if (d.getElementById(id)) return;\r\n js = d.createElement(s); js.id = id;\r\n js.src = "//connect.facebook.net/hu_HU/all.js#xfbml=1&appId=525871727452810";\r\n fjs.parentNode.insertBefore(js, fjs);\r\n }(document, \'script\', \'facebook-jssdk\'));</script>\r\n\r\n</head>\r\n\r\n<body class="', u'', u' ', u'hu-hu', u'">\r\n\r\n<header>\r\n\t<div class="wrap">\r\n\t\t<a href="/" id="logo">Csillagpont</a>\r\n\t\t<nav id="lang">\r\n\t\t\t', u'\r\n <a href="/i18n/?lan=hu" >Magyar</a>\r\n \r\n <a href="/i18n/?lan=en" >English</a>\r\n \r\n <a href="/i18n/?lan=de" >Deutsch</a>\r\n ', u'\r\n\t\t</nav>\r\n\t\t<form action="', u'/keres/tartalom/', u'" method="get">\r\n\t\t\t<input type="text" placeholder="Keres\xe9s az oldalon" name="q" value="', u'', u'" />\r\n\t\t</form>\r\n\t\t', u'<nav id="mainmenu">\r\n\t<ul>\r\n\t\t\r\n\t\t<li >\r\n\t\t\t<a href="/videos" >Vide\xf3k</a>\r\n\t\t\t\r\n\t\t</li>\r\n\t\t\r\n\t</ul>\r\n</nav>\r\n', u'\r\n\t</div>\r\n</header>\r\n\r\n'] |
self | [<django.template.defaulttags.LoadNode object at 0xad0d650c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0d238c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0d6d2c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad01282c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0120ec>, <Text Node: ' <!doctype html> <!--[i'>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <!--<![endif]--> <hea'>, <Block Node: title. Contents: [<Variable Node: request.site.name>]>, <Text Node: '</title> <!--[if lt I'>, <Text Node: ' <link rel="styles'>, <django.template.base.SimpleNode object at 0xad0c996c>, <Text Node: '"> '>, <Block Node: header_media. Contents: []>, <Text Node: ' <script type="tex'>, <Text Node: ' <div id="fb-root"><'>, <Block Node: body_class. Contents: []>, <Text Node: ' '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <header> <div cla'>, <For Node: for code, name in LANGUAGES, tail_len: 9>, <Text Node: ' </nav> <form actio'>, <django.template.defaulttags.URLNode object at 0xad0bc36c>, <Text Node: '" method="get"> <inpu'>, <Variable Node: request.GET.q|default_if_none:"">, <Text Node: '" /> </form> '>, <django.template.base.InclusionNode object at 0xacb61eac>, <Text Node: ' </div> </header> '>, <Block Node: body. Contents: []>, <Text Node: ' <footer> <div class'>, <For Node: for mm in footer_menu.get_main_items, tail_len: 7>, <Text Node: ' </div> </footer> '>, <Block Node: jslib. Contents: []>, <Text Node: ' <script> (function'>] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 | <Block Node: body. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0xad0d650c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0d238c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0d6d2c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad01282c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xad0120ec>, <Text Node: ' <!doctype html> <!--[i'>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <![endif]--> <!--[if '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <!--<![endif]--> <hea'>, <Block Node: title. Contents: [<Variable Node: request.site.name>]>, <Text Node: '</title> <!--[if lt I'>, <Text Node: ' <link rel="styles'>, <django.template.base.SimpleNode object at 0xad0c996c>, <Text Node: '"> '>, <Block Node: header_media. Contents: []>, <Text Node: ' <script type="tex'>, <Text Node: ' <div id="fb-root"><'>, <Block Node: body_class. Contents: []>, <Text Node: ' '>, <Variable Node: LANGUAGE_CODE|default_if_none:"hu">, <Text Node: '"> <header> <div cla'>, <For Node: for code, name in LANGUAGES, tail_len: 9>, <Text Node: ' </nav> <form actio'>, <django.template.defaulttags.URLNode object at 0xad0bc36c>, <Text Node: '" method="get"> <inpu'>, <Variable Node: request.GET.q|default_if_none:"">, <Text Node: '" /> </form> '>, <django.template.base.InclusionNode object at 0xacb61eac>, <Text Node: ' </div> </header> '>, <Block Node: body. Contents: []>, <Text Node: ' <footer> <div class'>, <For Node: for mm in footer_menu.get_main_items, tail_len: 7>, <Text Node: ' </div> </footer> '>, <Block Node: jslib. Contents: []>, <Text Node: ' <script> (function'>] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = BlockNode(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xad0cd36c> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
block | <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]> |
self | <Block Node: body. Contents: []> |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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.templatetags.cache.CacheNode object at 0xad0c9c8c> |
bit | u'\r\n ' |
bits | [u'\r\n '] |
self | [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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.templatetags.cache.CacheNode object at 0xad0c9c8c> |
self | [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/templatetags/cache.py
in render
except (ValueError, TypeError):
raise TemplateSyntaxError('"cache" tag got a non-integer timeout value: %r' % expire_time)
# Build a unicode key for this fragment and all vary-on's.
args = hashlib.md5(u':'.join([urlquote(resolve_variable(var, context)) for var in self.vary_on]))
cache_key = 'template.cache.%s.%s' % (self.fragment_name, args.hexdigest())
value = cache.get(cache_key)
if value is None:
value = self.nodelist.render(context)...
cache.set(cache_key, value, expire_time)
return value
@register.tag('cache')
def do_cache(parser, token):
"""
Variable | Value |
---|---|
self | <django.templatetags.cache.CacheNode object at 0xad0c9c8c> |
args | <md5 HASH object @ 0xad0c4fc0> |
value | None |
expire_time | 60 |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
var | u'LANGUAGE_CODE' |
cache_key | u'template.cache.welcome.ba734b19c0dccfd942403bda0cb0191b' |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 | <Block Node: content. Contents: []> |
bit | u'\r\n\t\t\t\t\t</div>\r\n\r\n <div class="cf">\r\n\t\t\t\t\t\t' |
bits | [u'\r\n\t<section>\r\n\t\t<div class="wrap">\r\n\t\t\t<div class="content ', u'', u'">\r\n\t\t\t\t<article>\r\n\r\n ', u'', u'\r\n\r\n\r\n\r\n <div class="cf">\r\n\t\t\t\t\t\t', u'\r\n', u'\r\n\t\t\t\t\t</div>\r\n\r\n <div class="cf">\r\n\t\t\t\t\t\t'] |
self | [<Text Node: ' <section> <div clas'>, <Block Node: containerclass. Contents: []>, <Text Node: '"> <article> '>, <IfNode>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0xad0c90cc>, <Text Node: ' </div> '>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <django.template.base.InclusionNode object at 0xad0b44cc>, <Text Node: ' </div> <di'>, <django.template.base.InclusionNode object at 0xad0b426c>, <Text Node: ' </div> </di'>, <django.template.loader_tags.ConstantIncludeNode object at 0xad0b4f2c>, <Text Node: ' </div> </ar'>, <django.template.base.InclusionNode object at 0xad0b4cac>, <Text Node: ' </aside> </div>'>] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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 | <Block Node: content. Contents: []> |
self | [<Text Node: ' <section> <div clas'>, <Block Node: containerclass. Contents: []>, <Text Node: '"> <article> '>, <IfNode>, <Text Node: ' '>, <django.template.base.InclusionNode object at 0xad0c90cc>, <Text Node: ' </div> '>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <django.template.base.InclusionNode object at 0xad0b44cc>, <Text Node: ' </div> <di'>, <django.template.base.InclusionNode object at 0xad0b426c>, <Text Node: ' </div> </di'>, <django.template.loader_tags.ConstantIncludeNode object at 0xad0b4f2c>, <Text Node: ' </div> </ar'>, <django.template.base.InclusionNode object at 0xad0b4cac>, <Text Node: ' </aside> </div>'>] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = BlockNode(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xad0cd36c> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
block | <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]> |
self | <Block Node: content. Contents: []> |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c> |
bit | u'\r\n ' |
bits | [u'\r\n '] |
self | [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>] |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-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.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c> |
self | [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>] |
e | KeyError("Unknown language code 'hu-hu'.",) |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/templatetags/i18n.py
in render
class GetLanguageInfoNode(Node):
def __init__(self, lang_code, variable):
self.lang_code = Variable(lang_code)
self.variable = variable
def render(self, context):
lang_code = self.lang_code.resolve(context)
context[self.variable] = translation.get_language_info(lang_code)...
return ''
class GetLanguageInfoListNode(Node):
def __init__(self, languages, variable):
self.languages = Variable(languages)
Variable | Value |
---|---|
lang_code | 'hu-hu' |
self | <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c> |
context | [{'index_kiemelt_nagy': [], 'params': {}}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xad0d24ec>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xacb41bcc>, 'user': <django.utils.functional.SimpleLazyObject object at 0xad0d286c>}, {}, {'LANGUAGES': (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'hu-hu'}, {'MEDIA_URL': '/data/'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xad0d21ec>}, {'request': <WSGIRequest path:/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd', 'DOCUMENT_ROOT': '/home/reformatus/csp2013', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'csillagpont2013.reformatus.hu', 'HTTP_REFERER': 'http://csillagpont2013.reformatus.hu/i18n/?lan=en', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '44.220.43.170', 'REMOTE_PORT': '50096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '192.168.9.54', 'SERVER_ADMIN': 'root@reformatus.hu', 'SERVER_NAME': 'csillagpont2013.reformatus.hu', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'X-ESOLR-ORIGPATH': u'/', 'mod_wsgi.application_group': 'csillagpont2013.reformatus.hu|', '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': 'csp2013.reformatus.hu', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0xacb25980>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xad1b2ad0>, 'wsgi.input': <mod_wsgi.Input object at 0xacb254f8>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {}, {'socialaccount': {'providers': []}}, {'footer_menu': {}}, {'block': <Block Node: body. Contents: [<Text Node: ' '>, <django.templatetags.cache.CacheNode object at 0xad0c9c8c>, <Text Node: ' '>]>}, {'block': <Block Node: content. Contents: [<Text Node: ' '>, <django.templatetags.i18n.GetLanguageInfoNode object at 0xacb4144c>, <Text Node: ' '>]>}] |
/home/reformatus/csp2013/env/lib/python2.7/site-packages/django/utils/translation/__init__.py
in get_language_info
string_concat = lazy(_string_concat, unicode)
def get_language_info(lang_code):
from django.conf.locale import LANG_INFO
try:
return LANG_INFO[lang_code]
except KeyError:
raise KeyError("Unknown language code %r." % lang_code)...
Variable | Value |
---|---|
lang_code | 'hu-hu' |
LANG_INFO | {'ar': {'bidi': True, 'code': 'ar', 'name': 'Arabic', 'name_local': u'\u0627\u0644\u0639\u0631\u0628\u064a\u0651\u0629'}, 'az': {'bidi': True, 'code': 'az', 'name': 'Azerbaijani', 'name_local': u'az\u0259rbaycan dili'}, 'bg': {'bidi': False, 'code': 'bg', 'name': 'Bulgarian', 'name_local': u'\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438'}, 'bn': {'bidi': False, 'code': 'bn', 'name': 'Bengali', 'name_local': u'\u09ac\u09be\u0982\u09b2\u09be'}, 'bs': {'bidi': False, 'code': 'bs', 'name': 'Bosnian', 'name_local': u'bosanski'}, 'ca': {'bidi': False, 'code': 'ca', 'name': 'Catalan', 'name_local': u'catal\xe0'}, 'cs': {'bidi': False, 'code': 'cs', 'name': 'Czech', 'name_local': u'\u010desky'}, 'cy': {'bidi': False, 'code': 'cy', 'name': 'Welsh', 'name_local': u'Cymraeg'}, 'da': {'bidi': False, 'code': 'da', 'name': 'Danish', 'name_local': u'Dansk'}, 'de': {'bidi': False, 'code': 'de', 'name': 'German', 'name_local': u'Deutsch'}, 'el': {'bidi': False, 'code': 'el', 'name': 'Greek', 'name_local': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'}, 'en': {'bidi': False, 'code': 'en', 'name': 'English', 'name_local': u'English'}, 'en-gb': {'bidi': False, 'code': 'en-gb', 'name': 'British English', 'name_local': u'British English'}, 'eo': {'bidi': False, 'code': 'eo', 'name': 'Esperanto', 'name_local': u'Esperanto'}, 'es': {'bidi': False, 'code': 'es', 'name': 'Spanish', 'name_local': u'espa\xf1ol'}, 'es-ar': {'bidi': False, 'code': 'es-ar', 'name': 'Argentinian Spanish', 'name_local': u'espa\xf1ol de Argentina'}, 'es-mx': {'bidi': False, 'code': 'es-mx', 'name': 'Mexican Spanish', 'name_local': u'espa\xf1ol de Mexico'}, 'es-ni': {'bidi': False, 'code': 'es-ni', 'name': 'Nicaraguan Spanish', 'name_local': u'espa\xf1ol de Nicaragua'}, 'et': {'bidi': False, 'code': 'et', 'name': 'Estonian', 'name_local': u'eesti'}, 'eu': {'bidi': False, 'code': 'eu', 'name': 'Basque', 'name_local': u'Basque'}, 'fa': {'bidi': True, 'code': 'fa', 'name': 'Persian', 'name_local': u'\u0641\u0627\u0631\u0633\u06cc'}, 'fi': {'bidi': False, 'code': 'fi', 'name': 'Finnish', 'name_local': u'suomi'}, 'fr': {'bidi': False, 'code': 'fr', 'name': 'French', 'name_local': u'Fran\xe7ais'}, 'fy-nl': {'bidi': False, 'code': 'fy-nl', 'name': 'Frisian', 'name_local': u'Frisian'}, 'ga': {'bidi': False, 'code': 'ga', 'name': 'Irish', 'name_local': u'Gaeilge'}, 'gl': {'bidi': False, 'code': 'gl', 'name': 'Galician', 'name_local': u'galego'}, 'he': {'bidi': True, 'code': 'he', 'name': 'Hebrew', 'name_local': u'\u05e2\u05d1\u05e8\u05d9\u05ea'}, 'hi': {'bidi': False, 'code': 'hi', 'name': 'Hindi', 'name_local': u'Hindi'}, 'hr': {'bidi': False, 'code': 'hr', 'name': 'Croatian', 'name_local': u'Hrvatski'}, 'hu': {'bidi': False, 'code': 'hu', 'name': 'Hungarian', 'name_local': u'Magyar'}, 'id': {'bidi': False, 'code': 'id', 'name': 'Indonesian', 'name_local': u'Bahasa Indonesia'}, 'is': {'bidi': False, 'code': 'is', 'name': 'Icelandic', 'name_local': u'\xcdslenska'}, 'it': {'bidi': False, 'code': 'it', 'name': 'Italian', 'name_local': u'italiano'}, 'ja': {'bidi': False, 'code': 'ja', 'name': 'Japanese', 'name_local': u'\u65e5\u672c\u8a9e'}, 'ka': {'bidi': False, 'code': 'ka', 'name': 'Georgian', 'name_local': u'\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8'}, 'kk': {'bidi': False, 'code': 'kk', 'name': 'Kazakh', 'name_local': u'\u049a\u0430\u0437\u0430\u049b'}, 'km': {'bidi': False, 'code': 'km', 'name': 'Khmer', 'name_local': u'Khmer'}, 'kn': {'bidi': False, 'code': 'kn', 'name': 'Kannada', 'name_local': u'Kannada'}, 'ko': {'bidi': False, 'code': 'ko', 'name': 'Korean', 'name_local': u'\ud55c\uad6d\uc5b4'}, 'lt': {'bidi': False, 'code': 'lt', 'name': 'Lithuanian', 'name_local': u'Lithuanian'}, 'lv': {'bidi': False, 'code': 'lv', 'name': 'Latvian', 'name_local': u'latvie\u0161u'}, 'mk': {'bidi': False, 'code': 'mk', 'name': 'Macedonian', 'name_local': u'\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438'}, 'ml': {'bidi': False, 'code': 'ml', 'name': 'Malayalam', 'name_local': u'Malayalam'}, 'mn': {'bidi': False, 'code': 'mn', 'name': 'Mongolian', 'name_local': u'Mongolian'}, 'nb': {'bidi': False, 'code': 'nb', 'name': 'Norwegian Bokmal', 'name_local': u'Norsk (bokm\xe5l)'}, 'ne': {'bidi': False, 'code': 'ne', 'name': 'Nepali', 'name_local': u'\u0928\u0947\u092a\u093e\u0932\u0940'}, 'nl': {'bidi': False, 'code': 'nl', 'name': 'Dutch', 'name_local': u'Nederlands'}, 'nn': {'bidi': False, 'code': 'nn', 'name': 'Norwegian Nynorsk', 'name_local': u'Norsk (nynorsk)'}, 'no': {'bidi': False, 'code': 'no', 'name': 'Norwegian', 'name_local': u'Norsk'}, 'pa': {'bidi': False, 'code': 'pa', 'name': 'Punjabi', 'name_local': u'Punjabi'}, 'pl': {'bidi': False, 'code': 'pl', 'name': 'Polish', 'name_local': u'polski'}, 'pt': {'bidi': False, 'code': 'pt', 'name': 'Portuguese', 'name_local': u'Portugu\xeas'}, 'pt-br': {'bidi': False, 'code': 'pt-br', 'name': 'Brazilian Portuguese', 'name_local': u'Portugu\xeas Brasileiro'}, 'ro': {'bidi': False, 'code': 'ro', 'name': 'Romanian', 'name_local': u'Rom\xe2n\u0103'}, 'ru': {'bidi': False, 'code': 'ru', 'name': 'Russian', 'name_local': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439'}, 'sk': {'bidi': False, 'code': 'sk', 'name': 'Slovak', 'name_local': u'slovensk\xfd'}, 'sl': {'bidi': False, 'code': 'sl', 'name': 'Slovenian', 'name_local': u'Sloven\u0161\u010dina'}, 'sq': {'bidi': False, 'code': 'sq', 'name': 'Albanian', 'name_local': u'Albanian'}, 'sr': {'bidi': False, 'code': 'sr', 'name': 'Serbian', 'name_local': u'\u0441\u0440\u043f\u0441\u043a\u0438'}, 'sr-latn': {'bidi': False, 'code': 'sr-latn', 'name': 'Serbian Latin', 'name_local': u'srpski (latinica)'}, 'sv': {'bidi': False, 'code': 'sv', 'name': 'Swedish', 'name_local': u'Svenska'}, 'sw': {'bidi': False, 'code': 'sw', 'name': 'Swahili', 'name_local': u'Kiswahili'}, 'ta': {'bidi': False, 'code': 'ta', 'name': 'Tamil', 'name_local': u'\u0ba4\u0bae\u0bbf\u0bb4\u0bcd'}, 'te': {'bidi': False, 'code': 'te', 'name': 'Telugu', 'name_local': u'\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41'}, 'th': {'bidi': False, 'code': 'th', 'name': 'Thai', 'name_local': u'Thai'}, 'tr': {'bidi': False, 'code': 'tr', 'name': 'Turkish', 'name_local': u'T\xfcrk\xe7e'}, 'tt': {'bidi': False, 'code': 'tt', 'name': 'Tatar', 'name_local': u'\u0422\u0430\u0442\u0430\u0440\u0447\u0430'}, 'uk': {'bidi': False, 'code': 'uk', 'name': 'Ukrainian', 'name_local': u'\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430'}, 'ur': {'bidi': False, 'code': 'ur', 'name': 'Urdu', 'name_local': u'\u0627\u0631\u062f\u0648'}, 'vi': {'bidi': False, 'code': 'vi', 'name': 'Vietnamese', 'name_local': u'Vietnamese'}, 'zh-cn': {'bidi': False, 'code': 'zh-cn', 'name': 'Simplified Chinese', 'name_local': u'\u7b80\u4f53\u4e2d\u6587'}, 'zh-tw': {'bidi': False, 'code': 'zh-tw', 'name': 'Traditional Chinese', 'name_local': u'\u7e41\u9ad4\u4e2d\u6587'}} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
HTTP_REFERER | 'http://csillagpont2013.reformatus.hu/i18n/?lan=en' |
SERVER_SOFTWARE | 'Apache/2.2.22 (Ubuntu)' |
SCRIPT_NAME | u'' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.22 (Ubuntu) Server at csillagpont2013.reformatus.hu Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'csillagpont2013.reformatus.hu' |
REMOTE_ADDR | '44.220.43.170' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py/' |
SERVER_PORT | '80' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '192.168.9.54' |
DOCUMENT_ROOT | '/home/reformatus/csp2013' |
mod_wsgi.process_group | 'csp2013.reformatus.hu' |
SCRIPT_FILENAME | '/home/reformatus/csp2013/csillagpont/csillagpont/wsgi.py' |
SERVER_ADMIN | 'root@reformatus.hu' |
wsgi.input | <mod_wsgi.Input object at 0xacb254f8> |
HTTP_HOST | 'csillagpont2013.reformatus.hu' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
X-ESOLR-ORIGPATH | u'/' |
REQUEST_URI | '/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 1) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0xacb25980> |
REMOTE_PORT | '50096' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (3, 3) |
mod_wsgi.application_group | 'csillagpont2013.reformatus.hu|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | '9ZShKTTwCNiKvhmKfIH7VNGZZ6kIigwd' |
csillagpont.settings
Setting | Value |
---|---|
USE_L10N | True |
HAYSTACK_SEARCH_ENGINE | 'whoosh' |
HAYSTACK_WHOOSH_PATH | '/home/reformatus/csp2013/csillagpont/csillagpont/whoosh_index' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'hu-HU' |
ROOT_URLCONF | 'csillagpont.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '/home/reformatus/csp2013/csillagpont/static' |
USE_THOUSAND_SEPARATOR | False |
ALLOWED_HOSTS | ['*'] |
FORBIDDEN_SUBDOMAINS | ('lap', 'mutat', 'view', 'admin', 'public', 'static', 'special', 'hidden', 'ftp', 'mail') |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
WSGI_APPLICATION | 'csillagpont.wsgi.application' |
FACEBOOK_APP_SECRET | u'********************' |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.5 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
THUMBNAIL_ALIASES | {'': {'normal': {'crop': False, 'size': (500, 0)}, 'small': {'crop': True, 'size': (140, 140)}, 'wide': {'crop': False, 'size': (600, 0)}}} |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M',) |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'csillagpont', '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': 'root'}} |
KEY_PREFIX | u'********************' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
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/cache_csp/'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'pagination.middleware.PaginationMiddleware', 'esolportal.navigation.middleware.UrlRewriteMiddleware', 'esolportal.common.middleware.SiteDetectionMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
ADMIN_WYSIWYG_NAME | 'ckeditor' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/home/reformatus/csp2013/csillagpont/csillagpont/whoosh_index'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SUBDOMAIN_DIR | 'lap' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
BASE_PATH | '/home/reformatus/csp2013/csillagpont' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
VALID_VIDEO_EXTENSIONS | ['.avi', '.mov', '.mpg', '.mpeg', '.mp4', '.vfw', '.xvid', '.dv', '.m4v'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'guardian', 'taggit', 'mptt', 'easy_thumbnails', 'pagination', 'south', 'rest_framework', 'form_utils', 'haystack', 'esolportal.common', 'esolportal.content', 'esolportal.layout', 'esolportal.portlet', 'esolportal.navigation', 'esolportal.news', 'esolportal.article', 'esolportal.gallery', 'esolportal.calendar', 'video', 'event', 'siteadmin', 'feedutil', 'django_filters', 'custom', 'newsletter') |
LANGUAGES | (('hu', u'Magyar'), ('en', u'English'), ('de', u'Deutsch')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('/home/reformatus/csp2013/csillagpont/templates/static',) |
ESOLPORTAL_MENU_CSSCLASSES | (('', u'Norm\xe1l men\xfcpont'), ('light', u'Kiemelt men\xfcpont')) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
FACEBOOK_APP_ID | '525871727452810' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
TIME_FORMATS | ('%H:%M',) |
EMAIL_FILE_PATH | '/home/reformatus/csp2013/csillagpont/log/email' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/admin/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
HAYSTACK_SITECONF | 'custom.search_sites' |
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.') |
EMAIL_CONTACT | 'istvan.farkas@gmail.com' |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
FORBIDDEN_SLUGS | ('lap', 'mutat', 'view', 'admin', 'public', 'static', 'special', 'hidden') |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}, 'esolportal.debug': {'handlers': ['console'], 'level': 'DEBUG'}}, 'version': 1} |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
CACHE_TIMES | {'default': 30, 'forever': 120} |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/home/reformatus/csp2013/csillagpont/templates',) |
MULTI_RSS_DEFAULT_VISIBLE | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/reformatus/csp2013/csillagpont/data/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
REST_FRAMEWORK | {'FILTER_BACKEND': 'rest_framework.filters.DjangoFilterBackend'} |
MEDIA_URL | '/data/' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SITE_DOMAIN_NAME | 'http://csillag.reformatus.hu' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Budapest' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
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', 'allauth.account.context_processors.account', 'allauth.socialaccount.context_processors.socialaccount', 'csillagpont.context_processors.common_elements') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'csillagpont.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
SUBDOMAINS_SUPPORTED | False |
CACHE_MIDDLEWARE_SECONDS | 600 |
ANONYMOUS_USER_ID | -1 |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d') |
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.