| 1852 | new_apps = Apps(["migrations"]) |
| 1853 | |
| 1854 | class Food(models.Model): |
| 1855 | food_mgr = FoodManager("a", "b") |
| 1856 | food_qs = FoodQuerySet.as_manager() |
| 1857 | food_no_mgr = NoMigrationFoodManager("x", "y") |
| 1858 | |
| 1859 | class Meta: |
| 1860 | app_label = "migrations" |
| 1861 | apps = new_apps |
| 1862 | swappable = "TEST_SWAPPABLE_MODEL" |
| 1863 | |
| 1864 | food_state = ModelState.from_model(Food) |
| 1865 |
nothing calls this directly
no test coverage detected