Opened 17 years ago
Closed 17 years ago
#7200 closed (fixed)
FloatField is not described in newforms documentation
Reported by: | Tobias McNulty | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Attachments (1)
Change History (7)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
You still need to indicate the presence of it in some way. forms.FloatField is necessary for those of us using models.FloatField, and no where is that indicated in the newforms documentation.
comment:3 by , 17 years ago
Has patch: | set |
---|---|
Summary: | FloatField is not described in model reference → FloatField is not described in newforms documentation |
So your problem is not that "FloatField is not described in the model reference", because it is, here: http://www.djangoproject.com/documentation/model-api/#floatfield
Your problem is that FloatField is not described in the newforms documentation, here: http://www.djangoproject.com/documentation/newforms/
I have updated the title of this ticket to reflect that, and I have also attached a documentation patch for newforms for FloatField. If I have misunderstood you, please clarify.
by , 17 years ago
Attachment: | newforms_floatfield_docs_r7520.patch added |
---|
Patch against r7520 to provide FloatField documentation for newforms.
comment:5 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
FloatField has no additional attributes over a base field. The changes described in the development version of the docs that it's changed from the past is because those attributes are now available on DecimalField and have been removed from FloatField. The documentation for FloatField is now equivalent to the IntegerField, and this is appropriate, as there are no extra attributes to describe.
Recommending this for closing.