On Monday 22 June 2009 03:04:03 am Vlad(L) wrote: > Unfortunately, it is impossible. Through a browser has looked html > code - <p><img src="media/5.jpg" alt= "" width="200" height="100" ></ > p> > > And how should be correctly registered MEDIA_URL in my case if I work > on built in server Django?
In your settings.py check the context processors and make sure the Media context processor[1] is set and you pass the request object to your RequestContext[2] Mike [1] http://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processors-media [2] http://docs.djangoproject.com/en/dev/ref/templates/api/#id1 -- We secure our friends not by accepting favors but by doing them. -- Thucydides
signature.asc
Description: This is a digitally signed message part.