[Django] #29327: Django's usercreationform

9 views
Skip to first unread message

Django

unread,
Apr 15, 2018, 12:10:35 AM4/15/18
to django-...@googlegroups.com
#29327: Django's usercreationform
--------------------------------------+------------------------
Reporter: Shahilsky | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
the 'Password field' of the user creation form has
help text as:
<ul><li>Your password can&#39;t be too similar to your other personal
information.</li><li>Your password must contain at least 8
characters.</li><li>Your password can&#39;t be a commonly used
password.</li><li>Your password can&#39;t be entirely numeric.</li></ul>

it is not the actual list (it's the code getting shown!!!)

#I know that one can change it himself but it would be quite inconvenient

so just rectify this small issue

--
Ticket URL: <https://code.djangoproject.com/ticket/29327>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 15, 2018, 4:24:45 PM4/15/18
to django-...@googlegroups.com
#29327: UserCreationForm's password field help_text displays raw HTML
--------------------------------+--------------------------------------
Reporter: Shahil Hussain | Owner: nobody
Type: Bug | Status: closed
Component: contrib.auth | Version: 2.0
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid
* component: Forms => contrib.auth


Comment:

You need to use the `|safe` filter with `help_text` (see #25053). I'm
assuming this problem is in a template not provided by Django. If not,
please reopen with details.

--
Ticket URL: <https://code.djangoproject.com/ticket/29327#comment:1>

Reply all
Reply to author
Forward
0 new messages