parent
840d94056d
commit
61e474114b
|
@ -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)
|
Loading…
Reference in New Issue