mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-25 01:34:51 +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)
|