Don't cache object forms

This commit is contained in:
Mark Veidemanis 2023-02-11 17:33:13 +00:00
parent d808ceebac
commit 502556e7c3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 24 additions and 30 deletions

View File

@ -1,7 +1,3 @@
{% load cache %}
{% cache 600 object_form request.user.id form %}
{% include 'mixins/partials/notify.html' %} {% include 'mixins/partials/notify.html' %}
{% if page_title is not None %} {% if page_title is not None %}
<h1 class="title is-4">{{ page_title }}</h1> <h1 class="title is-4">{{ page_title }}</h1>
@ -28,5 +24,3 @@
{% endif %} {% endif %}
<button type="submit" class="button modal-close-button">Submit</button> <button type="submit" class="button modal-close-button">Submit</button>
</form> </form>
{% endcache %}