Thanks,
Francesco
----Messaggio originale----
Da: kmtracey@gmail.com
Data: 24/07/2012 14.11
A: <django-users@googlegroups.com>
Ogg: Re: forms.FileField
On Tue, Jul 24, 2012 at 8:05 AM, francescoboccacci@libero.it <francescoboccacci@libero.it> wrote:
--Hi all,
i have a question about Form. I create a template that use a forms.FileField
(text) and forms.FileField to upload a file.
I fill a forms.FileField field and forms.FileField. I upload the file without
errors but when the page is reaload only forms.FileField is filled with last
text while forms.FileField is empty. Is there a way to remember the path of my
last file uploaded?
No. This is a browser security feature. Browsers do not allow file upload fields to be initialized by the server, users must explicitly choose files to be uploaded.
Karen
http://tracey.org/kmt/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment