On Saturday 18 Mar 2006 12:06 pm, Sasha wrote: > i have a django app that allows images to be uploaded. when i try > to reference an image in a template by calling > object.get_image_url or object.get_image_filename i get the full > physical path including the filename in response. can anyone > recommend an approach to troubleshoot this?
whatever path you put in 'upload_to' will appear. If your media is in /home/you/media and this is defined in apache, and you want to upload to /home/you/media/images/gallery/, then you have to put upload_to='images/gallery/' -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---