I have hacked create_superuser and the management caller so that
I can set username, email and password in settings.py and obviate
the need to input that data when invoking a fresh syncdb. I can
supply details if people are interested. Based on that hack, I
concur that a refactoring is in order.
On Jan 20, 2008 12:48 PM, James Bennett <[EMAIL PROTECTED]> wrote:
>
> While looking at #5614[1] and thinking about fixing up the patch so it
> could be committed, it occurred to me that, with the infrastructure we
> now have for custom management commands, there's no real need for
> contrib/auth/
While looking at #5614[1] and thinking about fixing up the patch so it
could be committed, it occurred to me that, with the infrastructure we
now have for custom management commands, there's no real need for
contrib/auth/create_superuser.py to exist anymore.
So what I'd *like* to do is:
1. Add a