-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Python version
3.10
Django version
4.1
Package version
0.16.3.
Current behavior (bug description)
When MAINTENANCE_MODE_STATE_FILE_PATH
is defined using pathlib.Path
(as suggested by the default Django settings file), e.g.:
MAINTENANCE_MODE_STATE_FILE_PATH = BASE_DIR.parent / "maintenance_mode_state.txt"
AttributeError
is raised with message with message 'PosixPath' object has no attribute 'decode'.
Expected behavior
It would be nice to define the path using pathlib.Path
as well.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working