I have a different error:

ViewDoesNotExist at /admin/

Could not import polls.views.vote. View does not exist in module polls.views.

Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.1Exception Type:ViewDoesNotExistException Value:

Could not import polls.views.vote. View does not exist in module polls.views.

Exception 
Location:/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py 
in get_callable, line 101Python Executable:/usr/bin/pythonPython Version:
2.7.3Python Path:

['/www/mysite',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages/gtk-2.0']

Server time:Thu, 6 Sep 2012 15:44:46 -0700
On Thursday, September 6, 2012 11:44:30 AM UTC-7, Maheshakya Wijewardena 
wrote:
>
> I've followed the instruction & proceeded upto the point where it comes to 
> activate the admin site. But I get the following error when I load the page 
> "  http://127.0.0.1:8000/admin/";
>
> CookieError at /admin/
>
> Invalid Attribute httponly
>
> Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
> 1.5Exception Type:CookieErrorException Value:
>
> Invalid Attribute httponly
>
> Exception Location:C:\Python25\lib\Cookie.py in __setitem__, line 435Python 
> Executable:C:\Python25\python.exePython Version:2.5.0Python Path:
>
> ['C:\\django\\mysite',
>  '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']
>
> Server time:Fri, 7 Sep 2012 00:08:09 +0530
>
>
> This is the traceback 
>
>
> File "C:\Python25\lib\site-packages\django\core\handlers\base.py" in 
> get_response
>   188.                 response = middleware_method(request, response)
> File "C:\Python25\lib\site-packages\django\contrib\sessions\middleware.py" 
> in process_response
>   42.                         httponly=settings.SESSION_COOKIE_HTTPONLY or 
> None)
> File "C:\Python25\lib\site-packages\django\http\__init__.py" in set_cookie
>   645.             self.cookies[key]['httponly'] = True
> File "C:\Python25\lib\Cookie.py" in __setitem__
>   435.             raise CookieError("Invalid Attribute %s" % K)
>
> Exception Type: CookieError at /admin/
> Exception Value: Invalid Attribute httponly
>
>
> What should I do?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/MxgP3n2Ik-YJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to