Why i can reach my media files from my static url?
Hi, i started a project (with django1.3). I made settings for my media files and static files. After that i realized that : i can reach /myproject/media/foo.txt from localhost:8000/static/foo.txt .
- Why i can reach that from there?
- That looks like i don't need to add serve media view to my urls.py?
- May be i can make my MEDIA_URL same with STATIC_URL than use both from /static/?
--
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.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home