Projet

Général

Profil

0001-misc-fix-migrate_schemas-with-django-1.11-20933.patch

Frédéric Péters, 01 janvier 2018 15:39

Télécharger (1,11 ko)

Voir les différences:

Subject: [PATCH 1/3] misc: fix migrate_schemas with django 1.11 (#20933)

 hobo/multitenant/management/commands/migrate_schemas.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
hobo/multitenant/management/commands/migrate_schemas.py
19 19
        """
20 20
        Changes the option_list to use the options from the wrapped migrate command.
21 21
        """
22
        self.option_list += MigrateCommand.option_list
22
        if django.VERSION <= (1, 10, 0):
23
            self.option_list += MigrateCommand.option_list
23 24
        if django.VERSION >= (1, 8, 0):
24 25
            super(MigrateSchemasCommand, self).__init__(stdout, stderr, no_color)
25 26
        else:
26
-