From 5d461a177ad6b949b462f2f836d7f573060622a9 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Thu, 23 Sep 2021 10:34:23 +0200 Subject: use .count() instead of len(), add debug_toolbar --- server/templates/server/doc_type.html | 55 ++++++++++++++++++----------------- server/templates/server/index.html | 11 +++---- server/views.py | 46 +++++++---------------------- 3 files changed, 45 insertions(+), 67 deletions(-) (limited to 'server') diff --git a/server/templates/server/doc_type.html b/server/templates/server/doc_type.html index 047a15a..8b2131d 100644 --- a/server/templates/server/doc_type.html +++ b/server/templates/server/doc_type.html @@ -42,6 +42,7 @@ {% endblock %} {% block content %} +{% load app_filter %}
{% csrf_token %}