Ticket #10379: fix-genericinline-max_num-against-9922.patch
File fix-genericinline-max_num-against-9922.patch, 552 bytes (added by , 16 years ago) |
---|
-
django/contrib/contenttypes/generic.py
diff --git a/django/contrib/contenttypes/generic.py b/django/contrib/contenttypes/generic.py index 13e7cd7..a4a0663 100644
a b class GenericInlineModelAdmin(InlineModelAdmin): 374 374 "formfield_callback": self.formfield_for_dbfield, 375 375 "formset": self.formset, 376 376 "extra": self.extra, 377 "max_num": self.max_num, 377 378 "can_delete": True, 378 379 "can_order": False, 379 380 "fields": fields,