Skip to content

Debug Flag as bool  #50

@onskateboard

Description

@onskateboard

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions