OK thanks and yes it does but that's half the story. I haven't made myself very clear. The ImageField still tries to append /media/ to the image upload_to path rather than /uploads/ which would retrieve them from the dynamic media root rather than the application media.
My point was how do I get these 2 things to work together serving multiple media directories and FileFields? The only way I can see is to have uploads under media which I don't really want. I can't see a way in the docs to tell file field which media root it belongs to. > > Er, yes it does. For example: > (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': '/path/to/media'}), > (r'^uploads/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': '/path/to/uploads'}), > > In both cases, /path/to/whatever can be anywhere you like, and you can > have as many as you want. > > Seehttp://docs.djangoproject.com/en/dev/howto/static-files/ > -- > DR. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---