From a7588e2e220bab47bf18601b173d6bfd429f5931 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 5 Jan 2014 09:29:54 +0100 Subject: Removed useless model definitions. Surprisingly, this commit doesn't change any behavior at all. When a model is defined with the same name as another model in the same app, the definition of the first class is bound to the name of the class regardless of the definition of the second class. --- tests/defer_regress/models.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/defer_regress') diff --git a/tests/defer_regress/models.py b/tests/defer_regress/models.py index d858558e97..f58a10215e 100644 --- a/tests/defer_regress/models.py +++ b/tests/defer_regress/models.py @@ -82,10 +82,6 @@ class Location(models.Model): location1 = models.CharField(max_length=1000, default='location1') -class Item(models.Model): - pass - - class Request(models.Model): profile = models.ForeignKey(Profile, null=True, blank=True) location = models.ForeignKey(Location) -- cgit v1.2.1