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
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
> 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
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
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
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
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
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
8 matches
Mail list logo