django - How to make Admin link associated with imagefield display imagefield -


I'm hoping to use an image in one of my Django models, and therefore created a very simple model My settings file was adjusted, Image field was uploaded by adding image from within the Admin app. Unfortunately, the admin link does not provide the image associated with the image area in the app, irrespective of what I'm trying to use for MEDIA_URL, what am I missing?

I am using the Jaguago 1.1 with the development server. PIL has just established it properly.

I wish to store my image in / users / judy / sites / images / testphoto

I define the field when using upload_to = 'testphoto'

I use the following settings:

  MEDIA_ROOT = '/ Users / judy / sites / images /' MEDIA_URL = ??????? - I have tried quite a difference !!!!!!!!! Read ADMIN_MEDIA_PREFIX = '/ media /'  

.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -