Fix a strange bug with runserver on Python 3.6.7+
Running the server caused a TypeError: str expected, not bool
due to os.environ['ALL_CHECKS']
being set to True. The strange part of this bug is it only happens randomly after installing Python 3.6.7+ (you may need to recreate your virtual environment), but the code that handles this type check was not updated for 9 years.