Hi I've got two ModelForms, both really simple.
class TaskBaseForm(forms.ModelForm): class Meta: model = Task class TaskAssignmentDurationForm(forms.ModelForm): """ Form for setting the duration of an existing TaskAssignment object. """ class Meta: model = TaskAssignment fields = [ "days", "hours" ] class TaskUberForm(TaskBaseForm): """ Using the magic of multiple inheritance we can combine our two forms to create a new form that makes sense to the user and presents the disparative data models in a nice way. """ __metaclass__ = getMixupFormMetaClass() I then define a third form that inherits from both, making use of the classmaker[1] factory to get rid of any multi inheritance issues. The new form that I've created then won't display any of the second form's fields. Any ideas how I can get this to work? I've looked at this ticket: http://code.djangoproject.com/ticket/7018 , implementing the last resolution to solve the issue. [1]And I've implemented the classmaker: http://code.activestate.com/recipes/204197-solving-the-metaclass-conflict/ I feel like I'm missing something obvious here? Many Thanks in Advance, Dan -- Dan Hilton ============================ www.twitter.com/danhilton www.DanHilton.co.uk ============================ -- 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.