Thursday, September 30, 2010

Re: Django app that uploads media files and servers them through a view?

On Thu, Sep 30, 2010 at 1:20 PM, Stodge <stodge@gmail.com> wrote:
> Is anyone aware of a Django app that lets you upload media files (not
> necessarily in the admin site) but serves them through a view instead
> of as static files via the web server? I need to control access to the
> media using permissions. Thanks

Serving media using views are very inefficient, but I`m facing the
same problem; how to serve media using better suited servers like
nginx for media but still having some way of checking
permissions/authentication etc. ??

I`m working on a project similar to Windows Home Server, where users
can upload and backup their media and access it through a web
interface. Serving static media using django was terrible and using
nginx was incredibly fast, but I lost all access control to the static
media.

Any help on this subject would be highly appreciated.

--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

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

No comments:

Post a Comment