On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote:
> How do I generate a hashed password?

The easiest way is actually to manually create the superuser once
during a syncdb run, and then copy/paste the hash out of the admin
page for that user. You can manually generate a hash if you want to,
but it's a little more work.

> Does the sql go into  myapp/sql/ or django/contrib/admin/sql?

It can technically go anywhere, but the best place is
dango/contrib/auth/sql to ensure it's executed only after the auth
users table is created.

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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