Hi Still its not working :( getting the same error On Thu, Mar 15, 2012 at 12:59 PM, vikalp sahni <[email protected]>wrote:
> ITS in settigns.py file. > > if its not there just write.g > > SESSION_COOKIE_DOMAIN = "localhost" and then try. > > Regards, > //Vikalp > > > On Wed, Mar 14, 2012 at 11:48 PM, dummyman dummyman <[email protected]>wrote: > >> Wer is the SESSION_COOKIE_DOMAIN ? >> >> >> On Wed, Mar 14, 2012 at 11:32 PM, dummyman dummyman >> <[email protected]>wrote: >> >>> hi >>> >>> i got this error msg >>> >>> Please enter a correct username and password. Note that both fields are >>> case-sensitive. >>> >>> >>> On Wed, Mar 14, 2012 at 11:21 PM, vikalp sahni <[email protected]>wrote: >>> >>>> Can you share your SESSION_COOKIE_DOMAIN setting. In your settings.py >>>> file. >>>> >>>> Also, is there any error message which is displayed on top of login >>>> form when you try to login? >>>> >>>> Regards, >>>> //Vikalp >>>> >>>> >>>> On Wed, Mar 14, 2012 at 11:06 PM, dummyman dummyman <[email protected] >>>> > wrote: >>>> >>>>> hi .. >>>>> >>>>> I created a superuser but still getting the same error >>>>> >>>>> @vikalp: But it works for other projects with the same superuser name >>>>> and password >>>>> >>>>> >>>>> On Wed, Mar 14, 2012 at 10:57 PM, Denis Darii >>>>> <[email protected]>wrote: >>>>> >>>>>> Try to create your superuser again: >>>>>> >>>>>> ./manage.py createsuperuser >>>>>> >>>>>> >>>>>> On Wed, Mar 14, 2012 at 6:25 PM, vikalp sahni >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> You have to check your >>>>>>> >>>>>>> SESSION_COOKIE_DOMAIN in settings file if i.e pointing to >>>>>>> "localhost" (if not cookies will not properly set and hence login will >>>>>>> not >>>>>>> be allowed) >>>>>>> >>>>>>> the best would be to use some host entry like example.com 127.0.0.1 >>>>>>> and then use that in SESSION_COOKIE_DOMAIN and for accessing project on >>>>>>> browser. >>>>>>> >>>>>>> Regards, >>>>>>> //Vikalp >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 14, 2012 at 10:51 PM, dummyman dummyman < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi, >>>>>>>> I created a new project in django >>>>>>>> >>>>>>>> 1.I created a new database >>>>>>>> 2. I created a new user >>>>>>>> 3.python manage syncdb >>>>>>>> 4.python manae.py runserver >>>>>>>> >>>>>>>> when i visit localhost:8080/admin -> it asks for username n passwd. >>>>>>>> but the login fails inspite of entering correct one >>>>>>>> >>>>>>>> But it works for a different project >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Django users" group. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> 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. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Django users" group. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> 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. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> This e-mail and any file transmitted with it is intended only for the >>>>>> person or entity to which is addressed and may contain information that >>>>>> is >>>>>> privileged, confidential or otherwise protected from disclosure. Copying, >>>>>> dissemination or use of this e-mail or the information herein by anyone >>>>>> other than the intended recipient is prohibited. If you are not the >>>>>> intended recipient, please notify the sender immediately by return >>>>>> e-mail, >>>>>> delete this communication and destroy all copies. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Django users" group. >>>>>> To post to this group, send email to [email protected]. >>>>>> 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. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Django users" group. >>>>> To post to this group, send email to [email protected]. >>>>> 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. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To post to this group, send email to [email protected]. >>>> 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. >>>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to [email protected]. >> 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. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > 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. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

