Closed Bug 1436598 Opened 6 years ago Closed 6 years ago

Cleanup Django static/media configuration

Categories

(Tree Management :: Treeherder, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

Details

Attachments

(1 file)

Whilst removing the Django admin I spotted some other cruft.
Attachment #8949233 - Flags: review?(cdawson)
Attachment #8949233 - Flags: review?(cdawson) → review+
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/6083b36c83b3704949a526f35c715792906c778c
Bug 1436598 - Remove unnecessary Django HTTP 404 template

Since it's virtually identical to the built-in template:

https://github.com/mozilla/treeherder/commit/610c824c94d44fc7613efb3c7b81a89657585a92
Bug 1436598 - Removed unused Django media configuration

Since we don't allow user uploads.

https://github.com/mozilla/treeherder/commit/4e8b7e39a96d8ae0c60f0deca4cb5610c16e900e
Bug 1436598 - Remove unnecessary empty static files directory

Django creates this directory when collectstatic is run, so no need
to pre-create it via a `.gitkeep` file.
Status: ASSIGNED → RESOLVED
Closed: 6 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: