5 ms·
Django does this by storing the state in the database, starting the main Django in a thread that can be restarted on code change [1] ; It does not keep the stat
by okso 4y ago
Django does this by storing the state in the database, starting the main Django in a thread that can be restarted on code change [1] ; It does not keep the state in memory.
https://github.com/django/django/blob/e34dfad0a310c616c7b62e0f1dba10f10adf547a/django/utils/autoreload.py https://github.com/django/django/blob/e34dfad0a310c616c7b62e...