parent
3afe385b85
commit
5c1d1ad6c9
|
@ -0,0 +1,9 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
from entrouvert.djommon.multitenant.middleware import TenantMiddleware
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = "Create schemas"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
for arg in args:
|
||||
print TenantMiddleware.hostname2schema(arg)
|
Reference in New Issue