On Nov 28, 3:48 pm, mondonauta wrote:
> well what i got is this error:
> __
> Exception Type: ImproperlyConfigured
> Exception Value: 'ProfessorAdmin.fieldsets[4][1]['fields']'
> refers to field 'phone_number'
is anyone able to tell me it it is possible and how?
pleae!!!
On Nov 28, 3:48 pm, mondonauta <[EMAIL PROTECTED]> wrote:
> well... maybe i missed something, but i've already tried
> what u told me.
> i copied and pasted the fieldsets from
> django.contrib.auth.admin.UserAdmin
> to my Profe
well... maybe i missed something, but i've already tried
what u told me.
i copied and pasted the fieldsets from
django.contrib.auth.admin.UserAdmin
to my ProfessorAdmin class and i modified it in order to
add my custom fields in the formset i wanted.
well what i got is this error:
___
You could use field sets to get your information organized:
fieldsets = (
('Account Information', { 'fields':('company_name', 'username',
'password', 'email', 'is_active')}),
('Company Information',{'fields': ('physical_address',
'city', 'state', 'zip_code', 'telep
hello everybody,
i've already created a custom user profile
and added it to the User by
foreignkey, AUTH_PROFILE_MODULE
and i have been able to add the custom profile
to the admin page by coding in admin.py this:
___
from django.contrib import admin
from dj
5 matches
Mail list logo