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 c72a7faa3d
commit 596d61f667
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