o-check-the-running-django-command/
> ). If it’s runserver, and the env var isn’t set, then you can tell.
>
> Thanks,
>
> Adam
>
> On Sat, Oct 15, 2022 at 4:09 AM Steffan Pease wrote:
>
>> AppConfig's ready() function gets called multiple times on manage.py
AppConfig's ready() function gets called multiple times on manage.py
runserver and some tests because multiple copies of django are started,
even though none are 'active.'
To use runserver as an example, it launches the original process's
runserver checks if DJANGO_AUTORELOAD_ENV == "true", and