Graphite need to be made compatible with Django 1.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
High
|
Unassigned |
Bug Description
Django 1.4 has been released (<https:/
So far, these are what I see. Most of these changes were introduced in 1.2 and are now forced in 1.4:
* function based template loaders are gone in favor of class-based ones
* database configuration is a new dictionary format and requires fully qualified module names (just 'sqlite3' wont work)
* changes to admin content
Not sure how far back we want to go with Django support. As painful as it is, there are a lot of users still on CentOS 5 - EPEL has Django 1.1. Supporting 1.2-1.4 seems easiest, but making the database config change could cause some pain as users would have to change their configuration after update.
Changed in graphite: | |
status: | Fix Committed → Fix Released |
The fix is to replace TEMPLATE_LOADERS in settings.py with:
TEMPLATE_LOADERS = ( template. loaders. filesystem. Loader' , template. loaders. app_directories .Loader' ,
'django.
'django.
)