Opened 4 years ago

Closed 4 years ago

#18259 closed Bug (fixed)

Standalone templates also require ROOT_URLCONF setup

Reported by: anatoly 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.

Change History (2)

comment:1 Changed 4 years ago by Jannis Leidel

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:2 Changed 4 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

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.

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