Project

General

Profile

« Previous | Next » 

Revision ad0757e7

Added by Thomas Noël almost 11 years ago

remove useless get_tenant_by_domain command (#6398)

View differences:

entrouvert/djommon/multitenant/management/commands/get_tenant_by_domain.py
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)

Also available in: Unified diff