Opened 10 years ago

Closed 10 years ago

#3242 closed defect (worksforme)

Configuring the template system in standalone mode

Reported by: Jeff Bauer <jbauer@…> Owned by: Jacob
Component: Documentation Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The Configuring the template system in standalone mode section in

"... 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.

Change History (1)

comment:1 Changed 10 years ago by James Bennett

Resolution: worksforme
Status: newclosed

There is such a thing as django.conf.settings; in the file django/conf/ a LazySettings object is instantiated and bound to the name settings. That object has a configure method which works as advertised in the docs.

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