Closed Bug 1228333 Opened 10 years ago Closed 8 years ago

Use django-environ's Path() helper to simplify paths in settings.py

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: ghickman)

References

Details

Attachments

(1 file)

django-environ (which we're already using for environment variables) has a Path class that simplifies generating relative paths for settings such as STATIC_ROOT: https://github.com/joke2k/django-environ/blob/develop/README.rst We can use this to replace our custom handling here: https://github.com/mozilla/treeherder/blob/2d8bb0b32d10fc4c05c23e49df1fda6b8bc80c5d/treeherder/__init__.py#L9
Assignee: nobody → ghickman
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: