Opened 4 years ago

Closed 4 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.

Change History (1)

comment:1 Changed 4 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.

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