Opened 18 years ago
Closed 18 years ago
#3242 closed defect (worksforme)
Configuring the template system in standalone mode
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The Configuring the template system in standalone mode section in
http://www.djangoproject.com/documentation/templates_python
states:
"... before you call any of the templating functions, call django.conf.settings.configure() with any settings you wish to specify."
But there is no django.conf.settings
module and django.conf.global_settings
has no configure() function.
Note:
See TracTickets
for help on using tickets.
There is such a thing as
django.conf.settings
; in the filedjango/conf/__init__.py
aLazySettings
object is instantiated and bound to the namesettings
. That object has aconfigure
method which works as advertised in the docs.