Django

Code

Ticket #7200 (new)

Opened 3 days ago

Last modified 3 days ago

FloatField is not described in newforms documentation

Reported by: tobias Assigned to: nobody
Component: Documentation Version: SVN
Keywords: Cc:
Triage Stage: Unreviewed Has patch: 1
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

Attachments

newforms_floatfield_docs_r7520.patch (0.8 kB) - added by gav on 05/08/08 20:46:26.
Patch against r7520 to provide FloatField? documentation for newforms.

Change History

05/08/08 15:22:29 changed by gav

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

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.

05/08/08 18:52:32 changed 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.

05/08/08 20:45:48 changed by gav

  • has_patch set to 1.
  • 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.

05/08/08 20:46:26 changed by gav

  • attachment newforms_floatfield_docs_r7520.patch added.

Patch against r7520 to provide FloatField? documentation for newforms.

05/08/08 20:46:56 changed by tobias

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


Add/Change #7200 (FloatField is not described in newforms documentation)




Change Properties
Action