Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#13034 closed (fixed)

django.db.models.fields.IntegerField description wrong?

Reported by: brokenseal Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: description integerfield
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Hi,
I found that IntegerField description's should be "This value must be an integer." instead of "This value must be a float."

file: http://code.djangoproject.com/browser/django/trunk/django/db/models/fields/__init__.py
line: 874

Cheers,
David

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by russellm

  • Has patch set
  • milestone set to 1.2
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by ubernostrum

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

(In [12685]) Fixed #13034: Corrected default error message for IntegerField.

comment:3 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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.