Opened 3 years ago

Closed 3 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 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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