mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-29 11:44:00 +01:00
20 lines
655 B
Python
20 lines
655 B
Python
|
from django import forms
|
||
|
|
||
|
|
||
|
class FineUploaderUploadForm(forms.Form):
|
||
|
qqfile = forms.FileField()
|
||
|
qquuid = forms.CharField()
|
||
|
qqfilename = forms.CharField()
|
||
|
qqpartindex = forms.IntegerField(required=False)
|
||
|
qqchunksize = forms.IntegerField(required=False)
|
||
|
qqtotalparts = forms.IntegerField(required=False)
|
||
|
qqtotalfilesize = forms.IntegerField(required=False)
|
||
|
qqpartbyteoffset = forms.IntegerField(required=False)
|
||
|
|
||
|
|
||
|
class FineUploaderUploadSuccessForm(forms.Form):
|
||
|
qquuid = forms.CharField()
|
||
|
qqfilename = forms.CharField()
|
||
|
qqtotalparts = forms.IntegerField()
|
||
|
qqtotalfilesize = forms.IntegerField(required=False)
|