Opened 9 years ago
Closed 9 years ago
#27839 closed New feature (duplicate)
Add a native file upload progress bar through forms
| Reported by: | Vipin Chaudhary | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Normal | Keywords: | file upload, forms |
| Cc: | vipin14119@… | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | yes |
Description
Upload Progress bar is really a important tool for form file uploads , i know django already have that but it needs cache reading and we need to define a different method for that and what i realised that NOT EVERYONE is able to follow that procedure and its confusing as well .
So i think there must a native method and customizable view for upload progress bar as well.
For ex we have a form MyForm
class MyForm(forms.Form):
file = forms.FileField()
Right now this is form for file upload , i think it should hava a extended feature like
class MyForm(forms.Form):
file = forms.FileField()
progress bar = forms.ProgressBarField(link_to=file)
in this last snippet progressbar is linked to field file , so user have a flexiblity for using and rendering it anywhere in the page.
Thanks thats all i wanted to share
Change History (2)
comment:1 by , 9 years ago
| Cc: | added |
|---|---|
| Needs documentation: | set |
| Needs tests: | set |
comment:2 by , 9 years ago
| Needs documentation: | unset |
|---|---|
| Needs tests: | unset |
| Resolution: | → duplicate |
| Status: | new → closed |
Doing a web search for "django file upload progress bar" show the django-progressbarupload package as the first result. I'm not sure if such a widget is suitable for inclusion in Django considering that it requires jQuery and Django doesn't require any JavaScript (except for the admin). An upload progress bar was previously proposed in #4165. You can write to the DevelopersMailingList if you want to discuss the idea further and get some other opinions. I don't see a clear path of action in your current proposal.