From 96efe746732a87e6590c4441e4860106368cd9ec Mon Sep 17 00:00:00 2001 From: Augustin-FL Date: Thu, 26 Dec 2024 12:29:57 +0100 Subject: [PATCH] fir_todos shall not use DateTimeLocalField: field is not editable through the GUI --- fir_todos/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fir_todos/models.py b/fir_todos/models.py index 58a04efa..dbd539bf 100755 --- a/fir_todos/models.py +++ b/fir_todos/models.py @@ -3,8 +3,6 @@ from django import forms from incidents.models import Incident, IncidentCategory, BusinessLine, Label -from incidents.fields import DateTimeLocalField - class TodoItem(models.Model): description = models.CharField(max_length=140) @@ -20,8 +18,6 @@ def __str__(self): class TodoItemForm(forms.ModelForm): - done_time = DateTimeLocalField() - def __init__(self, *args, **kwargs): self.user = kwargs.pop('for_user', None) super(TodoItemForm, self).__init__(*args, **kwargs)