forms.py 240 B

1234567891011
  1. from django import forms
  2. from django.core.exceptions import ValidationError
  3. class upcsvForm(forms.Form):
  4. csvx = forms.FileField(
  5. label='File name',
  6. required=False)
  7. csvname = forms.CharField(
  8. label='Note')