Opened 14 years ago

Closed 14 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: no UI/UX: no

Description

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

Change History (1)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top