On Apr 2, 8:49 pm, Enpaksh <enpa...@gmail.com> wrote: > Thanks this was my understanding. It looks like i have to route the > url to view and thn make a call urlopen().read() to fetch the file > from different server. > > Enpaksh Airon > Sent from my iPhone
No! This is completely the wrong approach! If you do this you are negating the whole point of having a separate media server. You are ensuring that a request for a media asset has to go through the whole Django stack, for absolutely no purpose. An HTML page is quite happy to reference media on a different domain - you just have to set the src of the img/script tags, or the href of the style tag, to point to wherever your assets are. Really, really don't do what you are proposing. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.