1
0
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:
Markus Holtermann
2015-01-07 21:14:25 +01:00
committed by Tim Graham
parent 127f9e073d
commit 1f03d2d924
3 changed files with 98 additions and 22 deletions

View File

@@ -52,6 +52,10 @@ class UnmigratedModel(models.Model):
pass
class EmptyManager(models.Manager):
use_in_migrations = True
class FoodQuerySet(models.query.QuerySet):
pass