summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 7f2e4e348..67bbd3ddb 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -214,7 +214,9 @@ def pre_delete_treatment(sender, **kwargs):
for find in Find.objects.filter(upstream_treatment=treatment).all():
if find.downstream_treatment:
# a new treatment have be done since the deleted treatment
- raise NotImplemented()
+ # TODO !
+ # raise NotImplemented()
+ pass
find.delete()
for find in Find.objects.filter(downstream_treatment=treatment).all():
find.downstream_treatment = None