Fixed #23750 -- django.core.checks.register can now be used as function

See https://code.djangoproject.com/ticket/23750
I don't think it makes sense to have two `.. function::` for register with different arguments.