Thank you very much both (Jason and psjinx).
It resolved my problem.
This was my first post in this Django users group. Nice to see that Django
has such a helpfull community users.
On Monday, February 18, 2013 5:25:53 PM UTC, Jason Arnst-Goodrich wrote:
>
> return render_to_response('home/abo
return render_to_response('home/about.html', data,
'context_instance=RequestContext(request)')
Change that to:
return render_to_response('home/about.html', data,
context_instance=RequestContext(request))
The context_instance is an optional keyword argument. Right now you're
passing it as a po
Hey Tiago,
> Exception Value: 'str' object has no attribute 'update'
It means that context_instance variable passed to render_to_string() is of
str type. context_instance needs to be an instance of
django.template.context.Context class.
Example use of render_to_string -
from django.template.l
Hello,
I'm new to Django and I'm with an error, passing data from views to
templates.
Here is the traceback: http://dpaste.com/942117/
Request URL: http://localhost:8000/about/
Django Version: 1.4.3
Exception Type: AttributeError
*Exception Value: 'str' object has no attribute 'update'*
Excepti
4 matches
Mail list logo