diff --git a/sapl/norma/apps.py b/sapl/norma/apps.py index f1b12064b..c4d55ade0 100644 --- a/sapl/norma/apps.py +++ b/sapl/norma/apps.py @@ -7,5 +7,5 @@ class AppConfig(apps.AppConfig): label = 'norma' verbose_name = _('Norma Jurídica') -# def ready(self): -# from . import signals + def ready(self): + from . import signals diff --git a/sapl/norma/signals.py b/sapl/norma/signals.py index c01ac927d..5743428e1 100644 --- a/sapl/norma/signals.py +++ b/sapl/norma/signals.py @@ -4,5 +4,5 @@ from sapl.utils import delete_texto, save_texto from .models import NormaJuridica -post_save.connect(save_texto, sender=NormaJuridica) -post_delete.connect(delete_texto, sender=NormaJuridica) +# post_save.connect(save_texto, sender=NormaJuridica) +# post_delete.connect(delete_texto, sender=NormaJuridica)