Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TypeError at /admin/
- other_dict must be a mapping (dictionary-like) object.
- Request Method: POST
- Request URL: http://localhost/admin/
- Django Version: 1.2.1
- Exception Type: TypeError
- Exception Value:
- other_dict must be a mapping (dictionary-like) object.
- Exception Location: /usr/local/lib/python2.6/dist-packages/django/template/context.py in update, line 78
- Python Executable: /usr/bin/python
- Python Version: 2.6.4
- Python Path: ['/usr/local/lib/python2.6/dist-packages/Satchmo-0.9_0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/TRML2PDF-1.0-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/django_threaded_multihost-1.3_3-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages', '/home/projects', '/home/projects/portal', '/home/zay2/django/django-cms-2.1.0.beta2/', '/home/zay2/django/sorl-thumbnail-3.2.5/', '/home/zay2/django/django-tinymce-1.5', '/home/zay2/django/linkedin', '/home/zay2/django/openid_consumer', '/home/zay2/django/python-oauth', '/home/zay2/django', '/home/zay2/django/django-cms-2.1.0.beta2/', '/home/zay2/django/sorl-thumbnail-3.2.5/', '/home/zay2/django/django-tinymce-1.5', '/home/zay2/django/linkedin', '/home/zay2/django/openid_consumer', '/home/zay2/django/python-oauth', '/home/zay2/django', '/home/zay2/django/sorl-thumbnail-3.2.5', '/home/zay2/django/django-tinymce-1.5', '/home/zay2/django/tagging-trunk', '/home/zay2/django/django-tagging-autocomplete-0.3.1']
- Server time: Tue, 25 May 2010 22:10:26 +0300
- Traceback Switch to copy-and-paste view
- /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response
- response = callback(request, *callback_args, **callback_kwargs) ...
- ▼ Local vars
- Variable Value
- callback
- <function index at 0x238a0c34>
- callback_args
- ()
- callback_kwargs
- {}
- e
- TypeError('other_dict must be a mapping (dictionary-like) object.',)
- exc_info
- (<type 'exceptions.TypeError'>, TypeError('other_dict must be a mapping (dictionary-like) object.',), <traceback object at 0x23ba1cac>)
- exceptions
- <module 'django.core.exceptions' from '/usr/local/lib/python2.6/dist-packages/django/core/exceptions.pyc'>
- middleware_method
- <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x2338284c>>
- receivers
- [(<function _rollback_on_exception at 0x234e7d14>, None)]
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- resolver
- <RegexURLResolver portal.urls (None:None) ^/>
- response
- None
- self
- <django.core.handlers.wsgi.WSGIHandler object at 0x2304f32c>
- settings
- <django.conf.LazySettings object at 0x232102ec>
- urlconf
- 'portal.urls'
- urlresolvers
- <module 'django.core.urlresolvers' from '/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.pyc'>
- /usr/local/lib/python2.6/dist-packages/django/contrib/admin/sites.py in wrapper
- return self.admin_view(view, cacheable)(*args, **kwargs) ...
- ▼ Local vars
- Variable Value
- args
- (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,)
- cacheable
- False
- kwargs
- {}
- self
- <django.contrib.admin.sites.AdminSite object at 0x23611f2c>
- view
- <bound method AdminSite.index of <django.contrib.admin.sites.AdminSite object at 0x23611f2c>>
- /usr/local/lib/python2.6/dist-packages/django/utils/decorators.py in _wrapped_view
- response = view_func(request, *args, **kwargs) ...
- ▼ Local vars
- Variable Value
- args
- ()
- e
- TypeError('other_dict must be a mapping (dictionary-like) object.',)
- kwargs
- {}
- middleware
- <django.middleware.csrf.CsrfViewMiddleware object at 0x2360b9ec>
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- result
- None
- view_func
- <function inner at 0x23a5aa74>
- /usr/local/lib/python2.6/dist-packages/django/views/decorators/cache.py in _wrapped_view_func
- response = view_func(request, *args, **kwargs) ...
- ▼ Local vars
- Variable Value
- args
- ()
- kwargs
- {}
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- view_func
- <function inner at 0x23a5aa04>
- /usr/local/lib/python2.6/dist-packages/django/contrib/admin/sites.py in inner
- return view(request, *args, **kwargs) ...
- ▼ Local vars
- Variable Value
- args
- ()
- kwargs
- {}
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- self
- <django.contrib.admin.sites.AdminSite object at 0x23611f2c>
- view
- <bound method AdminSite.index of <django.contrib.admin.sites.AdminSite object at 0x23611f2c>>
- /usr/local/lib/python2.6/dist-packages/django/views/decorators/cache.py in _wrapped_view_func
- response = view_func(request, *args, **kwargs) ...
- ▼ Local vars
- Variable Value
- args
- (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,)
- kwargs
- {}
- request
- <django.contrib.admin.sites.AdminSite object at 0x23611f2c>
- view_func
- <function index at 0x2361825c>
- /usr/local/lib/python2.6/dist-packages/django/contrib/admin/sites.py in index
- context_instance = template.RequestContext(request, current_app=self.name) ...
- ▼ Local vars
- Variable Value
- app
- {'app_url': 'socialauth/', 'has_module_perms': True, 'models': [{'admin_url': 'socialauth/authmeta/', 'name': <django.utils.functional.__proxy__ object at 0x23a4090c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/facebookuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a5294c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/linkedinuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a521cc>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/openidprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6802c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/twitteruserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6ce0c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Socialauth'}
- app_dict
- {'auth': {'app_url': 'auth/', 'has_module_perms': True, 'models': [{'admin_url': 'auth/group/', 'name': <django.utils.functional.__proxy__ object at 0x23a35c2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'auth/user/', 'name': <django.utils.functional.__proxy__ object at 0x23a6c6ac>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Auth'}, 'cms': {'app_url': 'cms/', 'has_module_perms': True, 'models': [{'admin_url': 'cms/page/', 'name': <django.utils.functional.__proxy__ object at 0x23a68f2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/globalpagepermission/', 'name': <django.utils.functional.__proxy__ object at 0x23a6878c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageusergroup/', 'name': <django.utils.functional.__proxy__ object at 0x23a71cac>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageuser/', 'name': <django.utils.functional.__proxy__ object at 0x23a7156c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Cms'}, 'sites': {'app_url': 'sites/', 'has_module_perms': True, 'models': [{'admin_url': 'sites/site/', 'name': <django.utils.functional.__proxy__ object at 0x23a640cc>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Sites'}, 'snippet': {'app_url': 'snippet/', 'has_module_perms': True, 'models': [{'admin_url': 'snippet/snippet/', 'name': <django.utils.functional.__proxy__ object at 0x23a6486c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Snippet'}, 'socialauth': {'app_url': 'socialauth/', 'has_module_perms': True, 'models': [{'admin_url': 'socialauth/authmeta/', 'name': <django.utils.functional.__proxy__ object at 0x23a4090c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/facebookuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a5294c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/linkedinuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a521cc>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/openidprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6802c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/twitteruserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6ce0c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Socialauth'}}
- app_label
- 'cms'
- app_list
- [{'app_url': 'auth/', 'has_module_perms': True, 'models': [{'admin_url': 'auth/group/', 'name': <django.utils.functional.__proxy__ object at 0x23a35c2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'auth/user/', 'name': <django.utils.functional.__proxy__ object at 0x23a6c6ac>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Auth'}, {'app_url': 'cms/', 'has_module_perms': True, 'models': [{'admin_url': 'cms/page/', 'name': <django.utils.functional.__proxy__ object at 0x23a68f2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/globalpagepermission/', 'name': <django.utils.functional.__proxy__ object at 0x23a6878c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageusergroup/', 'name': <django.utils.functional.__proxy__ object at 0x23a71cac>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageuser/', 'name': <django.utils.functional.__proxy__ object at 0x23a7156c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Cms'}, {'app_url': 'sites/', 'has_module_perms': True, 'models': [{'admin_url': 'sites/site/', 'name': <django.utils.functional.__proxy__ object at 0x23a640cc>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Sites'}, {'app_url': 'snippet/', 'has_module_perms': True, 'models': [{'admin_url': 'snippet/snippet/', 'name': <django.utils.functional.__proxy__ object at 0x23a6486c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Snippet'}, {'app_url': 'socialauth/', 'has_module_perms': True, 'models': [{'admin_url': 'socialauth/authmeta/', 'name': <django.utils.functional.__proxy__ object at 0x23a4090c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/facebookuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a5294c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/linkedinuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a521cc>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/openidprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6802c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/twitteruserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6ce0c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Socialauth'}]
- context
- {'app_list': [{'app_url': 'auth/', 'has_module_perms': True, 'models': [{'admin_url': 'auth/group/', 'name': <django.utils.functional.__proxy__ object at 0x23a35c2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'auth/user/', 'name': <django.utils.functional.__proxy__ object at 0x23a6c6ac>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Auth'}, {'app_url': 'cms/', 'has_module_perms': True, 'models': [{'admin_url': 'cms/page/', 'name': <django.utils.functional.__proxy__ object at 0x23a68f2c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/globalpagepermission/', 'name': <django.utils.functional.__proxy__ object at 0x23a6878c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageusergroup/', 'name': <django.utils.functional.__proxy__ object at 0x23a71cac>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'cms/pageuser/', 'name': <django.utils.functional.__proxy__ object at 0x23a7156c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Cms'}, {'app_url': 'sites/', 'has_module_perms': True, 'models': [{'admin_url': 'sites/site/', 'name': <django.utils.functional.__proxy__ object at 0x23a640cc>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Sites'}, {'app_url': 'snippet/', 'has_module_perms': True, 'models': [{'admin_url': 'snippet/snippet/', 'name': <django.utils.functional.__proxy__ object at 0x23a6486c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Snippet'}, {'app_url': 'socialauth/', 'has_module_perms': True, 'models': [{'admin_url': 'socialauth/authmeta/', 'name': <django.utils.functional.__proxy__ object at 0x23a4090c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/facebookuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a5294c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/linkedinuserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a521cc>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/openidprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6802c>, 'perms': {'add': True, 'change': True, 'delete': True}}, {'admin_url': 'socialauth/twitteruserprofile/', 'name': <django.utils.functional.__proxy__ object at 0x23a6ce0c>, 'perms': {'add': True, 'change': True, 'delete': True}}], 'name': 'Socialauth'}], 'root_path': None, 'title': u'Site administration'}
- extra_context
- None
- has_module_perms
- True
- model
- <class 'cms.models.permissionmodels.PageUserGroup'>
- model_admin
- <cms.admin.useradmin.PageUserGroupAdmin object at 0x2393e0cc>
- model_dict
- {'admin_url': 'cms/pageusergroup/', 'name': <django.utils.functional.__proxy__ object at 0x23a71cac>, 'perms': {'add': True, 'change': True, 'delete': True}}
- perms
- {'add': True, 'change': True, 'delete': True}
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- self
- <django.contrib.admin.sites.AdminSite object at 0x23611f2c>
- user
- <User: zay2>
- /usr/local/lib/python2.6/dist-packages/django/template/context.py in __init__
- self.update(processor(request)) ...
- ▼ Local vars
- Variable Value
- current_app
- 'admin'
- dict
- None
- processor
- <function loginform at 0x23896a74>
- processors
- ()
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- self
- [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x2396c3ac>}, {'perms': <django.utils.functional.__proxy__ object at 0x23b8e7cc>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x23442f6c>, 'user': <django.utils.functional.SimpleLazyObject object at 0x2398276c>}, {'LANGUAGES': (('en', 'English'), ('et', 'Estonian')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': u'en'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': 'http://localhost/media/portal/'}, {'CMS_MEDIA_URL': 'http://localhost/media/cms/'}]
- /usr/local/lib/python2.6/dist-packages/django/template/context.py in update
- raise TypeError('other_dict must be a mapping (dictionary-like) object.') ...
- ▼ Local vars
- Variable Value
- other_dict
- None
- self
- [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x2396c3ac>}, {'perms': <django.utils.functional.__proxy__ object at 0x23b8e7cc>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x23442f6c>, 'user': <django.utils.functional.SimpleLazyObject object at 0x2398276c>}, {'LANGUAGES': (('en', 'English'), ('et', 'Estonian')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': u'en'}, {'request': <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'username': [u'myusername'], u'csrfmiddlewaretoken': [u'6eea28d186cc8eedc974514667587899'], u'password': [u'mypassword'], u'this_is_the_login_form': [u'1']}>, COOKIES:{'csrftoken': '6eea28d186cc8eedc974514667587899', 'django_language': 'en', 'sessionid': '6afe165c8e099b5f242f2336d1bf76b4'}, META:{'CONTENT_LENGTH': '110', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CSRF_COOKIE': '6eea28d186cc8eedc974514667587899', 'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en', 'HTTP_HOST': 'localhost', 'HTTP_ORIGIN': 'http://localhost', 'HTTP_REFERER': 'http://localhost/admin/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/en/admin/', 'PATH_TRANSLATED': '/home/projects/portal/portal.wsgi/en/admin/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '39270', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/en/admin/', 'SCRIPT_FILENAME': '/home/projects/portal/portal.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.12 (Ubuntu)', 'mod_wsgi.application_group': '127.0.1.1|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'portal', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x23a59608>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>, 'wsgi.input': <mod_wsgi.Input object at 0x23a58930>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': 'http://localhost/media/portal/'}, {'CMS_MEDIA_URL': 'http://localhost/media/cms/'}]
- Request information
- GET
- No GET data
- POST
- Variable Value
- username
- u'myusername'
- csrfmiddlewaretoken
- u'6eea28d186cc8eedc974514667587899'
- password
- u'mypassword'
- this_is_the_login_form
- u'1'
- FILES
- No FILES data
- COOKIES
- Variable Value
- csrftoken
- '6eea28d186cc8eedc974514667587899'
- sessionid
- '6afe165c8e099b5f242f2336d1bf76b4'
- django_language
- 'en'
- META
- Variable Value
- CONTENT_LENGTH
- '110'
- CONTENT_TYPE
- 'application/x-www-form-urlencoded'
- CSRF_COOKIE
- '6eea28d186cc8eedc974514667587899'
- DOCUMENT_ROOT
- '/var/www'
- GATEWAY_INTERFACE
- 'CGI/1.1'
- HTTP_ACCEPT
- 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
- HTTP_ACCEPT_CHARSET
- 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
- HTTP_ACCEPT_ENCODING
- 'gzip,deflate,sdch'
- HTTP_ACCEPT_LANGUAGE
- 'en-US,en;q=0.8'
- HTTP_CACHE_CONTROL
- 'max-age=0'
- HTTP_CONNECTION
- 'keep-alive'
- HTTP_COOKIE
- 'csrftoken=6eea28d186cc8eedc974514667587899; sessionid=6afe165c8e099b5f242f2336d1bf76b4; django_language=en'
- HTTP_HOST
- 'localhost'
- HTTP_ORIGIN
- 'http://localhost'
- HTTP_REFERER
- 'http://localhost/admin/'
- HTTP_USER_AGENT
- 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4'
- PATH
- '/usr/local/bin:/usr/bin:/bin'
- PATH_INFO
- u'/en/admin/'
- PATH_TRANSLATED
- '/home/projects/portal/portal.wsgi/en/admin/'
- QUERY_STRING
- ''
- REMOTE_ADDR
- '127.0.0.1'
- REMOTE_PORT
- '39270'
- REQUEST_METHOD
- 'POST'
- REQUEST_URI
- '/en/admin/'
- SCRIPT_FILENAME
- '/home/projects/portal/portal.wsgi'
- SCRIPT_NAME
- u''
- SERVER_ADDR
- '127.0.0.1'
- SERVER_ADMIN
- 'webmaster@localhost'
- SERVER_NAME
- 'localhost'
- SERVER_PORT
- '80'
- SERVER_PROTOCOL
- 'HTTP/1.1'
- SERVER_SIGNATURE
- '<address>Apache/2.2.12 (Ubuntu) Server at localhost Port 80</address>\n'
- SERVER_SOFTWARE
- 'Apache/2.2.12 (Ubuntu)'
- mod_wsgi.application_group
- '127.0.1.1|'
- mod_wsgi.callable_object
- 'application'
- mod_wsgi.listener_host
- ''
- mod_wsgi.listener_port
- '80'
- mod_wsgi.process_group
- 'portal'
- mod_wsgi.reload_mechanism
- '1'
- mod_wsgi.script_reloading
- '1'
- mod_wsgi.version
- (2, 5)
- wsgi.errors
- <mod_wsgi.Log object at 0x23a59608>
- wsgi.file_wrapper
- <built-in method file_wrapper of mod_wsgi.Adapter object at 0x23a57c80>
- wsgi.input
- <mod_wsgi.Input object at 0x23a58930>
- wsgi.multiprocess
- True
- wsgi.multithread
- False
- wsgi.run_once
- False
- wsgi.url_scheme
- 'http'
- wsgi.version
- (1, 0)
- Settings
- Using settings module portal.settings
- Setting Value
- ABSOLUTE_URL_OVERRIDES
- {}
- ACCOUNT_ACTIVATION_DAYS
- 7
- ADMINS
- ()
- ADMIN_FOR
- ()
- ADMIN_MEDIA_PREFIX
- '/media/admin/'
- ALLOWED_INCLUDE_ROOTS
- ()
- APPEND_SLASH
- True
- AUTHENTICATION_BACKENDS
- ('django.contrib.auth.backends.ModelBackend', 'socialauth.auth_backends.OpenIdBackend', 'socialauth.auth_backends.TwitterBackend', 'socialauth.auth_backends.FacebookBackend')
- BANNED_IPS
- ()
- CACHE_BACKEND
- 'locmem://'
- CACHE_MIDDLEWARE_KEY_PREFIX
- ''
- CACHE_MIDDLEWARE_SECONDS
- 600
- CMS_APPHOOKS
- ()
- CMS_CONTENT_CACHE_DURATION
- 60
- CMS_DBGETTEXT
- False
- CMS_DBGETTEXT_SLUGS
- False
- CMS_FLAT_URLS
- False
- CMS_FRONTEND_LANGUAGES
- ['en', 'et']
- CMS_HIDE_UNTRANSLATED
- False
- CMS_LANGUAGES
- (('en', 'English'),)
- CMS_LANGUAGE_CONF
- {}
- CMS_LANGUAGE_FALLBACK
- True
- CMS_MEDIA_PATH
- ''
- CMS_MEDIA_ROOT
- '/var/www/medida/portal//cms/'
- CMS_MEDIA_URL
- 'http://localhost/media/cms/'
- CMS_MENU_TITLE_OVERWRITE
- False
- CMS_MODERATOR
- False
- CMS_PAGE_MEDIA_PATH
- 'cms_page_media/'
- CMS_PERMISSION
- True
- CMS_PLACEHOLDER_CONF
- {}
- CMS_REDIRECTS
- False
- CMS_SEO_FIELDS
- True
- CMS_SHOW_END_DATE
- False
- CMS_SHOW_START_DATE
- False
- CMS_SITE_LANGUAGES
- {}
- CMS_SOFTROOT
- False
- CMS_TEMPLATES
- (('home.html', 'default'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x2339294c>))
- CMS_TEMPLATE_INHERITANCE
- True
- CMS_TEMPLATE_INHERITANCE_MAGIC
- 'INHERIT'
- CMS_TITLE_CHARACTER
- '+'
- CMS_URL_OVERWRITE
- True
- COMMENTS_ALLOW_PROFANITIES
- False
- COMMENTS_BANNED_USERS_GROUP
- None
- COMMENTS_FIRST_FEW
- 0
- COMMENTS_MODERATORS_GROUP
- None
- COMMENTS_SKETCHY_USERS_GROUP
- None
- CSRF_COOKIE_DOMAIN
- None
- CSRF_COOKIE_NAME
- 'csrftoken'
- CSRF_FAILURE_VIEW
- 'django.views.csrf.csrf_failure'
- DATABASES
- {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'portal', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Tallinn', 'USER': 'root'}}
- DATABASE_ENGINE
- ''
- DATABASE_HOST
- ''
- DATABASE_NAME
- ''
- DATABASE_OPTIONS
- {}
- DATABASE_PASSWORD
- '********************'
- DATABASE_PORT
- ''
- DATABASE_ROUTERS
- []
- DATABASE_USER
- ''
- DATETIME_FORMAT
- 'N j, Y, P'
- DATETIME_INPUT_FORMATS
- ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
- DATE_FORMAT
- 'N j, Y'
- DATE_INPUT_FORMATS
- ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
- DEBUG
- True
- DEBUG_PROPAGATE_EXCEPTIONS
- False
- DECIMAL_SEPARATOR
- '.'
- DEFAULT_CHARSET
- 'utf-8'
- DEFAULT_CONTENT_TYPE
- 'text/html'
- DEFAULT_FILE_STORAGE
- 'django.core.files.storage.FileSystemStorage'
- DEFAULT_FROM_EMAIL
- 'webmaster@localhost'
- DEFAULT_INDEX_TABLESPACE
- ''
- DEFAULT_TABLESPACE
- ''
- DISALLOWED_USER_AGENTS
- ()
- EMAIL_BACKEND
- 'django.core.mail.backends.smtp.EmailBackend'
- EMAIL_HOST
- 'localhost'
- EMAIL_HOST_PASSWORD
- '********************'
- EMAIL_HOST_USER
- ''
- EMAIL_PORT
- 25
- EMAIL_SUBJECT_PREFIX
- '[Django] '
- EMAIL_USE_TLS
- False
- FACEBOOK_API_KEY
- '0703dcbbdd3b50068d4bae423ebfa19a'
- FACEBOOK_SECRET_KEY
- '********************'
- FILE_CHARSET
- 'utf-8'
- FILE_UPLOAD_HANDLERS
- ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
- FILE_UPLOAD_MAX_MEMORY_SIZE
- 2621440
- FILE_UPLOAD_PERMISSIONS
- None
- FILE_UPLOAD_TEMP_DIR
- None
- FIRST_DAY_OF_WEEK
- 0
- FIXTURE_DIRS
- ()
- FORCE_SCRIPT_NAME
- None
- FORMAT_MODULE_PATH
- None
- IGNORABLE_404_ENDS
- ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
- IGNORABLE_404_STARTS
- ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
- INSTALLED_APPS
- ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'cms', 'cms.plugins.text', 'cms.plugins.picture', 'cms.plugins.link', 'cms.plugins.file', 'cms.plugins.snippet', 'cms.plugins.googlemap', 'mptt', 'publisher', 'socialauth', 'openid_consumer', 'commentor', 'python-oauth', 'linkedin']
- INTERNAL_IPS
- ()
- LANGUAGES
- (('en', 'English'), ('et', 'Estonian'))
- LANGUAGES_BIDI
- ('he', 'ar', 'fa')
- LANGUAGE_CODE
- 'en-us'
- LANGUAGE_COOKIE_NAME
- 'django_language'
- LOCALE_PATHS
- ()
- LOGIN_REDIRECT_URL
- '/'
- LOGIN_URL
- '/accounts/login/'
- LOGOUT_REDIRECT_URL
- '/'
- LOGOUT_URL
- '/accounts/logout/'
- MANAGERS
- ()
- MEDIA_ROOT
- '/var/www/medida/portal/'
- MEDIA_URL
- 'http://localhost/media/portal/'
- MESSAGE_STORAGE
- 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
- MIDDLEWARE_CLASSES
- ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'openid_consumer.middleware.OpenIDMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.multilingual.MultilingualURLMiddleware')
- MONTH_DAY_FORMAT
- 'F j'
- NUMBER_GROUPING
- 0
- OPENID_AX
- [{'alias': 'email', 'count': 1, 'required': True, 'type_uri': 'http://axschema.org/contact/email'}, {'alias': 'fname', 'count': 1, 'required': False, 'type_uri': 'http://axschema.org/schema/fullname'}]
- OPENID_REDIRECT_NEXT
- '/social/openid/done/'
- OPENID_SREG
- {'optional': 'postcode, country', 'policy_url': '', 'requred': 'nickname, email'}
- PASSWORD_RESET_TIMEOUT_DAYS
- '********************'
- PREPEND_WWW
- False
- PROFANITIES_LIST
- '********************'
- ROOT_URLCONF
- 'portal.urls'
- SECRET_KEY
- '********************'
- SEND_BROKEN_LINK_EMAILS
- False
- SERVER_EMAIL
- 'root@localhost'
- SESSION_COOKIE_AGE
- 1209600
- SESSION_COOKIE_DOMAIN
- None
- SESSION_COOKIE_NAME
- 'sessionid'
- SESSION_COOKIE_PATH
- '/'
- SESSION_COOKIE_SECURE
- False
- SESSION_ENGINE
- 'django.contrib.sessions.backends.db'
- SESSION_EXPIRE_AT_BROWSER_CLOSE
- False
- SESSION_FILE_PATH
- None
- SESSION_SAVE_EVERY_REQUEST
- False
- SETTINGS_MODULE
- 'portal.settings'
- SHORT_DATETIME_FORMAT
- 'm/d/Y P'
- SHORT_DATE_FORMAT
- 'm/d/Y'
- SITE_ID
- 1
- TEMPLATE_CONTEXT_PROCESSORS
- ('django.core.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'cms.context_processors.media', 'context.loginform', 'socialauth.context_processors.facebook_api_key')
- TEMPLATE_DEBUG
- True
- TEMPLATE_DIRS
- ('/home/projects/portal/templates/',)
- TEMPLATE_LOADERS
- ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
- TEMPLATE_STRING_IF_INVALID
- ''
- TEST_DATABASE_CHARSET
- None
- TEST_DATABASE_COLLATION
- None
- TEST_DATABASE_NAME
- None
- TEST_RUNNER
- 'django.test.simple.DjangoTestSuiteRunner'
- THOUSAND_SEPARATOR
- ','
- TIME_FORMAT
- 'P'
- TIME_INPUT_FORMATS
- ('%H:%M:%S', '%H:%M')
- TIME_ZONE
- 'Europe/Tallinn'
- TRANSACTIONS_MANAGED
- False
- TWITTER_CONSUMER_KEY
- ''
- TWITTER_CONSUMER_SECRET
- '********************'
- URL_VALIDATOR_USER_AGENT
- 'Django/1.2.1 (http://www.djangoproject.com)'
- USE_ETAGS
- False
- USE_I18N
- True
- USE_L10N
- True
- USE_THOUSAND_SEPARATOR
- False
- YEAR_MONTH_FORMAT
- 'F Y'
- You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Advertisement
Add Comment
Please, Sign In to add comment