Révision ce71993c
Ajouté par Benjamin Dauvergne il y a plus de 9 ans
entrouvert/djommon/multitenant/management/commands/migrate_schemas.py | ||
---|---|---|
22 | 22 |
if self.sync_public: |
23 | 23 |
self.migrate_public_apps() |
24 | 24 |
if self.sync_tenant: |
25 |
self.migrate_tenant_apps(self.schema_name)
|
|
25 |
self.migrate_tenant_apps(self.domain)
|
|
26 | 26 |
|
27 | 27 |
def _set_managed_apps(self, included_apps, excluded_apps): |
28 | 28 |
""" while sync_schemas works by setting which apps are managed, on south we set which apps should be ignored """ |
Formats disponibles : Unified diff
In management commands of multitenant app rename variable schema_name as domain