mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24146 -- Allowed model._meta.get_field() to be used after apps.models_ready
This commit is contained in:
committed by
Tim Graham
parent
1fbe8a2de3
commit
19188826b4
@@ -49,6 +49,7 @@ class Book(models.Model):
|
||||
class AuthorsBooks(models.Model):
|
||||
author = models.ForeignKey(Author)
|
||||
book = models.ForeignKey(Book)
|
||||
featured = models.BooleanField()
|
||||
|
||||
|
||||
class State(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user