django-on-docker
django-on-docker copied to clipboard
Debug Flag as bool
Error because debug flag gots interpreted only as bool not int (Version: Django 3.2.7)
in settings.py, line 26 change: DEBUG = int(os.environ.get("DEBUG", default=0)) to: DEBUG = bool(os.environ.get("DEBUG", default=0))