Opened 9 years ago
Closed 9 years ago
#24993 closed Uncategorized (wontfix)
Add unittests for Custom Model field
Reported by: | jedie | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.7 |
Severity: | Normal | Keywords: | subfieldbase, metaclass |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I seems that there are no tests for "Custom Model field" described here:
https://docs.djangoproject.com/en/1.7/howto/custom-model-fields/#the-subfieldbase-metaclass
I create one and will send it as a pull request.
See also https://groups.google.com/forum/#!topic/django-developers/nYhZYyLcV1g
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Did you see
field_subclassing/fields.py
? AsSubfieldBase
is deprecated in Django 1.8, I don't think there's much value in adding new tests at this point.