#31514 closed Cleanup/optimization (fixed)
Correct default forms fields in model fields docs.
Reported by: | Nat S Dunn | Owned by: | Hasan Ramezani |
---|---|---|---|
Component: | Documentation | Version: | 3.0 |
Severity: | Normal | Keywords: | URLField |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The documentation at https://docs.djangoproject.com/en/3.0/ref/models/fields/#urlfield reads:
The default form widget for this field is a TextInput.
It should read:
The default form widget for this field is a URLInput as defined in django.forms.fields.URLField.
Change History (5)
comment:1 by , 5 years ago
Summary: | The default form widget for URLField is a URLInput, not a TextInput. → Correct default forms fields in model fields docs. |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 years ago
Has patch: | set |
---|
I've fixed it for BigIntegerField
as well.
Version 0, edited 5 years ago by (next)
Note:
See TracTickets
for help on using tickets.
Thanks, others are also outdated e.g.
TimeField
,DateField
, orDateTimeField
(see ModelForm docs).