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
>
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:
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
3 matches
Mail list logo