aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'jm2l/views.py')
-rw-r--r--jm2l/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jm2l/views.py b/jm2l/views.py
index e3485ae..7c89c40 100644
--- a/jm2l/views.py
+++ b/jm2l/views.py
@@ -294,6 +294,7 @@ def tasks(request):
.order_by('nom').all()
form.closed_by.choices = [(u.uid, "%s %s" % (u.nom, u.prenom))
for u in Users]
+ form.due_date.type = "date"
if request.method == 'POST' and form.validate():
form.populate_obj(Task)
Task.closed = False