mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23822 -- Made MigrationOptimizer aware of model managers
This commit is contained in:
committed by
Tim Graham
parent
127f9e073d
commit
1f03d2d924
@@ -52,6 +52,10 @@ class UnmigratedModel(models.Model):
|
||||
pass
|
||||
|
||||
|
||||
class EmptyManager(models.Manager):
|
||||
use_in_migrations = True
|
||||
|
||||
|
||||
class FoodQuerySet(models.query.QuerySet):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user