Default bootstrap tables

* refactors old table index template into bootstrap-fontawesome generic table
This commit is contained in:
mipel
2021-07-20 14:05:44 +02:00
parent 13e3b23712
commit 8c32aaa845
6 changed files with 83 additions and 38 deletions

View File

@@ -25,7 +25,9 @@ def index_view(request: HttpRequest):
"""
template = "generic_index.html"
user = request.user
interventions = Intervention # ToDo
interventions = Intervention.objects.filter(
)
table = InterventionTable(
request=request,
queryset=interventions