MCPcopy
hub / github.com/django/django / Food

Class Food

tests/migrations/test_state.py:1854–1862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

FoodManagerClass · 0.85
as_managerMethod · 0.80

Tested by

no test coverage detected