Closed Bug 1328270 Opened 8 years ago Closed 8 years ago

Switch to the new style Django TEMPLATES settings

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Since the old style isn't supported under Django 1.10: /home/vagrant/venv/local/lib/python2.7/site-packages/django/template/utils.py:37: RemovedInDjango110Warning: You haven't defined a TEMPLATES setting. You must do so before upgrading to Django 1.10. Otherwise Django will be unable to load templates.
Attachment #8823311 - Flags: review?(wlachance)
Attachment #8823311 - Flags: review?(wlachance) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/db1ea9e76612653fd2b140b17ca9b9ae1ca646c4 Bug 1328270 - Switch to new style Django TEMPLATE settings dict Since the old `TEMPLATE_*` settings have been removed in Django 1.10: https://docs.djangoproject.com/en/1.10/ref/templates/upgrading/
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: