Stylistically, "from django.core import checks; checks.register()" would be better here.