Sunday, December 25, 2011

Re: Advice/tips on how make private directory for each user?

Static files are not handled by django, so you would have to configure your
webserver for authentication and access control.

You can however create a django view that picks stuff from the filesystem
and serves it as attachment:

https://docs.djangoproject.com/en/dev/ref/request-response/#telling-the-bro
wser-to-treat-the-response-as-a-file-attachment

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