Browse Source

Comenta gatilho de indexação de normas

pull/1276/head
Eduardo Calil 8 years ago
parent
commit
4b9ce1db65
  1. 4
      sapl/norma/apps.py
  2. 4
      sapl/norma/signals.py

4
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

4
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)

Loading…
Cancel
Save