Opened 18 years ago

Closed 17 years ago

#3584 closed (wontfix)

Specifying default context instance in settings

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

Description

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 by Chris Beaven, 18 years ago

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 by Chris Beaven, 17 years ago

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