mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed a reference in the docs to a non-existant PasswordField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3e0505459b
commit
fbc1fca834
@ -85,7 +85,7 @@ custom widget to your form that sets the ``render_value`` argument::
|
|||||||
|
|
||||||
class LoginForm(forms.Form):
|
class LoginForm(forms.Form):
|
||||||
username = forms.CharField(max_length=100)
|
username = forms.CharField(max_length=100)
|
||||||
password = forms.PasswordField(widget=forms.PasswordInput(render_value=True))
|
password = forms.CharField(widget=forms.PasswordInput(render_value=True))
|
||||||
|
|
||||||
Clearable default widget for FileField
|
Clearable default widget for FileField
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user