Monday, March 28, 2011

Re: AW: MEDIA_URL not treated like static

Dear galgal:
    according to the django docs for 1.3, The most likely example is user-uploaded content in MEDIA_ROOTstaticfiles is intended for static assets and has no built-in handling for user-uploaded files, but you can have Django serve your MEDIA_ROOT by appending something like this to your URLconf.

On Mon, Mar 28, 2011 at 7:48 PM, galgal <weglarek.robert@gmail.com> wrote:
I forgot to tell I'm using Django 1.3. In that case - how to make it work with separate dirs? Or it can't be done on dev server?

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

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