I am trying simple generic view + auth and get exception as below.
The dpaste shows traceback. Please guide what am I missing. From
manage shell I am able to import login view fine but when I runserver
and try to go to url it gives the error. Let me know if need more
info.
ImportError at /accounts/login/
No module named login
Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/login/?next=/event/
Django Version: 1.3.1
Exception Type: ImportError
Exception Value:
No module named login
Exception Location: i:\learn\python\Django-1.3.1\django\utils
\importlib.py in import_module, line 35
Python Executable: \\ms\dist\python\PROJ\core\2.5.4\bin\python.EXE
Python Version: 2.5.4
Python Path:
['I:\\learn\\python\\event',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\lib\\python2.5\\lib-
dynload',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\lib\\python2.5',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\lib',
'i:\\learn\\python\\Django-1.3.1',
'I:\\learn\\python\\event',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\bin\\python25.zip',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\DLLs',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\lib\\plat-win',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\lib\\lib-tk',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4-0\\lib\\python2.5',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4-0\\lib\\python2.5\\lib-tk',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4-0\\lib\\python2.5\\site-
packages',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4-0\\lib\\python2.5\\lib-
dynload',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4\\bin',
'\\\\ms\\dist\\python\\PROJ\\core\\2.5.4',
'//ms/dist/python/PROJ/msversion/1.0/lib',
'//ms/dist/python/PROJ/ms.version/prod-2.5/lib']
Server time: Thu, 2 Feb 2012 15:58:44 +0530
Regards,
Miten.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment