Sorry just to add I am a newbie. I looked up previous questions and found:
"I'm greatly enjoying this excellent project. However, I have a problem with users created through the admin web interface being able to log into the admin site. I get "Please enter a correct username and password." Even though all users have "is_active" and "is_staff" set to True. It's definitely *not* a typo/caps-lock thing. I'm using MySQL. " The answer was: ">>>from django.models.auth import users >>> u = users.create_user('username', '[EMAIL PROTECTED]', 'password') >>> u.is_staff = True >>> u.save() " I tried this from within my project folder and it gave me a traceback folder. I am not very confident with shells etc. I am using ubuntu OS and MYSQL 5.051 On Jul 8, 11:00 am, allisongardner <[EMAIL PROTECTED]> wrote: > Hi! I went away for the weekend, when all was working fine, and having > come back to work I have found that I cannot login to the admin site. > Checked the database users passwords and they had automatically > changed themselves to random strings. I changed the user password back > in phpmyadmin but still cannot login to admin site. Nothing has been > done to other than to turn off the computer for the weekend and turn > it back on again! > Help! > Allison --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---