Checks
Custom Django system checks to prevent common mistakes.
- maykin_common.checks.check_missing_init_files(app_configs: Sequence[AppConfig] | None, **kwargs)
Check that all packages have __init__.py files.
If they don’t, the code will still run, but tests aren’t picked up by the test runner, for example.
- maykin_common.checks.check_privilege_escalation_prevention_enabled(app_configs: Sequence[AppConfig] | None, **kwargs)
Test that the user account privilege escalation protections are enabled.