Code

Opened 6 years ago

Closed 6 years ago

#7200 closed (fixed)

FloatField is not described in newforms documentation

Reported by: tobias 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 gav 6 years ago.
Patch against r7520 to provide FloatField documentation for newforms.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by gav

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 6 years ago by tobias

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 6 years ago by gav

  • Has patch set
  • Summary changed from FloatField is not described in model reference to 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.

Changed 6 years ago by gav

Patch against r7520 to provide FloatField documentation for newforms.

comment:4 Changed 6 years ago by tobias

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

comment:5 Changed 6 years ago by programmerq

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:6 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.