7 lines
215 B
Python
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")
|