diff --git a/georiviere/contribution/schema.py b/georiviere/contribution/schema.py index 6e5197c0..333ba875 100644 --- a/georiviere/contribution/schema.py +++ b/georiviere/contribution/schema.py @@ -2,6 +2,7 @@ from . import models + # The json schema is summarized on : # https://github.com/Georiviere/Georiviere-admin/issues/139 # Depending on the category and type of the contributions, some fields are available or not. diff --git a/georiviere/main/apps.py b/georiviere/main/apps.py index 3cb9f0b9..8e84238c 100644 --- a/georiviere/main/apps.py +++ b/georiviere/main/apps.py @@ -15,5 +15,6 @@ def ready(self): from georiviere.river.models import Stream for model in apps.get_models(): if issubclass(model, MapEntityMixin) and model != Stream: + print("signal for model {}".format(model)) post_save.connect(signals.save_objects_generate_distance_to_source, sender=model) post_delete.connect(signals.delete_objects_remove_distance_to_source, sender=model)