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

Class Food

tests/migrations/test_state.py:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 indexes = [models.Index(fields=["title"])]
75
76 class Food(models.Model):
77 food_mgr = FoodManager("a", "b")
78 food_qs = FoodQuerySet.as_manager()
79 food_no_mgr = NoMigrationFoodManager("x", "y")
80
81 class Meta:
82 app_label = "migrations"
83 apps = new_apps
84
85 class FoodNoManagers(models.Model):
86 class Meta:

Callers

nothing calls this directly

Calls 3

FoodManagerClass · 0.85
as_managerMethod · 0.80

Tested by

no test coverage detected