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.
* cc: vipin14119@… (added)
* needs_docs: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27839#comment:1>
* 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>