If you're using render_to_response you'll want to do something like this: return render_to_response('my_template.html', my_data_dictionary, context_instance=RequestContext(request))
The last bit is the important part, it creates context data from the processors based on the request object. - Andrew chris hendrix wrote: > Hi andrew. I've got the > from django.template import Context, Template line at the top of the view. > > How do i pass the media template contact processor to the template? > > > BR > > On Thu, Jun 5, 2008 at 4:20 PM, Andrew Ingram <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Chances are that one of the views isn't passing the media template > context processor to the template. > > = Andrew > > Bobby Roberts wrote: > > i've got two templates in the same directory. My css works fine on > > one template but not the other. My link to the css is > > > > <link rel="stylesheet" href="{{ media_url }}css/all.css" /> > > > > Can you think of any reason it would work fine for one template and > > not the other when the templates are in the same dir? > > > > > > > > BR > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---