diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-12 16:18:57 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-11-12 16:18:57 +0100 |
commit | 6acabb8565d91e68d3e5e970f288cd29c5614017 (patch) | |
tree | d7f34f347aa533855990da473b17fc35f5bb1878 /archaeological_operations/models.py | |
parent | 84ddcc01671afbc96ff81b0847419823ca35783d (diff) | |
download | Ishtar-6acabb8565d91e68d3e5e970f288cd29c5614017.tar.bz2 Ishtar-6acabb8565d91e68d3e5e970f288cd29c5614017.zip |
Fix pin and unpi for administrativ acts
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 56af40ba0..ae9c221c4 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -1639,11 +1639,13 @@ class AdministrativeAct(BaseHistorizedItem, OwnPerms, ValueGetter): 'treatment_file__type__label__iexact' ), } + for v in ALT_NAMES.values(): for language_code, language_lbl in settings.LANGUAGES: activate(language_code) EXTRA_REQUEST_KEYS[unicode(v[0])] = v[1] deactivate() + UP_MODEL_QUERY = {} POST_PROCESS_REQUEST = { 'operation__towns__numero_insee__startswith': '_get_department_code', |