Opened 4 years ago

Closed 4 years ago

#18262 closed Uncategorized (fixed)

{% url %} in sample template not working because of quotes

Reported by: schnippi Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: url, template, quotes
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The sample template at does not work because of the quotes around the view.

Changing it to

{% url django.contrib.auth.views.login %}

will work.

Change History (3)

comment:1 Changed 4 years ago by schnippi

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Adding to the ticket:

In this regard, the documentation at seems wrong, too.

comment:2 Changed 4 years ago by akaariai

  • Triage Stage changed from Unreviewed to Accepted

It seems the 1.4 docs are built from SVN trunk head, not from 1.4 branch. The 1.4 branch seems to have the correct documentation.

comment:3 Changed 4 years ago by aaugustin

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

The docs are reconfigured to build from the proper branches on GitHub.

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