Opened 9 years ago

Closed 8 years ago

#7200 closed (fixed)

FloatField is not described in newforms documentation

Reported by: Tobias McNulty Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description


Attachments (1)

newforms_floatfield_docs_r7520.patch (860 bytes) - added by George Vilches 9 years ago.
Patch against r7520 to provide FloatField documentation for newforms.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by George Vilches

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.

comment:2 Changed 9 years ago by Tobias McNulty

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 Changed 9 years ago by George Vilches

Has patch: set
Summary: FloatField is not described in model referenceFloatField 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.

Changed 9 years ago by George Vilches

Patch against r7520 to provide FloatField documentation for newforms.

comment:4 Changed 9 years ago by Tobias McNulty

That's correct. Sorry for the confusion and thanks for catching me.

comment:5 Changed 8 years ago by Jeff Anderson

Triage Stage: UnreviewedReady for checkin

comment:6 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [7677]) Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.

Note: See TracTickets for help on using tickets.
Back to Top