ViewDoesNotExist at news Could not import tw mysite views Error was ca

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ViewDoesNotExist at /news/
Could not import tw.mysite.views. Error was: cannot import name render_to_stringRequest Method: GET
Request URL: http://127.0.0.1:8000/news/
Exception Type: ViewDoesNotExist
Exception Value: Could not import tw.mysite.views. Error was: cannot import name render_to_string
Exception Location: C:\Python25\Lib\site-packages\django\core\urlresolvers.py in _get_callback, line 133
Python Executable: C:\Python25\python.exe
Python Version: 2.5.4
Python Path: ['C:\\tw', 'C:\\WINDOWS\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\PIL']
Server time: Суб, 7 Мар 2009 16:51:54 -1200