Skip to content

Instantly share code, notes, and snippets.

Created Oct 24, 2013
What would you like to do?
class EnhancedModelForm(ModelForm):
class Meta:
model = MyModel
fields = ('field1', 'field2')
class SuperEnhancedModelForm(EnhancedModelForm):
class Meta(EnhancedModelForm.Meta):
model = MyModel
fields = ('field3', 'field4')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment