Browse Source

Adiciona comando para ressucitar deps

pull/2188/head
Marcio Mazza 7 years ago
parent
commit
e622ae193f
  1. 12
      sapl/legacy/management/commands/ressucitar_deps.py

12
sapl/legacy/management/commands/ressucitar_deps.py

@ -0,0 +1,12 @@
from django.core.management.base import BaseCommand
from sapl.legacy.scripts.ressucita_dependencias import adiciona_ressucitar
class Command(BaseCommand):
help = 'Ressucita dependências apagadas ' \
'que são necessárias para migrar outros registros'
def handle(self, *args, **options):
adiciona_ressucitar()
Loading…
Cancel
Save