[Django] #27839: Add a native file upload progress bar through forms

7 views
Skip to first unread message

Django

unread,
Feb 14, 2017, 12:51:40 PM2/14/17
to django-...@googlegroups.com
#27839: Add a native file upload progress bar through forms
-------------------------------------+-------------------------------------
Reporter: Vipin | Owner: nobody
Chaudhary |
Type: New | Status: new
feature |
Component: Forms | Version: master
Severity: Normal | Keywords: file upload, forms
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/27839>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 14, 2017, 12:52:34 PM2/14/17
to django-...@googlegroups.com
#27839: Add a native file upload progress bar through forms
------------------------------------+--------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: file upload, forms | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 1
------------------------------------+--------------------------------------
Changes (by Vipin Chaudhary):

* cc: vipin14119@… (added)
* needs_docs: 0 => 1
* needs_tests: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27839#comment:1>

Django

unread,
Feb 14, 2017, 1:33:26 PM2/14/17
to django-...@googlegroups.com
#27839: Add a native file upload progress bar through forms
------------------------------------+--------------------------------------
Reporter: Vipin Chaudhary | Owner: nobody
Type: New feature | Status: closed
Component: Forms | Version: master
Severity: Normal | Resolution: duplicate
Keywords: file upload, forms | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
------------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* needs_docs: 1 => 0
* resolution: => duplicate
* needs_tests: 1 => 0


Comment:

Doing a web search for "django file upload progress bar" show the
[https://github.com/ouhouhsami/django-progressbarupload 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.

--
Ticket URL: <https://code.djangoproject.com/ticket/27839#comment:2>

Reply all
Reply to author
Forward
0 new messages