Update web/core/forms.py
This commit is contained in:
parent
d532b9faf2
commit
c57d8370dc
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user