Opened 10 years ago

Closed 10 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 Tim Graham, 10 years ago

Did you see field_subclassing/fields.py? As SubfieldBase is deprecated in Django 1.8, I don't think there's much value in adding new tests at this point.

comment:2 by Tim Graham, 10 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top