#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 , 6 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 |
Version 0, edited 6 years ago by (next)
comment:2 by , 6 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Thanks, we others are also outdated e.g.
TimeField,DateField, orDateTimeField(see ModelForm docs).