这是indexloc提供的服务,不要输入任何密码
Skip to content

MAINTENANCE_MODE_STATE_FILE_PATH setting bug #96

@paduszyk

Description

@paduszyk

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 working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions