Add preliminairy working JavaScript to render polymorphic inlines

This commit is contained in:
Diederik van der Boor
2016-08-09 01:20:40 +02:00
parent 1f0ddd8436
commit 7330a4f099
7 changed files with 552 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class PolymorphicFormSetChild(object):
# This is mostly needed for the generic inline formsets
self._form_base = form
self.fields = fields
self.exclude = exclude
self.exclude = exclude or ()
self.formfield_callback = formfield_callback
self.widgets = widgets
self.localized_fields = localized_fields