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