Project

General

Profile

0001-tenant-do-not-duplicate-domain-option-in-tenant_comm.patch

Frédéric Péters, 10 February 2015 10:06 AM

Download (1.1 KB)

View differences:

Subject: [PATCH] tenant: do not duplicate --domain option in tenant_command
 (#6459)

 entrouvert/djommon/multitenant/management/commands/tenant_command.py | 4 ----
 1 file changed, 4 deletions(-)
entrouvert/djommon/multitenant/management/commands/tenant_command.py
31 31
        else:
32 32
            klass = load_command_class(app_name, argv[2])
33 33

  
34
        self.option_list = klass.option_list + (
35
            make_option("-d", "--domain", dest="domain", help="specify tenant schema"),
36
        )
37

  
38 34
        super(Command, self).run_from_argv(argv)
39 35

  
40 36
    def handle(self, *args, **options):
41
-