On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 12:46 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote:
>
> >
> > what exactly are you doing?
> > this approach works perfectly for me...
> >
> I put the mentioned sql in a file in my Djano installation  django/
> contrib/auth/sql/users.sql

exactly please, I would like to see the insert statement

> I then erase my apps database and run 'manage.py syncdb'
> When prompted for a superuser, I answer 'no'

does syncdb pick up the file? (./manage.py sqlinitialdata auth should
display the SQL)
does it say anything about populating the table?

> I then start the django server ('manage.py runserver') and attempt to
> surf
> to http://127.0.0.1:8000/admin
> I am presented with a llogin screen that doesn't recognize my username
> and password.
>
> I do note that each time I create the superuser from within syncdb,  I
> get a different
> hashed password, which makes me wonder how the SQL code can add a
> superuser.
>
> Karl
>
>
> >
> > --
> > Honza Kr?l
> > E-Mail: [EMAIL PROTECTED]
> > ICQ#:   107471613
> > Phone:  +420 606 678585
>
>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to