Is there any interest in turning this into a patch for a new feature?

http://menendez.com/blog/using-django-as-pass-through-image-proxy/

It should only be used on dev servers but it really is a huge time
saver for developers vs rsync and since it keeps images locally it's a
better solution than prod images via S3.

It's 100% backward compatible and could be implemented with either a
settings and/or a change in the view parameter.

 (r'^(?P<path>.*)$', 'static_fallback.serve', {'document_root' : '/
path/to/my/files/', 'fallback_static_url': 'http://myprodsite.com' })

or

FALLBACK_STATIC_URL = 'http://myprodsite.com'

If anyone think it's a good idea, let me know and I'll create a patch.

-- 
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.

Reply via email to