Django itself has some tests for subclassing fields; tests have their own models.py , where custom fields are used. You should get the best experience if you look at the actual code yourself
Addition. In order for the models defined in your test package to be detected by django, you need to add the yourapp.test package to INSTALLED_APPS . Django itself has a built-in mechanism so that its own tests are automatically detected and added to INSTALLED_APPS .
source share