Fixed #14007 -- Added model discovery in models module without the need to specify app_label.

Thanks mark@ and Aramgutang for work on the patch.
This commit is contained in:
Tim Graham 2013-07-16 13:21:17 -04:00
parent fba6c2ede7
commit 2333c9662b
7 changed files with 30 additions and 17 deletions

View file

@ -14,9 +14,6 @@ class Advertisment(models.Model):
"model_package.Publication", null=True, blank=True
)
class Meta:
app_label = 'model_package'
class ModelPackageTests(TestCase):
def test_model_packages(self):