Re: Proposed refactoring of create_superuser in contrib.auth

2008-01-22 Thread Rock
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.

Re: Proposed refactoring of create_superuser in contrib.auth

2008-01-19 Thread Russell Keith-Magee
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/

Proposed refactoring of create_superuser in contrib.auth

2008-01-19 Thread James Bennett
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