From 985a6eb3796ae92fdf8316b4e62d5be1983d0292 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 30 Mar 2017 15:55:24 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20command=20para=20migra=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20documentos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../legacy/management/commands/migracao_documentos.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sapl/legacy/management/commands/migracao_documentos.py diff --git a/sapl/legacy/management/commands/migracao_documentos.py b/sapl/legacy/management/commands/migracao_documentos.py new file mode 100644 index 000000000..c096e2905 --- /dev/null +++ b/sapl/legacy/management/commands/migracao_documentos.py @@ -0,0 +1,11 @@ +from django.core.management.base import BaseCommand + +from sapl.legacy.migracao_documentos import migrar_documentos + + +class Command(BaseCommand): + + help = u'Migração documentos do SAPL 2.5 para o SAPL 3.1' + + def handle(self, *args, **options): + migrar_documentos()