Opened 11 years ago

Closed 11 years ago

#3584 closed (wontfix)

Specifying default context instance in settings

Reported by: bugs@… Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


There should be a way to specify default context in settings instead of appending context_instance=RequestContext(request) to every single render_to_response call in whole application.

This one make developers cry.

Change History (2)

comment:1 Changed 11 years ago by Chris Beaven

Triage Stage: UnreviewedDesign decision needed

You can always write your own shortcut. It is a common use case however, so I'll push to DDN.

comment:2 Changed 11 years ago by Chris Beaven

Resolution: wontfix
Status: newclosed

You can use django.views.generic.simple.direct_to_template instead of django.shortcuts.render_to_response

Note: See TracTickets for help on using tickets.
Back to Top