Hurray! I had missed this small thing and banging my head for the last
few hours! Thanks a lot to you!
On Jul 20, 4:18 pm, David De La Harpe Golden
wrote:
> On 20/07/10 12:11, barun wrote:
>
>
>
> > [gallery/views.py]
> > def index(request):
> > return render_to_response('base.html', {})
On 20/07/10 12:11, barun wrote:
>
> [gallery/views.py]
> def index(request):
> return render_to_response('base.html', {})
>
You have to pass through a RequestContext() for the template context
processor that injects MEDIA_URL
('django.core.context_processors.media') into to the template
Hi,
I've a project photo and an application gallery. I want to do a very
simple thing: When the URL http://localhost:8000/gallery/ is accessed,
a page will be displayed containing a single image. I've set the
necessary variables and mapped the URLs.
The problem is, in the base.html template (wher
3 matches
Mail list logo