Views¶
S3UploadFormView¶
- class s3upload.views.S3UploadFormView(**kwargs)¶
Bases: django.views.generic.edit.FormMixin, django.views.generic.base.TemplateResponseMixin, django.views.generic.base.View
- _get_bucket_name()¶
- _get_etag()¶
- _get_key_name()¶
- content_type_prefix = u''¶
- form_class¶
alias of S3UploadForm
- form_invalid(form)¶
- form_valid(form, *args, **kwargs)¶
- get(*args, **kwargs)¶
- get_content_type_prefix()¶
- get_form_kwargs(*args, **kwargs)¶
- get_process_to()¶
- get_processed_key_generator()¶
- get_storage()¶
- get_success_action_redirect()¶
- get_upload_to()¶
- get_validate_upload_form()¶
Return an instance of the form to use to validate the upload.
- get_validate_upload_form_class()¶
Return the class of the form to use to validate the upload.
- get_validate_upload_form_kwargs()¶
Return the keyword arguments for instantiating the form for validating the upload.
- post(*args, **kwargs)¶
- process_to = None¶
- processed_key_generator = None¶
- set_content_type = True¶
- storage = <django.core.files.storage.DefaultStorage object at 0x7f03ae565f50>¶
- template_name = u's3upload/form.html'¶
- upload_to = None¶
- validate_upload()¶
- validate_upload_form_class¶
alias of ValidateS3UploadForm