sorry for being a pain in the neck, but we´re about to go online with our site and I desperately need to solve this problem.
solutions I had so far: 1. hardcoding media-urls incl. the host (not nice) 2. symlink from /django/contrib/media/ to /media/ (problem with django-updates) short description again: in my source-code I´m having this <img src="/media/uploads/userprofiles/2006/10/210/tn_profil.jpg" /> the image is uploaded by a user. this image is not displayed because it´s not in /django/contrib/admin/ media/, but the dev-server looks there. so, I want the dev-server to look for this image in /media/uploads/ instead. thanks, patrick Am 25.10.2006 um 10:49 schrieb patrickk: > > > > Am 25.10.2006 um 10:41 schrieb orestis: > >> >> I think you have confused some concepts. /django/contrib/admin/media/ >> hosts the admin media files. >> >> You mention content uploaded by users... In what directory is this >> put >> under ? > > /media/uploads/ > >> >> Static files are documented here: >> http://www.djangoproject.com/documentation/static_files/ > > tried that. doesn´t work for me. > > I know that I´m missing something here, but I just can´t figure out > how it should work. > when starting the dev-server, every image on my site refers to the > server-path /django/contrib/admin/media/ ... > > thanks, > patrick > >> >> >>> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---