Remove models that are not referenced in tests

This silences one instance of the warning that's being printed in tests
for versions of Django before 2.0:

> RemovedInDjango20Warning: Managers from concrete parents will soon
> qualify as default managers if they appear before any other managers
> in the MRO.
fix_request_path_info
Charlie Denton 2017-10-29 01:04:17 +01:00
parent 120520e44d
commit e2bf741d5d
No known key found for this signature in database
GPG Key ID: 5BBA1783DA191613
1 changed files with 0 additions and 15 deletions

View File

@ -237,21 +237,6 @@ class PlainChildModelWithManager(models.Model):
objects = PlainMyManager() objects = PlainMyManager()
class MgrInheritA(models.Model):
mgrA = models.Manager()
mgrA2 = models.Manager()
field1 = models.CharField(max_length=10)
class MgrInheritB(MgrInheritA):
mgrB = models.Manager()
field2 = models.CharField(max_length=10)
class MgrInheritC(ShowFieldTypeAndContent, MgrInheritB):
pass
class BlogBase(ShowFieldTypeAndContent, PolymorphicModel): class BlogBase(ShowFieldTypeAndContent, PolymorphicModel):
name = models.CharField(max_length=10) name = models.CharField(max_length=10)