Opened 17 years ago
Closed 17 years ago
#6793 closed (wontfix)
New template context processor: Export settings to templates
Reported by: | 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)
Change History (2)
by , 17 years ago
Attachment: | exported_settings_processor.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.