From d1ccd3fe6f240882b2158e046b4e7908a814930f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 29 Jan 2019 12:15:51 +0100 Subject: Treatments: add a view to get all non modif treatments - manage go back in the modi treatment hierarchy --- archaeological_finds/models.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'archaeological_finds/models.py') diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 23177faee..ad349e315 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -7,7 +7,7 @@ from archaeological_finds.models_finds import MaterialType, ConservatoryState, \ from archaeological_finds.models_treatments import Treatment, \ AbsFindTreatments, FindUpstreamTreatments, FindDownstreamTreatments, \ FindTreatments, TreatmentFile, TreatmentFileType, \ - TreatmentState + TreatmentState, FindNonModifTreatments __all__ = ['MaterialType', 'ConservatoryState', 'IntegrityType', 'CheckedType', 'RemarkabilityType', 'ObjectType', 'BaseFind', 'FindBasket', 'Find', @@ -15,6 +15,7 @@ __all__ = ['MaterialType', 'ConservatoryState', 'IntegrityType', 'CheckedType', 'AlterationType', 'AlterationCauseType', 'TreatmentEmergencyType', 'BatchType', 'TreatmentType', 'TreatmentState', 'Treatment', 'AbsFindTreatments', 'FindUpstreamTreatments', - 'FindDownstreamTreatments', 'FindTreatments', 'TreatmentFile', - 'TreatmentFileType', 'CommunicabilityType', - 'MaterialTypeQualityType', 'ObjectTypeQualityType'] + 'FindNonModifTreatments', 'FindDownstreamTreatments', + 'FindTreatments', 'TreatmentFile', 'TreatmentFileType', + 'CommunicabilityType', 'MaterialTypeQualityType', + 'ObjectTypeQualityType'] -- cgit v1.2.3