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: GET Request URL: http://127.0.0.1:8000/admin/ Django Version: 1.5 Exception Type: CookieError Exception Value: Invalid Attribute httponlyException Location: C:\Python25\lib\Cookie.py in __setitem__, line 435 Python Executable: C:\Python25\python.exe Python Version: 2.5.0 Python 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 tracebackFile "C:\Python25\lib\site-packages\django\core\handlers\base.py" in get_response188. response = middleware_method(request, response)File "C:\Python25\lib\site-packages\django\contrib\sessions\middleware.py" in process_response42. httponly=settings.SESSION_COOKIE_HTTPONLY or None)File "C:\Python25\lib\site-packages\django\http\__init__.py" in set_cookie645. self.cookies[key]['httponly'] = TrueFile "C:\Python25\lib\Cookie.py" in __setitem__435. raise CookieError("Invalid Attribute %s" % K)Exception Type: CookieError at /admin/Exception Value: Invalid Attribute httponlyWhat 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/-/NNlDNfHngP4J.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You're using development version of Django. Python 2.5 support is dropped there. Use official 1.4 release.
Could not import polls.views.vote. View does not exist in module polls.views.
| Request Method: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/admin/ |
| Django Version: | 1.4.1 |
|---|---|
| Exception Type: | ViewDoesNotExist |
| Exception 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 101 |
| Python Executable: | /usr/bin/python |
| Python Version: | 2.7.3 |
| Python 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 |