Opened 16 years ago

Closed 16 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)

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

Download all attachments as: .zip

Change History (7)

comment:1 by George Vilches, 16 years ago

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 by Tobias McNulty, 16 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 George Vilches, 16 years ago

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.

by George Vilches, 16 years ago

Patch against r7520 to provide FloatField documentation for newforms.

comment:4 by Tobias McNulty, 16 years ago

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

comment:5 by Jeff Anderson, 16 years ago

Triage Stage: UnreviewedReady for checkin

comment:6 by Russell Keith-Magee, 16 years ago

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