Hi,

I'm trying to get a custom user model to work with the built-in admin app, 
based on the sample code in the documentation 
https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#auth-custom-user

Here is my code:

https://gist.github.com/anonymous/91f2c30bdc48a4ca3248

I either get a 

FieldError at /
> Unknown field(s) (date_created) specified for UserAccount
>

or 

ImproperlyConfigured at /
> 'SpcUserAdmin.fieldsets[1][1]['fields']' refers to field 'is_admin' that 
> is missing from the form.
>


When I remove date_created form the field list of the meta class in 
UserCreationForm.

I'm sure there is a small and stupid error on my side, but I just can't 
spot it... HELP :-)



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to