ernestophone.ens.fr/partitions/forms.py

12 lines
261 B
Python
Raw Permalink Normal View History

2015-03-17 19:03:51 +01:00
from django import forms
2015-03-17 19:03:51 +01:00
class UploadFileForm(forms.Form):
title = forms.CharField(max_length=50)
file = forms.FileField()
2015-03-17 19:03:51 +01:00
class UploadMorceauForm(forms.Form):
titre = forms.CharField(max_length=100)
auteur = forms.CharField(max_length=100)