"Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>"
Request Method: | POST |
---|---|
Request URL: | http://127.0.0.1:8000/admin/levi/lin/40/ |
Django Version: | 1.4.2 |
Exception Type: | MultiValueDictKeyError |
Exception Value: | "Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>" |
Exception Location: | C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\datastructures.py in __getitem__, line 258 |
Python Executable: | C:\Python27\python.exe |
Python Version: | 2.7.2 |
Python Path: | ['Z:\\Documents\\prolog\\django\\levipy', 'Z:\\Documents\\prolog\\django\\levipy', 'C:\\Windows\\SYSTEM32\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win', 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27', 'C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Python27\\site-packages', 'C:\\Python27\\lib\\site-packages', 'C:\\Python27\\lib\\site-packages\\win32', 'C:\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg-info'] |
Server time: | Tue, 16 Jul 2013 07:07:25 +0800 |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\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 'C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\exceptions.pyc'> |
e | MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",) |
callback_args | (u'40',) |
settings | <django.conf.LazySettings object at 0x024C9450> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x02FD3C90>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x02FD3630> |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function change_view at 0x02E7DA30> |
resolver | <RegexURLResolver levipy.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from 'C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\core\urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'levipy.urls' |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py
in wrapper
return inline_instances
def get_urls(self):
from django.conf.urls import patterns, url
def wrap(view):
def wrapper(*args, **kwargs):
return self.admin_site.admin_view(view)(*args, **kwargs)...
return update_wrapper(wrapper, view)
info = self.model._meta.app_label, self.model._meta.module_name
urlpatterns = patterns('',
url(r'^$',
Variable | Value |
---|---|
self | <levi.admin.LinAdmin object at 0x02E8BFF0> |
args | (<WSGIRequest path:/admin/levi/lin/40/, GET:<QueryDict: {}>, POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>, COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ADAMPAHLEVID59C', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '5296', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650', 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'DJANGO_SETTINGS_MODULE': 'levipy.settings', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\adampahlevi', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0', 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local', 'LOGONSERVER': '\\\\ADAMPAHLEVID59C', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw', 'PATH_INFO': u'/admin/levi/lin/40/', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '3a09', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM_HOSTED': '1', 'PYTHONIOENCODING': 'UTF-8', 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'ADAMPAHLEVID59C', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'USERDOMAIN': 'ADAMPAHLEVID59C', 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C', 'USERNAME': 'adampahlevi', 'USERPROFILE': 'C:\\Users\\adampahlevi', 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\', 'WINDIR': 'C:\\Windows', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>, 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>, 'wsgi.input': <socket._fileobject object at 0x02FE8B30>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, u'40') |
view | <bound method LinAdmin.change_view of <levi.admin.LinAdmin object at 0x02E8BFF0>> |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py
in _wrapped_view
if result is not None:
return result
if hasattr(middleware, 'process_view'):
result = middleware.process_view(request, view_func, args, kwargs)
if result is not None:
return result
try:
response = view_func(request, *args, **kwargs)...
except Exception, e:
if hasattr(middleware, 'process_exception'):
result = middleware.process_exception(request, e)
if result is not None:
return result
raise
Variable | Value |
---|---|
e | MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",) |
middleware | <django.middleware.csrf.CsrfViewMiddleware object at 0x02E0EDF0> |
args | (u'40',) |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
result | None |
kwargs | {} |
view_func | <function inner at 0x03090070> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\views\decorators\cache.py
in _wrapped_view_func
def never_cache(view_func):
"""
Decorator that adds headers to a response so that it will
never be cached.
"""
@wraps(view_func, assigned=available_attrs(view_func))
def _wrapped_view_func(request, *args, **kwargs):
response = view_func(request, *args, **kwargs)...
add_never_cache_headers(response)
return response
return _wrapped_view_func
Variable | Value |
---|---|
args | (u'40',) |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
view_func | <function inner at 0x03090A70> |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\sites.py
in inner
def inner(request, *args, **kwargs):
if not self.has_permission(request):
if request.path == reverse('admin:logout',
current_app=self.name):
index_path = reverse('admin:index', current_app=self.name)
return HttpResponseRedirect(index_path)
return self.login(request)
return view(request, *args, **kwargs)...
if not cacheable:
inner = never_cache(inner)
# We add csrf_protect here so this function can be used as a utility
# function for any view, without having to repeat 'csrf_protect'.
if not getattr(view, 'csrf_exempt', False):
inner = csrf_protect(inner)
Variable | Value |
---|---|
self | <django.contrib.admin.sites.AdminSite object at 0x02ECDFB0> |
args | (u'40',) |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
view | <bound method LinAdmin.change_view of <levi.admin.LinAdmin object at 0x02E8BFF0>> |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py
in _wrapper
def _wrapper(self, *args, **kwargs):
@decorator
def bound_func(*args2, **kwargs2):
return func(self, *args2, **kwargs2)
# bound_func has the signature that 'decorator' expects i.e. no
# 'self' argument, but it is a closure over self so it can call
# 'func' correctly.
return bound_func(*args, **kwargs)...
# In case 'decorator' adds attributes to the function it decorates, we
# want to copy those. We don't have access to bound_func in this scope,
# but we can cheat by using it on a dummy function.
@decorator
def dummy(*args, **kwargs):
pass
Variable | Value |
---|---|
self | <levi.admin.LinAdmin object at 0x02E8BFF0> |
args | (<WSGIRequest path:/admin/levi/lin/40/, GET:<QueryDict: {}>, POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>, COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ADAMPAHLEVID59C', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '5296', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650', 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'DJANGO_SETTINGS_MODULE': 'levipy.settings', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\adampahlevi', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0', 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local', 'LOGONSERVER': '\\\\ADAMPAHLEVID59C', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw', 'PATH_INFO': u'/admin/levi/lin/40/', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '3a09', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM_HOSTED': '1', 'PYTHONIOENCODING': 'UTF-8', 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'ADAMPAHLEVID59C', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'USERDOMAIN': 'ADAMPAHLEVID59C', 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C', 'USERNAME': 'adampahlevi', 'USERPROFILE': 'C:\\Users\\adampahlevi', 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\', 'WINDIR': 'C:\\Windows', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>, 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>, 'wsgi.input': <socket._fileobject object at 0x02FE8B30>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, u'40') |
bound_func | <function bound_func at 0x030F1CB0> |
func | <function change_view at 0x02E1C1B0> |
kwargs | {} |
decorator | <function csrf_protect at 0x02E15230> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py
in _wrapped_view
if result is not None:
return result
if hasattr(middleware, 'process_view'):
result = middleware.process_view(request, view_func, args, kwargs)
if result is not None:
return result
try:
response = view_func(request, *args, **kwargs)...
except Exception, e:
if hasattr(middleware, 'process_exception'):
result = middleware.process_exception(request, e)
if result is not None:
return result
raise
Variable | Value |
---|---|
e | MultiValueDictKeyError("Key 'rot_set-0-rotid' not found in <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>",) |
middleware | <django.middleware.csrf.CsrfViewMiddleware object at 0x02E0EDF0> |
args | (u'40',) |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
result | None |
kwargs | {} |
view_func | <function bound_func at 0x030F16B0> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\decorators.py
in bound_func
"""
# 'func' is a function at the time it is passed to _dec, but will eventually
# be a method of the class it is defined it.
def _dec(func):
def _wrapper(self, *args, **kwargs):
@decorator
def bound_func(*args2, **kwargs2):
return func(self, *args2, **kwargs2)...
# bound_func has the signature that 'decorator' expects i.e. no
# 'self' argument, but it is a closure over self so it can call
# 'func' correctly.
return bound_func(*args, **kwargs)
# In case 'decorator' adds attributes to the function it decorates, we
# want to copy those. We don't have access to bound_func in this scope,
Variable | Value |
---|---|
args2 | (<WSGIRequest path:/admin/levi/lin/40/, GET:<QueryDict: {}>, POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>, COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ADAMPAHLEVID59C', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '5296', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650', 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'DJANGO_SETTINGS_MODULE': 'levipy.settings', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\adampahlevi', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0', 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local', 'LOGONSERVER': '\\\\ADAMPAHLEVID59C', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw', 'PATH_INFO': u'/admin/levi/lin/40/', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '3a09', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM_HOSTED': '1', 'PYTHONIOENCODING': 'UTF-8', 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'ADAMPAHLEVID59C', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'USERDOMAIN': 'ADAMPAHLEVID59C', 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C', 'USERNAME': 'adampahlevi', 'USERPROFILE': 'C:\\Users\\adampahlevi', 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\', 'WINDIR': 'C:\\Windows', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>, 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>, 'wsgi.input': <socket._fileobject object at 0x02FE8B30>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, u'40') |
func | <function change_view at 0x02E1C1B0> |
self | <levi.admin.LinAdmin object at 0x02E8BFF0> |
kwargs2 | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\db\transaction.py
in inner
def __exit__(self, exc_type, exc_value, traceback):
self.exiting(exc_value, self.using)
def __call__(self, func):
@wraps(func)
def inner(*args, **kwargs):
with self:
return func(*args, **kwargs)...
return inner
def _transaction_func(entering, exiting, using):
"""
Takes 3 things, an entering function (what to do to start this block of
transaction management), an exiting function (what to do to end it, on both
Variable | Value |
---|---|
self | <django.db.transaction.Transaction object at 0x02E17B10> |
args | (<levi.admin.LinAdmin object at 0x02E8BFF0>, <WSGIRequest path:/admin/levi/lin/40/, GET:<QueryDict: {}>, POST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>, COOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'}, META:{'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\adampahlevi\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ADAMPAHLEVID59C', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'CONTENT_LENGTH': '5296', 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650', 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd', 'DJANGO_SETTINGS_MODULE': 'levipy.settings', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\adampahlevi', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d', 'HTTP_HOST': '127.0.0.1:8000', 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0', 'LOCALAPPDATA': 'C:\\Users\\adampahlevi\\AppData\\Local', 'LOGONSERVER': '\\\\ADAMPAHLEVID59C', 'NUMBER_OF_PROCESSORS': '1', 'OS': 'Windows_NT', 'PATH': 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw', 'PATH_INFO': u'/admin/levi/lin/40/', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_ARCHITEW6432': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '3a09', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files (x86)', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM_HOSTED': '1', 'PYTHONIOENCODING': 'UTF-8', 'PYTHONPATH': 'Z:\\Documents\\prolog\\django\\levipy', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'ADAMPAHLEVID59C', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp', 'USERDOMAIN': 'ADAMPAHLEVID59C', 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C', 'USERNAME': 'adampahlevi', 'USERPROFILE': 'C:\\Users\\adampahlevi', 'VS110COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\', 'WINDIR': 'C:\\Windows', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>, 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>, 'wsgi.input': <socket._fileobject object at 0x02FE8B30>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, u'40') |
func | <function change_view at 0x02E1C130> |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\contrib\admin\options.py
in change_view
for FormSet, inline in zip(self.get_formsets(request, new_object), inline_instances):
prefix = FormSet.get_default_prefix()
prefixes[prefix] = prefixes.get(prefix, 0) + 1
if prefixes[prefix] != 1 or not prefix:
prefix = "%s-%s" % (prefix, prefixes[prefix])
formset = FormSet(request.POST, request.FILES,
instance=new_object, prefix=prefix,
queryset=inline.queryset(request))...
formsets.append(formset)
if all_valid(formsets) and form_validated:
self.save_model(request, new_object, form, True)
self.save_related(request, form, formsets, True)
Variable | Value |
---|---|
new_object | <Lin: Line KLIA Transit> |
obj | <Lin: Line KLIA Transit> |
form | <django.forms.models.LinForm object at 0x03065B30> |
form_url | '' |
self | <levi.admin.LinAdmin object at 0x02E8BFF0> |
request | "<WSGIRequest\npath:/admin/levi/lin/40/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>,\nCOOKIES:{'csrftoken': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'sessionid': 'b294a764b7bad938401f98691c0d8d3d'},\nMETA:{'ALLUSERSPROFILE': 'C:\\\\ProgramData',\n 'APPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming',\n 'COMMONPROGRAMFILES': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMFILES(X86)': 'C:\\\\Program Files (x86)\\\\Common Files',\n 'COMMONPROGRAMW6432': 'C:\\\\Program Files\\\\Common Files',\n 'COMPUTERNAME': 'ADAMPAHLEVID59C',\n 'COMSPEC': 'C:\\\\Windows\\\\system32\\\\cmd.exe',\n 'CONTENT_LENGTH': '5296',\n 'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------3001650601650',\n 'CSRF_COOKIE': 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd',\n 'DJANGO_SETTINGS_MODULE': 'levipy.settings',\n 'FP_NO_HOST_CHECK': 'NO',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HOMEDRIVE': 'C:',\n 'HOMEPATH': '\\\\Users\\\\adampahlevi',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d',\n 'HTTP_HOST': '127.0.0.1:8000',\n 'HTTP_REFERER': 'http://127.0.0.1:8000/admin/levi/lin/40/',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0',\n 'LOCALAPPDATA': 'C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Local',\n 'LOGONSERVER': '\\\\\\\\ADAMPAHLEVID59C',\n 'NUMBER_OF_PROCESSORS': '1',\n 'OS': 'Windows_NT',\n 'PATH': 'C:\\\\Program Files (x86)\\\\JetBrains\\\\PyCharm 2.7.3\\\\bin\\\\..\\\\.\\\\bin;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Python27\\\\;C:\\\\Python27\\\\Scripts;C:\\\\Python32\\\\;C:\\\\Python32\\\\Scripts;C:\\\\Program Files (x86)\\\\Parallels\\\\Parallels Tools\\\\Applications;C:\\\\Windows\\\\system32;C:\\\\Windows;C:\\\\Windows\\\\System32\\\\Wbem;C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\;C:\\\\Program Files (x86)\\\\Windows Kits\\\\8.0\\\\Windows Performance Toolkit\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Python33;C:\\\\Python33\\\\Scripts;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files\\\\Microsoft SQL Server\\\\110\\\\DTS\\\\Binn\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\Binn\\\\ManagementStudio\\\\;C:\\\\Program Files\\\\Microsoft\\\\Web Platform Installer\\\\;C:\\\\Program Files (x86)\\\\Microsoft ASP.NET\\\\ASP.NET Web Pages\\\\v1.0\\\\;C:\\\\Users\\\\adampahlevi\\\\AppData\\\\Roaming\\\\Python\\\\Scripts;c:\\\\program files (x86)\\\\jetbrains\\\\pycharm 2.7.3\\\\jre\\\\jre\\\\bin',\n 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',\n 'PATH_INFO': u'/admin/levi/lin/40/',\n 'PROCESSOR_ARCHITECTURE': 'x86',\n 'PROCESSOR_ARCHITEW6432': 'AMD64',\n 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',\n 'PROCESSOR_LEVEL': '6',\n 'PROCESSOR_REVISION': '3a09',\n 'PROGRAMDATA': 'C:\\\\ProgramData',\n 'PROGRAMFILES': 'C:\\\\Program Files (x86)',\n 'PROGRAMFILES(X86)': 'C:\\\\Program Files (x86)',\n 'PROGRAMW6432': 'C:\\\\Program Files',\n 'PSMODULEPATH': 'C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\Modules\\\\;C:\\\\Program Files (x86)\\\\Microsoft SQL Server\\\\110\\\\Tools\\\\PowerShell\\\\Modules\\\\',\n 'PUBLIC': 'C:\\\\Users\\\\Public',\n 'PYCHARM_HOSTED': '1',\n 'PYTHONIOENCODING': 'UTF-8',\n 'PYTHONPATH': 'Z:\\\\Documents\\\\prolog\\\\django\\\\levipy',\n 'PYTHONUNBUFFERED': '1',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'POST',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'ADAMPAHLEVID59C',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.2',\n 'SESSIONNAME': 'Console',\n 'SYSTEMDRIVE': 'C:',\n 'SYSTEMROOT': 'C:\\\\Windows',\n 'TEMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'TMP': 'C:\\\\Users\\\\ADAMPA~1\\\\AppData\\\\Local\\\\Temp',\n 'USERDOMAIN': 'ADAMPAHLEVID59C',\n 'USERDOMAIN_ROAMINGPROFILE': 'ADAMPAHLEVID59C',\n 'USERNAME': 'adampahlevi',\n 'USERPROFILE': 'C:\\\\Users\\\\adampahlevi',\n 'VS110COMNTOOLS': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 11.0\\\\Common7\\\\Tools\\\\',\n 'WINDIR': 'C:\\\\Windows',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x01E250D0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x02B5CEA0>,\n 'wsgi.input': <socket._fileobject object at 0x02FE8B30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
inline_instances | [<levi.admin.RotGridsTabular object at 0x0307B6D0>] |
object_id | u'40' |
form_validated | True |
prefixes | {'rot_set': 1} |
prefix | 'rot_set' |
formsets | [] |
inline | <levi.admin.RotGridsTabular object at 0x0307B6D0> |
model | <class 'levi.models.Lin'> |
extra_context | None |
ModelForm | <class 'django.forms.models.LinForm'> |
FormSet | <class 'django.forms.formsets.RotFormFormSet'> |
opts | <Options for Lin> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py
in __init__
self.save_as_new = save_as_new
# is there a better way to get the object descriptor?
self.rel_name = RelatedObject(self.fk.rel.to, self.model, self.fk).get_accessor_name()
if queryset is None:
queryset = self.model._default_manager
qs = queryset.filter(**{self.fk.name: self.instance})
super(BaseInlineFormSet, self).__init__(data, files, prefix=prefix,
queryset=qs, **kwargs)...
def initial_form_count(self):
if self.save_as_new:
return 0
return super(BaseInlineFormSet, self).initial_form_count()
Variable | Value |
---|---|
files | <MultiValueDict: {}> |
qs | [<Rot: to KL Sentral(train)>, <Rot: KL Sentral to Tasik Selatan>, <Rot: Tasik Selatan to Putrajaya/Cyberjaya>, <Rot: Putrajaya/Cyberjaya to Salak Tinggi>, <Rot: Salak Tinggi to KLIA Airport>] |
save_as_new | False |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
queryset | [<Rot: to Sentul Timur(train)>, <Rot: Sentul Timur to Sentul>, <Rot: Sentul to Titiwangsa>, <Rot: Titiwangsa to PWTC>, <Rot: PWTC to Sultan Ismail>, <Rot: Sultan Ismail to Bandaraya>, <Rot: Bandaraya to Masjid Jamek>, <Rot: Masjid Jamek to Plaza Rakyat>, <Rot: Plaza Rakyat to Hang Tuah>, <Rot: Hang Tuah to Pudu>, <Rot: Pudu to Chan Sow Lin>, <Rot: Chan Sow Lin to Miharja>, <Rot: Miharja to Maluri>, <Rot: Maluri to Pandan Jaya>, <Rot: Pandan Jaya to Pandan Indah>, <Rot: Pandan Indah to Cempaka>, <Rot: Cempaka to Cahaya>, <Rot: Cempaka to Ampang>, <Rot: Ampang to Cheras>, <Rot: Cheras to Salak Selatan>, '...(remaining elements truncated)...'] |
RelatedObject | <class 'django.db.models.related.RelatedObject'> |
instance | <Lin: Line KLIA Transit> |
prefix | 'rot_set' |
kwargs | {} |
data | <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py
in __init__
def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None,
queryset=None, **kwargs):
self.queryset = queryset
self.initial_extra = kwargs.pop('initial', None)
defaults = {'data': data, 'files': files, 'auto_id': auto_id, 'prefix': prefix}
defaults.update(kwargs)
super(BaseModelFormSet, self).__init__(**defaults)...
def initial_form_count(self):
"""Returns the number of forms that are required in this FormSet."""
if not (self.data or self.files):
return len(self.get_queryset())
return super(BaseModelFormSet, self).initial_form_count()
Variable | Value |
---|---|
auto_id | 'id_%s' |
files | <MultiValueDict: {}> |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
queryset | [<Rot: to KL Sentral(train)>, <Rot: KL Sentral to Tasik Selatan>, <Rot: Tasik Selatan to Putrajaya/Cyberjaya>, <Rot: Putrajaya/Cyberjaya to Salak Tinggi>, <Rot: Salak Tinggi to KLIA Airport>] |
prefix | 'rot_set' |
defaults | {'auto_id': 'id_%s', 'data': <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}>, 'files': <MultiValueDict: {}>, 'prefix': 'rot_set'} |
kwargs | {} |
data | <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py
in __init__
self.data = data or {}
self.files = files or {}
self.initial = initial
self.error_class = error_class
self._errors = None
self._non_form_errors = None
# construct the forms in the formset
self._construct_forms()...
def __unicode__(self):
return self.as_table()
def __iter__(self):
"""Yields the forms in the order they should be rendered"""
Variable | Value |
---|---|
auto_id | 'id_%s' |
files | <MultiValueDict: {}> |
error_class | <class 'django.forms.util.ErrorList'> |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
initial | None |
prefix | 'rot_set' |
data | <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\formsets.py
in _construct_forms
initial_forms = self.max_num
return initial_forms
def _construct_forms(self):
# instantiate all the forms and put them in self.forms
self.forms = []
for i in xrange(self.total_form_count()):
self.forms.append(self._construct_form(i))...
def _construct_form(self, i, **kwargs):
"""
Instantiates and returns the i-th form instance in a formset.
"""
defaults = {'auto_id': self.auto_id, 'prefix': self.add_prefix(i)}
Variable | Value |
---|---|
i | 0 |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py
in _construct_form
def initial_form_count(self):
if self.save_as_new:
return 0
return super(BaseInlineFormSet, self).initial_form_count()
def _construct_form(self, i, **kwargs):
form = super(BaseInlineFormSet, self)._construct_form(i, **kwargs)...
if self.save_as_new:
# Remove the primary key from the form's data, we are only
# creating new instances
form.data[form.add_prefix(self._pk_field.name)] = None
# Remove the foreign key from the form's data
Variable | Value |
---|---|
i | 0 |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\forms\models.py
in _construct_form
def _construct_form(self, i, **kwargs):
if self.is_bound and i < self.initial_form_count():
# Import goes here instead of module-level because importing
# django.db has side effects.
from django.db import connections
pk_key = "%s-%s" % (self.add_prefix(i), self.model._meta.pk.name)
pk = self.data[pk_key]...
pk_field = self.model._meta.pk
pk = pk_field.get_db_prep_lookup('exact', pk,
connection=connections[self.get_queryset().db])
if isinstance(pk, list):
pk = pk[0]
kwargs['instance'] = self._existing_object(pk)
Variable | Value |
---|---|
connections | <django.db.utils.ConnectionHandler object at 0x02CD2410> |
i | 0 |
self | <django.forms.formsets.RotFormFormSet object at 0x03171210> |
pk_key | 'rot_set-0-rotid' |
kwargs | {} |
C:\Users\adampahlevi\AppData\Roaming\Python\Python27\site-packages\django\utils\datastructures.py
in __getitem__
"""
Returns the last data value for this key, or [] if it's an empty list;
raises KeyError if not found.
"""
try:
list_ = super(MultiValueDict, self).__getitem__(key)
except KeyError:
raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))...
try:
return list_[-1]
except IndexError:
return []
def __setitem__(self, key, value):
Variable | Value |
---|---|
self | <QueryDict: {u'rot_set-1-rotto': [u'829'], u'rot_set-2-rotkm': [u''], u'rot_set-__prefix__-rotprice': [u''], u'rot_set-0-rotlin': [u'40'], u'rot_set-MAX_NUM_FORMS': [u''], u'rot_set-0-rotfrom': [u''], u'rot_set-1-rotisactive': [u'on'], u'rot_set-3-rottimemnt': [u''], u'rot_set-2-rotto': [u'832'], u'rot_set-__prefix__-rotfrom': [u''], u'rot_set-2-rottimemnt': [u''], u'rot_set-1-rotkm': [u''], u'rot_set-0-rotkm': [u''], u'_save': [u'Save'], u'rot_set-__prefix__-rotto': [u''], u'rot_set-0-rottimemnt': [u''], u'rot_set-3-rotprice': [u''], u'rot_set-2-rotlin': [u'40'], u'rot_set-0-rotisactive': [u'on'], u'rot_set-__prefix__-rotisactive': [u'on'], u'rot_set-4-rotisactive': [u'on'], u'rot_set-__prefix__-rotkm': [u''], u'csrfmiddlewaretoken': [u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd'], u'rot_set-3-rotfrom': [u'832'], u'rot_set-0-rotto': [u'828'], u'linbsn': [u'867'], u'rot_set-__prefix__-rotlin': [u'40'], u'rot_set-4-rottimemnt': [u''], u'rot_set-2-rotisactive': [u'on'], u'rot_set-2-rotfrom': [u'829'], u'rot_set-4-rotkm': [u''], u'rot_set-4-rotto': [u'831'], u'rot_set-INITIAL_FORMS': [u'5'], u'rot_set-1-rotprice': [u''], u'rot_set-3-rotlin': [u'40'], u'rot_set-4-rotprice': [u''], u'rot_set-0-rotprice': [u''], u'rot_set-__prefix__-rottimemnt': [u''], u'rot_set-4-rotfrom': [u'830'], u'rot_set-3-rotkm': [u''], u'rot_set-TOTAL_FORMS': [u'5'], u'rot_set-3-rotisactive': [u'on'], u'rot_set-1-rottimemnt': [u''], u'rot_set-1-rotfrom': [u'828'], u'rot_set-2-rotprice': [u''], u'rot_set-3-rotto': [u'830'], u'rot_set-1-rotlin': [u'40'], u'rot_set-4-rotlin': [u'40']}> |
key | 'rot_set-0-rotid' |
No GET data
Variable | Value |
---|---|
rot_set-1-rotto | u'829' |
rot_set-2-rotkm | u'' |
rot_set-__prefix__-rotprice | u'' |
rot_set-0-rotlin | u'40' |
rot_set-MAX_NUM_FORMS | u'' |
rot_set-0-rotfrom | u'' |
rot_set-1-rotisactive | u'on' |
rot_set-3-rottimemnt | u'' |
rot_set-2-rotto | u'832' |
rot_set-__prefix__-rotfrom | u'' |
rot_set-2-rottimemnt | u'' |
rot_set-1-rotkm | u'' |
rot_set-0-rotkm | u'' |
_save | u'Save' |
rot_set-__prefix__-rotto | u'' |
rot_set-0-rottimemnt | u'' |
rot_set-3-rotprice | u'' |
rot_set-2-rotlin | u'40' |
rot_set-0-rotisactive | u'on' |
rot_set-__prefix__-rotisactive | u'on' |
rot_set-4-rotisactive | u'on' |
rot_set-__prefix__-rotkm | u'' |
csrfmiddlewaretoken | u'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd' |
rot_set-3-rotfrom | u'832' |
rot_set-0-rotto | u'828' |
linbsn | u'867' |
rot_set-__prefix__-rotlin | u'40' |
rot_set-4-rottimemnt | u'' |
rot_set-2-rotisactive | u'on' |
rot_set-2-rotfrom | u'829' |
rot_set-4-rotkm | u'' |
rot_set-4-rotto | u'831' |
rot_set-INITIAL_FORMS | u'5' |
rot_set-1-rotprice | u'' |
rot_set-3-rotlin | u'40' |
rot_set-4-rotprice | u'' |
rot_set-0-rotprice | u'' |
rot_set-__prefix__-rottimemnt | u'' |
rot_set-4-rotfrom | u'830' |
rot_set-3-rotkm | u'' |
rot_set-TOTAL_FORMS | u'5' |
rot_set-3-rotisactive | u'on' |
rot_set-1-rottimemnt | u'' |
rot_set-1-rotfrom | u'828' |
rot_set-2-rotprice | u'' |
rot_set-3-rotto | u'830' |
rot_set-1-rotlin | u'40' |
rot_set-4-rotlin | u'40' |
No FILES data
Variable | Value |
---|---|
csrftoken | 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd' |
sessionid | 'b294a764b7bad938401f98691c0d8d3d' |
Variable | Value |
---|---|
TMP | 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp' |
PYTHONIOENCODING | 'UTF-8' |
COMPUTERNAME | 'ADAMPAHLEVID59C' |
wsgi.multiprocess | False |
VS110COMNTOOLS | 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\' |
HTTP_REFERER | 'http://127.0.0.1:8000/admin/levi/lin/40/' |
USERDOMAIN | 'ADAMPAHLEVID59C' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.2' |
PSMODULEPATH | 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\' |
SCRIPT_NAME | u'' |
COMMONPROGRAMFILES | 'C:\\Program Files (x86)\\Common Files' |
PROCESSOR_IDENTIFIER | 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel' |
REQUEST_METHOD | 'POST' |
PROGRAMFILES | 'C:\\Program Files (x86)' |
PROCESSOR_REVISION | '3a09' |
SYSTEMROOT | 'C:\\Windows' |
QUERY_STRING | '' |
PATH | 'C:\\Program Files (x86)\\JetBrains\\PyCharm 2.7.3\\bin\\..\\.\\bin;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Python27\\;C:\\Python27\\Scripts;C:\\Python32\\;C:\\Python32\\Scripts;C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Python33;C:\\Python33\\Scripts;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files\\Microsoft\\Web Platform Installer\\;C:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Users\\adampahlevi\\AppData\\Roaming\\Python\\Scripts;c:\\program files (x86)\\jetbrains\\pycharm 2.7.3\\jre\\jre\\bin' |
PYTHONUNBUFFERED | '1' |
PROGRAMFILES(X86) | 'C:\\Program Files (x86)' |
RUN_MAIN | 'true' |
CONTENT_LENGTH | '5296' |
HTTP_USER_AGENT | 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0' |
DJANGO_SETTINGS_MODULE | 'levipy.settings' |
HTTP_COOKIE | 'csrftoken=C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd; sessionid=b294a764b7bad938401f98691c0d8d3d' |
TEMP | 'C:\\Users\\ADAMPA~1\\AppData\\Local\\Temp' |
REMOTE_ADDR | '127.0.0.1' |
COMMONPROGRAMFILES(X86) | 'C:\\Program Files (x86)\\Common Files' |
PROCESSOR_ARCHITECTURE | 'x86' |
wsgi.url_scheme | 'http' |
ALLUSERSPROFILE | 'C:\\ProgramData' |
SERVER_PORT | '8000' |
LOCALAPPDATA | 'C:\\Users\\adampahlevi\\AppData\\Local' |
HOMEPATH | '\\Users\\adampahlevi' |
USERDOMAIN_ROAMINGPROFILE | 'ADAMPAHLEVID59C' |
PROGRAMW6432 | 'C:\\Program Files' |
USERNAME | 'adampahlevi' |
HTTP_ACCEPT | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' |
LOGONSERVER | '\\\\ADAMPAHLEVID59C' |
COMSPEC | 'C:\\Windows\\system32\\cmd.exe' |
PROGRAMDATA | 'C:\\ProgramData' |
PYTHONPATH | 'Z:\\Documents\\prolog\\django\\levipy' |
wsgi.multithread | True |
CSRF_COOKIE | 'C1bnq2wPEegI1SQGg2fGYvUm7lfoQiLd' |
wsgi.input | <socket._fileobject object at 0x02FE8B30> |
HTTP_CONNECTION | 'keep-alive' |
HTTP_HOST | '127.0.0.1:8000' |
SESSIONNAME | 'Console' |
PATHEXT | '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw' |
PATH_INFO | u'/admin/levi/lin/40/' |
FP_NO_HOST_CHECK | 'NO' |
WINDIR | 'C:\\Windows' |
wsgi.file_wrapper | '' |
HTTP_ACCEPT_ENCODING | 'gzip, deflate' |
wsgi.version | (1, 0) |
HOMEDRIVE | 'C:' |
APPDATA | 'C:\\Users\\adampahlevi\\AppData\\Roaming' |
SERVER_NAME | 'ADAMPAHLEVID59C' |
wsgi.run_once | False |
REMOTE_HOST | '' |
SYSTEMDRIVE | 'C:' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT_LANGUAGE | 'en-US,en;q=0.5' |
PYCHARM_HOSTED | '1' |
NUMBER_OF_PROCESSORS | '1' |
PROCESSOR_LEVEL | '6' |
CONTENT_TYPE | 'multipart/form-data; boundary=---------------------------3001650601650' |
PROCESSOR_ARCHITEW6432 | 'AMD64' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x01E250D0> |
COMMONPROGRAMW6432 | 'C:\\Program Files\\Common Files' |
OS | 'Windows_NT' |
PUBLIC | 'C:\\Users\\Public' |
USERPROFILE | 'C:\\Users\\adampahlevi' |
levipy.settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'levipy.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_PERMISSIONS | None |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.2 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'levi', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': 'root'}} |
SERVER_EMAIL | 'root@localhost' |
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 | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
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') |
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' |
SEND_BROKEN_LINK_EMAILS | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'levipy.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
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', 'django.contrib.admin', 'levi') |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
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/' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('Z:/Documents/prolog/django/levipy/levipy/../templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'America/Chicago' |
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.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'levipy.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.