Browse Source

Adiciona comando migracao_25_31 ao manage.py

Signed-off-by: Luciano Almeida <lucianoalmeida@interlegis.leg.br>
pull/674/head
Luciano Almeida 8 years ago
parent
commit
19d44d6746
  1. 0
      sapl/legacy/management/__init__.py
  2. 0
      sapl/legacy/management/commands/__init__.py
  3. 9
      sapl/legacy/management/commands/migracao_25_31.py

0
sapl/legacy/management/__init__.py

0
sapl/legacy/management/commands/__init__.py

9
sapl/legacy/management/commands/migracao_25_31.py

@ -0,0 +1,9 @@
from django.core.management.base import BaseCommand
from sapl.legacy import migration
class Command(BaseCommand):
help = u'Faz a migração de dados do SAPL 2.5 para o SAPL 3.1'
def handle(self, *args, **options):
migration.migrate()
Loading…
Cancel
Save