Add preliminairy working JavaScript to render polymorphic inlines

This commit is contained in:
Diederik van der Boor committed 2016-08-09 01:20:40 +02:00
1 parent 1f0ddd8436
commit 7330a4f099
7 files changed
+552 -1

No files matched your search

+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