Re: cannot login to admin site using admin credentials

2011-02-09 Thread Bill Freeman
You *might* need to drop all the auth_xxx tables, syncdb, and try again. Just a thought, since you've already broken the schema. But you might want to capture a dump of the database before you do stuff like this. Bill 2011/2/8 xpanta : > I tried deleting auth_user in order to

Re: cannot login to admin site using admin credentials

2011-02-08 Thread xpanta
I tried deleting auth_user in order to force manage.py to create a new one and see what happens (just in case there was some problem with the database table) I gave a manage.py syncdb (after deleting auth_user) and it created the table. It also asked me to create a new superuser. I gave the

Re: cannot login to admin site using admin credentials

2011-02-07 Thread xpanta
I have tried this already. I still can't login. :-( On 7 Φεβ, 15:48, Chris Lawlor wrote: > Try running 'python manage.py createsuperuser' on your production > server to create a new superuser account. You should have full > privileges to log in to the admin and make

Re: cannot login to admin site using admin credentials

2011-02-07 Thread Chris Lawlor
Try running 'python manage.py createsuperuser' on your production server to create a new superuser account. You should have full privileges to log in to the admin and make changes using this account. On Feb 7, 8:15 am, xpanta wrote: > Hi, > > it seems that my problem is a bit

cannot login to admin site using admin credentials

2011-02-07 Thread xpanta
Hi, it seems that my problem is a bit complicated. I have tried much but to no avail. So, please help me! Some time ago I migrated to postgresql from mysql. I don't know if I did something wrong. Anyway, my webapp works "almost" flawlessly. Since then I never needed to login using admin rights