diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-11-27 23:56:22 +0100 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-11-27 23:56:22 +0100 |
| commit | 31894376c10fc08f9f7a054dcde3b36c3b09f25b (patch) | |
| tree | a52d3af6f6a6c6174e23937cb7d91deceed2aecb /apps/cultivation/forms.py | |
| parent | 3ad55935b63d8860467ec5c67328747166263fd5 (diff) | |
Diffstat (limited to 'apps/cultivation/forms.py')
| -rw-r--r-- | apps/cultivation/forms.py | 18 |
1 files changed, 18 insertions, 0 deletions
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"] + |
