On 7/5/07, John-Scott <[EMAIL PROTECTED]> wrote: > In my settings.py, I now have: > MEDIA_ROOT = '/var/www/mysite.com/media/' > MEDIA_URL = 'http://mysite.com/media/' > ADMIN_MEDIA_PREFIX = '/media/'
Err, I don't have my code or settings file handy. This is the kind of thing you forget, since it just works once you have it configured. But if you plan to serve media other than admin, you'll want to nest the admin media dir inside your regular media url. So maybe you want MEDIA_URL = http://mysite.com/media/ and ADMIN_MEDIA_PREFIX = 'http://mysite.com/media/admin/' > Anyway, want to say thanks again to everyone for chiming in, this is > one of the friendliest and most helpful user groups I've had the > pleasure of participating in. That makes me feel kinda fuzzy. :) -Jeremy --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---