Why are my Django migrations loading my urls.py?

There is a boolean class attribute in BaseCommand class called requires_system_checks, which is True by default. It will check all potential problems prior to executing the command. In the 3.0 version, there is a flag called --skip-checks which skips running system checks prior to running the command. I checked on a brand new generated Django project and it worked without raising the expected exception that I wrote intentionally in the urls.py module.