Opened 17 years ago

Closed 17 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: dev
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

Description

This patch add support for exporting settings from settings.py 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@…> 17 years ago.

Download all attachments as: .zip

Change History (2)

by Alberto García Hierro <fiam@…>, 17 years ago

comment:1 by Malcolm Tredinnick, 17 years ago

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