Closed andreesg closed 10 years ago
Hi,
This error appears when using Django >= 1.6, In the latest version of urls.py (https://github.com/hovel/imagestore/blob/master/imagestore/imagestore_cms/urls.py) "django.conf.urls.defaults" is deprecated resulting in a "ImportError: No module named defaults"
Deprecation log Django >= 1.6: https://docs.djangoproject.com/en/1.6/internals/deprecation/#id1 ("django.conf.urls.defaults will be removed")
The solution is quite simple, just use "from django.conf.urls import " instead of "from django.conf.urls.defaults import "
This fix is essential for running with Django >= 1.6, Hope this helps, Cheers!
https://github.com/hovel/imagestore/commit/f7380d987e9c1532a5e731742378e82661f8d41a
thanks for reporting!
Hi,
This error appears when using Django >= 1.6, In the latest version of urls.py (https://github.com/hovel/imagestore/blob/master/imagestore/imagestore_cms/urls.py) "django.conf.urls.defaults" is deprecated resulting in a "ImportError: No module named defaults"
Deprecation log Django >= 1.6: https://docs.djangoproject.com/en/1.6/internals/deprecation/#id1 ("django.conf.urls.defaults will be removed")
The solution is quite simple, just use "from django.conf.urls import " instead of "from django.conf.urls.defaults import "
This fix is essential for running with Django >= 1.6, Hope this helps, Cheers!