On Sep 19, 11:40 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Getting the following error message when I try to access the admin page > of my spanking new django 1.0 installation : > "Looks like your browser isn't configured to accept cookies. Please > enable cookies, reload this page, and try again."
are you using a login form that is not using the django.contrib.auth.auth_views.login view for GET? that is, you have a form that might be, say, part of your sidebar navigation and that form uses that a URI like /accounts/login/ as the action of a "post" form, which has as its view django.contrib.auth.auth_views.login. if that is the case, then you would be seeing the error you described above. we have a couple of clients that wanted a login form on all pages in the header. the action of the form is /accounts/login/ and the form would be replaced by user links like change password, update info, etc. the form did not work at first and we saw the same error about cookies, which is because that view tries set a test cookie and if the test cookie is not present, then upon POST, the form returns the cookie error. the only solution i found was to comment out the test cookie portion of the django source, which IMO is not necessary and sort of a relic from a time when folks would actually turn off cookies for privacy reasons. > Other information : > 1. django 0.96 working well in the same laptop and browser. My > production site continues to run > 2. Using Firefox 3 on Linux Mint OS (an Ubuntu derivative) > 3. In Firefox preferences both 'Accept cookies from sites' and 'Accept > third-party cookies' options are enabled > 4. My google search brought-up Changeset 8509, but that's toooo > technical for me to comprehend > > Thanks for the help in advance > > Regards Ganesh --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---