From 31894376c10fc08f9f7a054dcde3b36c3b09f25b Mon Sep 17 00:00:00 2001 From: fschildt Date: Thu, 27 Nov 2025 23:56:22 +0100 Subject: cultivation: add mind stuff --- apps/cultivation/forms.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/cultivation/forms.py (limited to 'apps/cultivation/forms.py') diff --git a/apps/cultivation/forms.py b/apps/cultivation/forms.py new file mode 100644 index 0000000..425f1d5 --- /dev/null +++ b/apps/cultivation/forms.py @@ -0,0 +1,18 @@ +from django import forms + + +from .models import MindMaterial +from .models import MindEvent + + +class MindMaterialForm(forms.ModelForm): + class Meta: + model = MindMaterial + fields = ["name"] + + +class MindEventForm(forms.ModelForm): + class Meta: + model = MindEvent + fields = ["date", "material", "duration"] + -- cgit v1.2.3