From 4ef10f245ada0c7d5ae8dc31eebffa63790d40fb Mon Sep 17 00:00:00 2001 From: Anders Steinlein Date: Wed, 5 Mar 2014 21:19:40 +0100 Subject: Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin. Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x --- tests/generic_inline_admin/models.py | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tests/generic_inline_admin/models.py') diff --git a/tests/generic_inline_admin/models.py b/tests/generic_inline_admin/models.py index 0ae3c4b052..059aadc5ba 100644 --- a/tests/generic_inline_admin/models.py +++ b/tests/generic_inline_admin/models.py @@ -27,26 +27,6 @@ class Media(models.Model): def __str__(self): return self.url -# -# These models let us test the different GenericInline settings at -# different urls in the admin site. -# - -# -# Generic inline with extra = 0 -# - - -class EpisodeExtra(Episode): - pass - - -# -# Generic inline with extra and max_num -# -class EpisodeMaxNum(Episode): - pass - # # Generic inline with unique_together -- cgit v1.3