Why do you need this?
If you just want to hide this field in the admin interface, you can use the name of this field without underscore (for Django, as far as I know, it does not matter) and register the TestModelAdmin class:
class TestModelAdmin(admin.ModelAdmin): exclude = ('some_field',) admin.site.register(TestModel, TestModelAdmin)
source share