Hello, I have add some additionnal fields in a class "Utilisateur" to my Users using the classical method: a OneToOne relation field from Utilisateur to User and the AUTH_PROFILE_MODULE in the setting.py
This is well working, and I want now manage my "Utilisateur" using a single Form. I have try to use multi inheritance, but it don't work: class UserModelForm(forms.ModelForm): class Meta: model= User class UtilisateurOnlyModelForm(DroitModelForm): class Meta: model = Utilisateur exclude = ('domaine','user') class UtilisateurModelForm(UserModelForm,UtilisateurOnlyModelForm): pass This a little bit boring because it will avoid me to rewrite some of my generic model view if I could have all the data I need in just one Form. Is it a simple way to do that ? Thierry, -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.