Update web/core/forms.py

This commit is contained in:
Joshua Laymon 2025-09-06 19:29:46 +00:00
parent d532b9faf2
commit c57d8370dc

View File

@ -3,10 +3,12 @@ from .models_ann import Announcement
from django.forms import ModelForm, Textarea
from django.utils import timezone
class ImportForm(forms.Form):
file = forms.FileField(allow_empty_file=False)
dry_run = forms.BooleanField(initial=True, required=False, help_text="Preview changes without saving")
class EntryForm(forms.Form):
subject = forms.CharField(required=False)
illustration = forms.CharField(required=False, widget=forms.Textarea)