diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-05 09:29:54 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-05 20:52:46 +0100 |
commit | a7588e2e220bab47bf18601b173d6bfd429f5931 (patch) | |
tree | d0a792cb9211164cd3c93c94407b5c7f643de02d /tests/defer_regress | |
parent | 2692a0c6217b1b5ea2730f5861cb96c991fc8673 (diff) | |
download | django-a7588e2e220bab47bf18601b173d6bfd429f5931.tar.gz |
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.
Diffstat (limited to 'tests/defer_regress')
-rw-r--r-- | tests/defer_regress/models.py | 4 |
1 files changed, 0 insertions, 4 deletions
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) |