#31683: Overridden methods ignored in models.DecimalField subclass
-------------------------------------+-------------------------------------
Reporter: Max Rothman | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 2.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: custom-model-fields | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Max Rothman):
The docs do not mention anywhere that {{{get_prep_value}}} is expected to
be called in {{{get_db_prep_value}}} on save, nor that {{{DecimalField}}}
behaves differently from most other fields in this respect. Could this be
reopened as a documentation bug?
--
Ticket URL: <https://code.djangoproject.com/ticket/31683#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.4327995fd4f67fa8bee7079d2f935ab7%40djangoproject.com.