diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-26 11:22:03 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-11 17:30:46 +0100 |
commit | 0ae3b866b122b7db425436911f7b19122c229ab0 (patch) | |
tree | c69f7d4fa07000487f4bd82b0c4a396437d49ee0 /archaeological_operations/forms.py | |
parent | e923740906861369ef03a02edc788bc59574a803 (diff) | |
download | Ishtar-0ae3b866b122b7db425436911f7b19122c229ab0.tar.bz2 Ishtar-0ae3b866b122b7db425436911f7b19122c229ab0.zip |
Table gallery: optionnaly display the gallery on tables
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index 3103990c9..abb5de8a9 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -603,6 +603,7 @@ class OperationFormSelection(IshtarForm): label="", required=False, widget=widgets.DataTable( reverse_lazy('get-operation'), OperationSelect, models.Operation, + gallery=True, source_full=reverse_lazy('get-operation-full')), validators=[valid_id(models.Operation)]) @@ -1313,6 +1314,7 @@ class SiteFormSelection(IshtarForm): widget=widgets.DataTable( reverse_lazy('get-site'), SiteSelect, models.ArchaeologicalSite, + gallery=True, source_full=reverse_lazy('get-site-full')), validators=[valid_id(models.ArchaeologicalSite)]) |