Opened 2 years ago

Closed 23 months ago

#18259 closed Bug (fixed)

Standalone templates also require ROOT_URLCONF setup

Reported by: techtonik Owned by: nobody
Component: Template system Version: 1.3
Severity: Normal Keywords: bitesized
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Djange template docs for standalone mode do not specify that ROOT_URLCONF is required for url tag. It would be nice to see this unpleasant surprise documented.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by jezdez

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Bug

comment:2 Changed 23 months ago by Claude Paroz <claude@…>

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

In [f65e412abd289f78aff278a782e29eff1749c6e5]:

Fixed #18259 -- Specified that ROOT_URLCONF might be needed.

When using the template system in standalone mode and if the url
template tag is used, ROOT_URLCONF has to be defined.
Thanks techtonik for the report.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.