From 6fe37678f2c8a05702113be43b74564b3cec2b06 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sat, 6 Jan 2018 19:21:49 +0000 Subject: [PATCH] Change date fields to actual date fields #278 --- .../admin/documents/document/change_form.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/documents/templates/admin/documents/document/change_form.html diff --git a/src/documents/templates/admin/documents/document/change_form.html b/src/documents/templates/admin/documents/document/change_form.html new file mode 100644 index 000000000..7bd0e483f --- /dev/null +++ b/src/documents/templates/admin/documents/document/change_form.html @@ -0,0 +1,13 @@ +{% extends 'admin/change_form.html' %} + + +{% block footer %} + + {{ block.super }} + + {# Hack to force Django to make the created date a date input rather than `text` (the default) #} + + +{% endblock footer %} \ No newline at end of file