Issue #2049
closedDjango RemovedInDjango110Warning in logs for missing TEMPLATES setting
Description
Running Django 1.9 you will see
Jul 01 12:56:11 dev pulp[1017]: py.warnings:WARNING: (1017-16832) /usr/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.
Jul 01 12:56:11 dev pulp[1017]: py.warnings:WARNING: (1017-16832) "unable to load templates.", RemovedInDjango110Warning)
Jul 01 12:56:11 dev pulp[1017]: py.warnings:WARNING: (1017-16832)
in the logs.
Django 1.10 is slated to enter RC on July 15th, with the final release approximately 2 weeks later, barring blocking bugs. This means that at the end of July, Pulp will likely stop working in Fedora Rawhide when Django 1.10 gets pulled it. Although unlikely, the package maintainer might even push the update to Fedora 24/23, so our users (and developers on those platforms) could be affected as well.
The fix for this should be straight-forward: Define the TEMPLATES setting in our settings.py for both the main Pulp server and the content WSGI application. It should probably match the installation directory used in the spec file (/usr/share/pulp I think?) and the only other thing to check is that our dev installation links the templates properly.
Updated by amacdona@redhat.com almost 8 years ago
- Triaged changed from No to Yes
Updated by amacdona@redhat.com almost 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Updated by amacdona@redhat.com almost 8 years ago
- Status changed from ASSIGNED to POST
Added by Austin Macdonald almost 8 years ago
Added by Austin Macdonald almost 8 years ago
Revision d22d6a26 | View on GitHub
build templates compatible with Django 1.4-1.10
closes #2049
Updated by Anonymous almost 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|d22d6a26414bfdd92154c37c486186750852e520.
Updated by semyers over 7 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
build templates compatible with Django 1.4-1.10
closes #2049