Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.14 KB | None | 0 0
  1. Traceback Switch to copy-and-paste view
  2.  
  3. * C:\APPS\actpython\lib\site-packages\django\core\handlers\base.py in get_response
  4. 93. # Apply view middleware
  5. 94. for middleware_method in self._view_middleware:
  6. 95. response = middleware_method(request, callback, callback_args, callback_kwargs)
  7. 96. if response:
  8. 97. return response
  9. 98.
  10. 99. try:
  11. 100. response = callback(request, *callback_args, **callback_kwargs) ...
  12. 101. except Exception, e:
  13. 102. # If the view raised an exception, run it through exception
  14. 103. # middleware, and if the exception middleware returns a
  15. 104. # response, use that. Otherwise, reraise the exception.
  16. 105. for middleware_method in self._exception_middleware:
  17. 106. response = middleware_method(request, e)
  18. ▶ Local vars
  19. Variable Value
  20. callback
  21. <function newpatient at 0x01626C30>
  22. callback_args
  23. ()
  24. callback_kwargs
  25. {}
  26. e
  27. 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)}>,)
  28. exceptions
  29. <module 'django.core.exceptions' from 'C:\APPS\actpython\lib\site-packages\django\core\exceptions.pyc'>
  30. middleware_method
  31. <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x0159B530>>
  32. receivers
  33. [(<function _rollback_on_exception at 0x00F75270>, None)]
  34. request
  35. <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)}>
  36. resolver
  37. <RegexURLResolver clinicmanager.urls (None:None) ^/>
  38. response
  39. None
  40. self
  41. <django.core.handlers.wsgi.WSGIHandler object at 0x010E6CF0>
  42. settings
  43. <django.conf.LazySettings object at 0x00C8A150>
  44. urlconf
  45. 'clinicmanager.urls'
  46. urlresolvers
  47. <module 'django.core.urlresolvers' from 'C:\APPS\actpython\lib\site-packages\django\core\urlresolvers.pyc'>
  48. * C:\drives\workarea\Django\django\bin\clinicmanager\clinic\views.py in newpatient
  49. 1. from django.http import HttpResponse
  50. 2. from django.shortcuts import render_to_response
  51. 3. from clinicmanager.clinic.models import PatientRecord
  52. 4. from clinicmanager.clinic.models import PatientForm
  53. 5.
  54. 6. def newpatient(request):
  55. 7. f = PatientForm()
  56. 8. return render_to_response(request, "newpatient.html", {"f":f}) ...
  57. ▶ Local vars
  58. Variable Value
  59. f
  60. <clinicmanager.clinic.models.PatientForm object at 0x015DD270>
  61. request
  62. <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)}>
  63. * C:\APPS\actpython\lib\site-packages\django\shortcuts\__init__.py in render_to_response
  64. 13.
  65. 14. def render_to_response(*args, **kwargs):
  66. 15. """
  67. 16. Returns a HttpResponse whose content is filled with the result of calling
  68. 17. django.template.loader.render_to_string() with the passed arguments.
  69. 18. """
  70. 19. httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
  71. 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) ...
  72. 21.
  73. 22. def redirect(to, *args, **kwargs):
  74. 23. """
  75. 24. Returns an HttpResponseRedirect to the apropriate URL for the arguments
  76. 25. passed.
  77. 26.
  78. ▶ Local vars
  79. Variable Value
  80. args
  81. (<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>})
  82. httpresponse_kwargs
  83. {'mimetype': None}
  84. kwargs
  85. {}
  86. * C:\APPS\actpython\lib\site-packages\django\template\loader.py in render_to_string
  87. 174. get_template, or it may be a tuple to use select_template to find one of
  88. 175. the templates in the list. Returns a string.
  89. 176. """
  90. 177. dictionary = dictionary or {}
  91. 178. if isinstance(template_name, (list, tuple)):
  92. 179. t = select_template(template_name)
  93. 180. else:
  94. 181. t = get_template(template_name) ...
  95. 182. if context_instance:
  96. 183. context_instance.update(dictionary)
  97. 184. else:
  98. 185. context_instance = Context(dictionary)
  99. 186. return t.render(context_instance)
  100. 187.
  101. ▶ Local vars
  102. Variable Value
  103. context_instance
  104. {'f': <clinicmanager.clinic.models.PatientForm object at 0x015DD270>}
  105. dictionary
  106. 'newpatient.html'
  107. template_name
  108. <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)}>
  109. * C:\APPS\actpython\lib\site-packages\django\template\loader.py in get_template
  110. 150. return template, origin
  111. 151.
  112. 152. def get_template(template_name):
  113. 153. """
  114. 154. Returns a compiled Template object for the given template name,
  115. 155. handling template inheritance recursively.
  116. 156. """
  117. 157. template, origin = find_template(template_name) ...
  118. 158. if not hasattr(template, 'render'):
  119. 159. # template needs to be compiled
  120. 160. template = get_template_from_string(template, origin, template_name)
  121. 161. return template
  122. 162.
  123. 163. def get_template_from_string(source, origin=None, name=None):
  124. ▶ Local vars
  125. Variable Value
  126. template_name
  127. <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)}>
  128. * C:\APPS\actpython\lib\site-packages\django\template\loader.py in find_template
  129. 131. template_source_loaders = tuple(loaders)
  130. 132. for loader in template_source_loaders:
  131. 133. try:
  132. 134. source, display_name = loader(name, dirs)
  133. 135. return (source, make_origin(display_name, loader, name, dirs))
  134. 136. except TemplateDoesNotExist:
  135. 137. pass
  136. 138. raise TemplateDoesNotExist(name) ...
  137. 139.
  138. 140. def find_template_source(name, dirs=None):
  139. 141. # For backward compatibility
  140. 142. import warnings
  141. 143. warnings.warn(
  142. 144. "`django.template.loaders.find_template_source` is deprecated; use `django.template.loaders.find_template` instead.",
  143. ▶ Local vars
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement