Having being frustrated with writing html templates for displaying list views of Missions, Expeditions, and Compilations I investigated using the popular Django apps django-tables2 and django-filters and this PR replaces the previous hacked-together ListViews with easier to maintain and extend TableViews that use new (very simple!) mission_filter.html, expedition_filter.html, and compilation_filter.html templates.
For example adding a column to a table requires only adding a field name in the appropriate class in smdb/smdb/tables.py.
Having being frustrated with writing html templates for displaying list views of Missions, Expeditions, and Compilations I investigated using the popular Django apps django-tables2 and django-filters and this PR replaces the previous hacked-together ListViews with easier to maintain and extend TableViews that use new (very simple!) mission_filter.html, expedition_filter.html, and compilation_filter.html templates.
For example adding a column to a table requires only adding a field name in the appropriate class in
smdb/smdb/tables.py
.