10 lines
260 B
Python
10 lines
260 B
Python
from django import forms
|
|
|
|
class UploadFileForm(forms.Form):
|
|
title = forms.CharField(max_length=50)
|
|
file = forms.FileField()
|
|
|
|
class UploadMorceauForm(forms.Form):
|
|
titre = forms.CharField(max_length=100)
|
|
auteur = forms.CharField(max_length=100)
|
|
|