Code

Opened 3 years ago

Closed 3 years ago

#15302 closed (invalid)

DecimalField dumps string instead of Decimal

Reported by: v1v3kn Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When a DecimalField is retrieved from a model object, its type is string rather than a Decimal which seems counter-intuitive.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

The test suite contains multiple examples that demonstrate this claim to be false.

It's entirely possible that you have observed this, but the first rule of all bug reports is: Provide enough detail so that someone else can reproduce your problem. This is especially important when you're dealing with something that appears to be a fundamental failure of the framework.

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.