On 10 мар, 11:28, Julian <[EMAIL PROTECTED]> wrote:
> hi,
>
> I've been writing a django-application and now I need the
> RequestContext for some new features. I don't want to add
> context_instance=RequestContext(request) to each render_to_response
> call manually in my views.py.
>
> How can I
On Mar 10, 3:28 am, Julian <[EMAIL PROTECTED]> wrote:
> def render_to_response(*args, **kwargs):
> kwargs['context_instance'] = RequestContext(request)
> return _render_to_response(*args, **kwargs)
That's exactly how Snippet #3 [1] does it. I personally prefer using
the built-in
hi,
I've been writing a django-application and now I need the
RequestContext for some new features. I don't want to add
context_instance=RequestContext(request) to each render_to_response
call manually in my views.py.
How can I can I solve my problem?
I could do this with retrieving the
3 matches
Mail list logo