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

See https://code.djangoproject.com/ticket/23750
replace period on this line with double colons from next line