MattDale <mattdalesm...@gmail.com> writes:

> You are correct in assuming that your first view using
> render_to_response shouldn't work without sending a RequestContext in.

> A much cleaner way is just to use the render function.
> https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#render
> which takes a lot of typing out of the typical render_to_response with
> RequestContext.
>

OK - thanks! I tried the render() approach and it works fine. I'll be
using that one.

There is still the question of whether the doc needs fixing. I take it
you are saying that it does?
-- 
Nick

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to