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_finds/forms_treatments.py | |
parent | e923740906861369ef03a02edc788bc59574a803 (diff) | |
download | Ishtar-0ae3b866b122b7db425436911f7b19122c229ab0.tar.bz2 Ishtar-0ae3b866b122b7db425436911f7b19122c229ab0.zip |
Table gallery: optionnaly display the gallery on tables
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r-- | archaeological_finds/forms_treatments.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index 10c4527ef..18c0697fc 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -74,7 +74,9 @@ class TreatmentFormSelection(forms.Form): label="", required=False, widget=widgets.DataTable( reverse_lazy('get-treatment'), - TreatmentSelect, models.Treatment), + TreatmentSelect, models.Treatment, + gallery=True, + ), validators=[valid_id(models.Treatment)]) |