fix: forms.py was missing

This commit is contained in:
2025-05-05 18:15:55 +02:00
parent b8daab5b54
commit e0ff4dde70

11
ticketsystem/forms.py Normal file
View File

@@ -0,0 +1,11 @@
from django import forms
from .models import Comment
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ["text"]
widgets = {
"text": forms.Textarea(attrs={"rows": 3, "placeholder": "Kommentar schreiben..."}),
}