Forgot to add - the usual trick is to symlink the admin media in your MEDIA_URL; that way you don't have to set up two different aliases in your web server config.
2009/7/13 Sam Lai <samuel....@gmail.com>: > Yes, because unless you copy the admin site's media over to your > MEDIA_URL (or vice-versa), Django won't be able to find the admin > media. > > From http://docs.djangoproject.com/en/dev/ref/settings/ > > ADMIN_MEDIA_PREFIX > > Default: '/media/' > > The URL prefix for admin media -- CSS, JavaScript and images used by > the Django administrative interface. Make sure to use a trailing > slash, and to have this be different from the MEDIA_URL setting (since > the same URL cannot be mapped onto two different sets of files). > > 2009/7/13 sjtirtha <sjtir...@gmail.com>: >> Hi, >> >> I found out that MEDIA_URL and ADMIN_MEDIA_PREFIX may not have the same >> value, otherwise images that is located in this MEDIA_URL cannot be >> displayed in browser. >> I did not found about this anywhere in the documentation. Is my assumption >> correct? >> >> Regards, >> Steve >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---