Can you make your UserProfile2 a subclass of UserProfile?
--
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 t
Thanks Andrea,
I was more looking to see if anyone had used fieldsets instead of inlines.
I imagine it would be quite possible with rewriting the view that serves up
the change form for user. It just seems that the fieldset gets rendered
because of the associated form but then isn't actually re
I've personally used your approach with the following Inline:
class UserProfile2Inline(admin.StackedInline):
model = UserProfile2
can_delete = False
fk_name = 'user'
max_num = 1
Andrea
2014-08-14 5:57 GMT+02:00 Elliot :
> Is it possible to have a exteneded user profile in the '
Is it possible to have a exteneded user profile in the 'User' part of the
admin. I have tried the following with a form
(UserProfileForm(forms.ModelForm)) with 2 fields 'something' and 'something
else'
class UserAdminCustom(UserAdmin):
form = UserProfileForm
fieldsets = (
(Non
4 matches
Mail list logo