Django makes uploading files very simple ( like pretty much everything
else. Django never ceases to amaze me.)

Once files have been uploaded on server, I want to be able to show the
url to those files on upload page so that users can access the
uploaded files.

1) Is a folder in site_media the best location to save the files on
server?

2) How do I dynamically get the url of the uploaded file? is it as
simple as /site_media/<upload folder name>/<file.name>
where file is the uploaded Django file object.

or any better way to do it?


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to