Opened 4 years ago

Closed 4 years ago

#19590 closed Bug (invalid)

Incorrect quotes in template example

Reported by: msb Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


In the sample registration/login.html template this line:

<form method="post" action="{% url 'django.contrib.auth.views.login' %}">

Should be

<form method="post" action="{% url django.contrib.auth.views.login %}">

(No quotes.)

That certainly fixes it for me.

Change History (1)

comment:1 Changed 4 years ago by Claude Paroz

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

You are mixing Django versions, here. In dev version, this is the right syntax.

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