Illustrations/web/core/forms.py
2025-08-12 20:50:46 -05:00

7 lines
215 B
Python

from django import forms
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")