MCPcopy
hub / github.com/django/django / AgnosticRouter

Class AgnosticRouter

tests/migrations/test_multidb.py:8–14  ·  view source on GitHub ↗

A router that doesn't have an opinion regarding migrating.

Source from the content-addressed store, hash-verified

6
7
8class AgnosticRouter:
9 """
10 A router that doesn't have an opinion regarding migrating.
11 """
12
13 def allow_migrate(self, db, app_label, **hints):
14 return None
15
16
17class MigrateNothingRouter:

Callers 1

test_create_model4Method · 0.85

Calls

no outgoing calls

Tested by 1

test_create_model4Method · 0.68