Opened 8 years ago

Closed 8 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:

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.

Change History (1)

comment:1 Changed 8 years ago by ubernostrum

  • Resolution set to worksforme
  • Status changed from new to closed

There is such a thing as django.conf.settings; in the file django/conf/__init__.py 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