> Yes, I was thinking the other day that it would be a cool solution for > serve() to be able to use storage backends
Wouldn't it be better to have some {% serve path/to/file %} template tags, that does all the work of checking where the file exists and returning the right URL? Putting this into serve() always means a request to your local webserver which may lead to a HTTP-redirect (so we have two requests). Of course having a template tags means {{ MEDIA_URL }}path/to/file must be replaced everywhere in your templates. But I think it's worth the benefit. Greetings, David Danier -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.