mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #23822 -- Made MigrationOptimizer aware of model managers
This commit is contained in:
parent
127f9e073d
commit
1f03d2d924
3 changed files with 98 additions and 22 deletions
|
@ -52,6 +52,10 @@ class UnmigratedModel(models.Model):
|
|||
pass
|
||||
|
||||
|
||||
class EmptyManager(models.Manager):
|
||||
use_in_migrations = True
|
||||
|
||||
|
||||
class FoodQuerySet(models.query.QuerySet):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue