django__django-13837
Allow autoreloading of `python -m pkg_other_than_django runserver`
Verdict: the fix is stated in the issue (Tier A).
Therefore Python was started with -m pkg if and only if __main__.__spec__.parent == "pkg".
The text states the fix: “Therefore Python was started with -m pkg if and only if __main__.__spec__.parent == "pkg".”
All SWE-bench Verified tasks · more django/django tasks · How the check works