2👍
✅
This is probably related to the good old double thread spawning in Django. The way Django is setup it spawns two threads at the start, so one process is there to process requests and the other to watch if you changed any code so it can respawn the first one.
If you print the following in settings.py
import os
print(os.getpid())
You would see that it prints 2 different values. This is a standard django behaviour as far as I know.
Source:stackexchange.com