If for some reason you do not want to upgrade to Django 1.5.x or update Graphite, you can apply the fix to your older Graphite with:
find ./ -type f -exec sed -i -e 's/from\ django\.conf\.urls\.defaults\ import\ \*/from\ django\.conf\.urls\ import\ \*/g' {} \;
.. in the directory <graphite_dir>/webapp/graphite .
This helped me with graphics 0.9.12 and Django 1.7 (.5).
(I also had to do:
find ./ -type f -exec sed -i -e 's/mimetype\=/content_type\=/g' {} \; find ./ -type f -exec sed -i -e 's/content_type\=mimetype/content_type\=content_type/g' {} \;
.. later, after I managed to start Graphite, some of its functions did not work. Now they work for me, but YMMV.)
Greg Dubicki Feb 28 '15 at 11:30 2015-02-28 11:30
source share