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 | 82fa5eed0e7a25b93c56c97011d454e595665b65 (patch) | |
tree | 6b7e2817d02157e792adaf773b7c12a1c732b844 /archaeological_operations/models.py | |
parent | ec49fcefb6e63eb7efb1bca59a1fc717769438c4 (diff) | |
download | Ishtar-82fa5eed0e7a25b93c56c97011d454e595665b65.tar.bz2 Ishtar-82fa5eed0e7a25b93c56c97011d454e595665b65.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', |