start taking more advantage of class based views

This commit is contained in:
Ross
2024-03-11 11:08:35 +00:00
parent 78e4ed871e
commit 0cb38f5c31
27 changed files with 244 additions and 104 deletions
+8 -1
View File
@@ -4,8 +4,15 @@
{{ form.media }}
{% endblock %}
{% block content %}
{% block navigation %}
{{ block.super }}
{% if object %}
{% include object.get_link_headers %}
{% endif %}
{% endblock navigation %}
{% block content %}
<h2>Update Exam</h2>
<form action="" method="post">
{% csrf_token %}