mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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:
@@ -6,6 +6,3 @@ class Article(models.Model):
|
||||
sites = models.ManyToManyField(Site)
|
||||
headline = models.CharField(max_length=100)
|
||||
publications = models.ManyToManyField("model_package.Publication", null=True, blank=True,)
|
||||
|
||||
class Meta:
|
||||
app_label = 'model_package'
|
||||
|
||||
Reference in New Issue
Block a user