Opened 12 years ago

Closed 12 years ago

#6793 closed (wontfix)

New template context processor: Export settings to templates

Reported by: Alberto García Hierro <fiam@…> Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords: requestcontext, template, settings
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


This patch add support for exporting settings from to the template engine, using the RequestContext feature. Full documentation is included, as well as an example.

Attachments (1)

exported_settings_processor.diff (2.4 KB) - added by Alberto García Hierro <fiam@…> 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Alberto García Hierro <fiam@…>

comment:1 Changed 12 years ago by Malcolm Tredinnick

Resolution: wontfix
Status: newclosed

In the past we've elected not to do this. Please search out the relevant discussion on the django-developers list (look around the period when the media context processor was added, as that was the main requirement) and then, if you think there's really something that hasn't been covered -- rather than just wanting to bring it up again -- raise the issue on the mailing list.

Failing that, you could publicise this through djangosnippets, since it requires no core changes.

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