MCPcopy
hub / github.com/django/django / db_for_write

Method db_for_write

tests/cache/tests.py:1397–1400  ·  view source on GitHub ↗
(self, model, **hints)

Source from the content-addressed store, hash-verified

1395 return None
1396
1397 def db_for_write(self, model, **hints):
1398 if model._meta.app_label == "django_cache":
1399 return "other"
1400 return None
1401
1402 def allow_migrate(self, db, app_label, **hints):
1403 if app_label == "django_cache":

Callers 15

saveMethod · 0.45
asaveMethod · 0.45
add_viewMethod · 0.45
__init__Method · 0.45
addMethod · 0.45
_clearMethod · 0.45
setMethod · 0.45
createMethod · 0.45
get_or_createMethod · 0.45
update_or_createMethod · 0.45
handleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected