Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread learner404
Thanks both for your help. I've also dropped the database and started again and this time I saw the option to create the super user login/pass that I probably skipped by being to impatient. Thanks --~--~-~--~~~---~--~~ You received this message because you are

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread James Bennett
On 7/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I've also looked in the doc which says: > --- > Just run this command: > > python /path/to/django/contrib/auth/create_superuser.py > --- > but if I do it I have: > EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is > undefine

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread Jeremy Osterhouse
> the import statement worked fine but not the create_user: > AttributeError: type object 'User' has no attribute 'create_user' Whoops, that should be User.objects.create_user() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread learner404
Jeremy Osterhouse wrote: > Yes, you missed something, but you aren't the first! If you have > django.contrib.auth in your INSTALLED_APPS (should be there by default, > I think), and ran manage.py syncdb, then it should have prompted you > for a superuser account username and password. > > If you d

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread [EMAIL PROTECTED]
Jeremy Osterhouse wrote: > Yes, you missed something, but you aren't the first! If you have > django.contrib.auth in your INSTALLED_APPS (should be there by default, > I think), and ran manage.py syncdb, then it should have prompted you > for a superuser account username and password. > > If you

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread Jeremy Osterhouse
Yes, you missed something, but you aren't the first! If you have django.contrib.auth in your INSTALLED_APPS (should be there by default, I think), and ran manage.py syncdb, then it should have prompted you for a superuser account username and password. If you did that, but don't remember what you

Re: Tutorial part2, default admin login/pass ?

2006-07-15 Thread James Bennett
On 7/15/06, learner404 <[EMAIL PROTECTED]> wrote: > The problem is I that I don't remember to give any login/pass to django > and my mysql login/pass doesn't help either. When you ran 'manage.py syncdb' you should have been prompted to create an administrative account. -- "May the forces of evi

Tutorial part2, default admin login/pass ?

2006-07-15 Thread learner404
Hello, I've co the latest version of django through the svn repository and I'm using mysql on a Ubuntu box (local PC). I did part 1 of the tutorial and it works great but on part 2 I'm supposed to just "login" into django administration on http://127.0.0.1:8000/admin/ The problem is I that I don