Re: createsuperuser with a custom User model

2013-02-10 Thread mack the finger
Ah, I didn't add my fields to REQUIRED_FIELDS, thanks. I was thinking createsuperuser would look at the fields I had included in create_superuser's signature... On Sunday, February 10, 2013 7:04:59 PM UTC-5, Russell Keith-Magee wrote: > > > On Mon, Feb 11, 2013 at 7:48 AM, mack the finger >

Re: createsuperuser with a custom User model

2013-02-10 Thread Russell Keith-Magee
On Mon, Feb 11, 2013 at 7:48 AM, mack the finger wrote: > I created a custom User model. It has a few extra fields, most notably a > "date_of_birth" field. Now when I try to crete a new superuser instance via > the management command, I get this error: > > TypeError:

createsuperuser with a custom User model

2013-02-10 Thread mack the finger
I created a custom User model. It has a few extra fields, most notably a "date_of_birth" field. Now when I try to crete a new superuser instance via the management command, I get this error: TypeError: create_superuser() takes exactly 4 arguments (3 given) My "create_superuser" manager