On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote: > > > > On Feb 19, 1:25 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote: > > 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? > > > manage.py sqlinitialdata auth responds: > BEGIN; > COMMIT;
so it doesn't find the file... the file should be named django/contrib/auth/sql/user.sql (singular) no plural - it must be name of the model in lowercase... > > K > > > > > > -- 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 -~----------~----~----~----~------~----~------~--~---