diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-21 12:10:33 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-21 12:10:33 +0200 | 
| commit | 74455f58f2bcf8f119dd2737157e99869b4712db (patch) | |
| tree | 6b7e2817d02157e792adaf773b7c12a1c732b844 /archaeological_operations/models.py | |
| parent | 75b2768545ad4cab06849736d21e381a11b1d3d1 (diff) | |
| download | Ishtar-74455f58f2bcf8f119dd2737157e99869b4712db.tar.bz2 Ishtar-74455f58f2bcf8f119dd2737157e99869b4712db.zip  | |
Search: manage string definition for associated models
Diffstat (limited to 'archaeological_operations/models.py')
| -rw-r--r-- | archaeological_operations/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index ce804765d..ac64c474f 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -890,7 +890,7 @@ class AdministrativeAct(BaseHistorizedItem, OwnPerms, ValueGetter):      # search parameters      DATED_FIELDS = ['signature_date__lte', 'signature_date__gte']      ASSOCIATED_MODELS = [ -        (models.File, 'associated_file'), +        ('File', 'associated_file'),          (Person, 'associated_file__general_contractor')]      EXTRA_REQUEST_KEYS = {          'act_object': 'act_object__icontains',  | 
