Apr-27-2017, 06:19 PM
Hello guys,
I'm trying to install graphite with Grafana Documentation but when i try to do the following command i get the error:
I tried to modify the the line in /opt/graphite/webapp/graphite/urls.py:
But still not working, any ideas please.
Thanks.
I'm trying to install graphite with Grafana Documentation but when i try to do the following command i get the error:
1 2 3 4 |
django - admin.py migrate - - pythonpath / opt / graphite / webapp - - settings graphite.settings File "/opt/graphite/webapp/graphite/urls.py" , line 29 , in <module> urlpatterns = patterns('', NameError: name 'patterns' is not defined |
1 2 3 4 5 6 |
from django.conf.url.defaults import * to from django.conf.urls import * or to from django.conf.url.defaults import url, include, patterns |
Thanks.