Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback Switch to copy-and-paste view
- * C:\APPS\actpython\lib\site-packages\django\core\handlers\base.py in get_response
- 93. # Apply view middleware
- 94. for middleware_method in self._view_middleware:
- 95. response = middleware_method(request, callback, callback_args, callback_kwargs)
- 96. if response:
- 97. return response
- 98.
- 99. try:
- 100. response = callback(request, *callback_args, **callback_kwargs) ...
- 101. except Exception, e:
- 102. # If the view raised an exception, run it through exception
- 103. # middleware, and if the exception middleware returns a
- 104. # response, use that. Otherwise, reraise the exception.
- 105. for middleware_method in self._exception_middleware:
- 106. response = middleware_method(request, e)
- ▶ Local vars
- Variable Value
- callback
- <function newpatient at 0x01626C30>
- callback_args
- ()
- callback_kwargs
- {}
- e
- TemplateDoesNotExist(<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,)
- exceptions
- <module 'django.core.exceptions' from 'C:\APPS\actpython\lib\site-packages\django\core\exceptions.pyc'>
- middleware_method
- <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x0159B530>>
- receivers
- [(<function _rollback_on_exception at 0x00F75270>, None)]
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- resolver
- <RegexURLResolver clinicmanager.urls (None:None) ^/>
- response
- None
- self
- <django.core.handlers.wsgi.WSGIHandler object at 0x010E6CF0>
- settings
- <django.conf.LazySettings object at 0x00C8A150>
- urlconf
- 'clinicmanager.urls'
- urlresolvers
- <module 'django.core.urlresolvers' from 'C:\APPS\actpython\lib\site-packages\django\core\urlresolvers.pyc'>
- * C:\drives\workarea\Django\django\bin\clinicmanager\clinic\views.py in newpatient
- 1. from django.http import HttpResponse
- 2. from django.shortcuts import render_to_response
- 3. from clinicmanager.clinic.models import PatientRecord
- 4. from clinicmanager.clinic.models import PatientForm
- 5.
- 6. def newpatient(request):
- 7. f = PatientForm()
- 8. return render_to_response(request, "newpatient.html", {"f":f}) ...
- ▶ Local vars
- Variable Value
- f
- <clinicmanager.clinic.models.PatientForm object at 0x015DD270>
- request
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- * C:\APPS\actpython\lib\site-packages\django\shortcuts\__init__.py in render_to_response
- 13.
- 14. def render_to_response(*args, **kwargs):
- 15. """
- 16. Returns a HttpResponse whose content is filled with the result of calling
- 17. django.template.loader.render_to_string() with the passed arguments.
- 18. """
- 19. httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
- 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) ...
- 21.
- 22. def redirect(to, *args, **kwargs):
- 23. """
- 24. Returns an HttpResponseRedirect to the apropriate URL for the arguments
- 25. passed.
- 26.
- ▶ Local vars
- Variable Value
- args
- (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, 'newpatient.html', {'f': <clinicmanager.clinic.models.PatientForm object at 0x015DD270>})
- httpresponse_kwargs
- {'mimetype': None}
- kwargs
- {}
- * C:\APPS\actpython\lib\site-packages\django\template\loader.py in render_to_string
- 174. get_template, or it may be a tuple to use select_template to find one of
- 175. the templates in the list. Returns a string.
- 176. """
- 177. dictionary = dictionary or {}
- 178. if isinstance(template_name, (list, tuple)):
- 179. t = select_template(template_name)
- 180. else:
- 181. t = get_template(template_name) ...
- 182. if context_instance:
- 183. context_instance.update(dictionary)
- 184. else:
- 185. context_instance = Context(dictionary)
- 186. return t.render(context_instance)
- 187.
- ▶ Local vars
- Variable Value
- context_instance
- {'f': <clinicmanager.clinic.models.PatientForm object at 0x015DD270>}
- dictionary
- 'newpatient.html'
- template_name
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- * C:\APPS\actpython\lib\site-packages\django\template\loader.py in get_template
- 150. return template, origin
- 151.
- 152. def get_template(template_name):
- 153. """
- 154. Returns a compiled Template object for the given template name,
- 155. handling template inheritance recursively.
- 156. """
- 157. template, origin = find_template(template_name) ...
- 158. if not hasattr(template, 'render'):
- 159. # template needs to be compiled
- 160. template = get_template_from_string(template, origin, template_name)
- 161. return template
- 162.
- 163. def get_template_from_string(source, origin=None, name=None):
- ▶ Local vars
- Variable Value
- template_name
- <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'ALLUSERSPROFILE': 'C:\\Documents and Settings\\All Users', 'ANT_HOME': 'C:\\APPS\\ant_1.8.1', 'APPDATA': 'C:\\Documents and Settings\\ddhananj\\Application Data', 'APTLMHOST': '@vaapp046.noe.nokia.com', 'ARMLMD_LICENSE_FILE': '8224@bhlic01.apac.nokia.com;8224@belicl01.china.nokia.com;28747@saslmg04;', 'ARMV5VER': ':ARM/Thumb C/C++ Compiler, RVCT4.0 [Build 821]', 'CLASSPATH': '.;C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'CMTHOME': 'C:\\APPS\\cmt', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': '2INL06707', 'COMSPEC': 'C:\\WINNT\\system32\\cmd.exe', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'COPYCMD': '/Y', 'CSRF_COOKIE': '92f7442f3d4bf621aff04162e84c49e5', 'CTCHOME': 'C:\\APPS\\ctc', 'CTC_AGENT_DEBUG': '*', 'DERBY_HOME': 'C:\\APPS\\jdk_1.6.0_20\\JavaDB', 'DJANGO_SETTINGS_MODULE': 'clinicmanager.settings', 'EPOCROOT': '\\', 'FLEXLM_BATCH': '1', 'FLEXLM_TIMEOUT': '900000', 'FP_NO_HOST_CHECK': 'NO', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HELIUM_HOME': 'C:\\APPS\\helium', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Documents and Settings\\ddhananj', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)', 'JAVA_5_HOME': 'C:\\APPS\\jdk_1.5.0_22', 'JAVA_6_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'JAVA_HOME': 'C:\\APPS\\jdk_1.6.0_20', 'LM_LICENSE_FILE': '1727@bhlic01.apac.nokia.com;C:\\APPS\\licenses\\PCLint.dat;', 'LOGONSERVER': '\\\\BHWDC101', 'MWCSYM2INCLUDES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C\\MSL_X86;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_C++\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Common\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\MSL\\MSL_Extras\\MSL_Win32\\Include;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Headers\\Win32 SDK', 'MWSYM2LIBRARIES': 'C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Win32-x86 Support\\Libraries\\Win32 SDK;C:\\APPS\\carbide\\x86Build\\Symbian_Support\\Runtime\\Runtime_x86\\Runtime_Win32\\Libs', 'MWSYM2LIBRARYFILES': 'MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;', 'NS_NEWSFILE': '\\\\trwfil01\\ee_releases\\news\\news.xml', 'NS_NEWSGROUP': 'Bangalore', 'NUMBER_OF_PROCESSORS': '2', 'OS': 'Windows_NT', 'PATH': 'c:\\apps\\actperl\\bin\\;c:\\apps\\rvct40_821\\bin;c:\\apps\\atool;c:\\apps\\romtools;c:\\apps\\unzip;\\epoc32\\tools;\\epoc32\\gcc\\bin;c:\\apps\\ue;c:\\apps\\carbide\\x86Build\\Symbian_Tools\\Command_Line_Tools;C:\\APPS\\ccm65\\bin;C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem;C:\\Program Files\\QuickTime\\QTSystem\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Common Files\\Lenovo;C:\\APPS\\pclint;C:\\APPS\\cmt\\;C:\\APPS\\ctc;C:\\APPS\\prevent\\bin;C:\\APPS\\sbs\\bin;C:\\APPS\\actpython\\.;C:\\APPS\\blocks\\bin;C:\\APPS\\cltools;C:\\APPS\\codescanner;C:\\APPS\\symdec;C:\\APPS\\ant_1.8.1\\bin;C:\\APPS\\jdk_1.6.0_20\\bin;C:\\APPS\\7zip;C:\\APPS\\understand\\bin\\pc-win95;C:\\APPS\\codecollaborator;C:\\APPS\\helium;C:\\APPS\\ibuildutils\\bin;C:\\APPS\\appdep;C:\\APPS\\companalyser\\bin;C:\\APPS\\bc;\\epoc32\\gcc_mingw\\bin;C:\\Program Files\\TortoiseSVN\\bin;c:\\drives\\workarea\\django\\django;c:\\drives\\workarea\\django\\django\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw', 'PATH_INFO': u'/clinicmanager/newpatient', 'PERL': 'C:\\APPS\\actperl\\bin\\perl.exe', 'PROCESSOR_ARCHITECTURE': 'x86', 'PROCESSOR_IDENTIFIER': 'x86 Family 6 Model 15 Stepping 11, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '0f0b', 'PROGRAMFILES': 'C:\\Program Files', 'PROMPT': '$P$G', 'QTJAVA': 'C:\\Program Files\\Java\\jre1.6.0_07\\lib\\ext\\QTJava.zip', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'RVCT40BIN': 'C:\\APPS\\rvct40_821\\bin', 'RVCT40INC': 'C:\\APPS\\rvct40_821\\inc', 'RVCT40LIB': 'C:\\APPS\\rvct40_821\\lib', 'RVCT40_ASMOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_CCOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_FROMELFOPT': '--licretry --sitelicense --licensing=flex', 'RVCT40_LINKOPT': '--licretry --sitelicense --licensing=flex', 'SBS_GCCE441BIN': 'C:\\APPS\\gccsymbianadt_4_4_172\\bin', 'SBS_HOME': 'C:\\APPS\\sbs', 'SBS_PYTHON': 'C:\\APPS\\actpython\\python.exe', 'SCRIPT_NAME': u'', 'SDBE_STLPORT51_INC': 'C:\\APPS\\stlport\\include\\stlport\\', 'SDBE_STLPORT51_LIB': 'C:\\APPS\\stlport\\lib\\', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.2', 'SESSIONNAME': 'Console', 'SYMSEE_REGION': 'Bangalore', 'SYMSEE_VERSION': '12.2.0', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINNT', 'TEMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TMP': 'C:\\DOCUME~1\\ddhananj\\LOCALS~1\\Temp', 'TSMPATH': 'C:\\Program Files\\ThinkPad\\UltraNav Utility', 'TVT': 'C:\\Program Files\\Lenovo', 'USERDNSDOMAIN': 'NOE.NOKIA.COM', 'USERDOMAIN': 'NOE', 'USERNAME': 'ddhananj', 'USERPROFILE': 'C:\\Documents and Settings\\ddhananj', 'VBOX_INSTALL_PATH': 'C:\\Program Files\\Oracle\\VirtualBox\\', 'WINDIR': 'C:\\WINNT', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x00A430C0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x0161E730>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
- * C:\APPS\actpython\lib\site-packages\django\template\loader.py in find_template
- 131. template_source_loaders = tuple(loaders)
- 132. for loader in template_source_loaders:
- 133. try:
- 134. source, display_name = loader(name, dirs)
- 135. return (source, make_origin(display_name, loader, name, dirs))
- 136. except TemplateDoesNotExist:
- 137. pass
- 138. raise TemplateDoesNotExist(name) ...
- 139.
- 140. def find_template_source(name, dirs=None):
- 141. # For backward compatibility
- 142. import warnings
- 143. warnings.warn(
- 144. "`django.template.loaders.find_template_source` is deprecated; use `django.template.loaders.find_template` instead.",
- ▶ Local vars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement