Re: Help organizing inline fields in User

2008-12-13 Thread Adrian
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'

Re: Help organizing inline fields in User

2008-11-29 Thread mondonauta
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

Re: Help organizing inline fields in User

2008-11-28 Thread mondonauta
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: ___

Re: Help organizing inline fields in User

2008-11-28 Thread sergioh
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

Help organizing inline fields in User

2008-11-28 Thread mondonauta
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