8 lines
203 B
Python
8 lines
203 B
Python
|
# forms.py
|
||
|
from django import forms
|
||
|
from .models import *
|
||
|
|
||
|
class PhotoForm(forms.Form):
|
||
|
zawody = forms.CharField(max_length=50)
|
||
|
file_field = forms.FileField(widget=forms.ClearableFileInput())
|