Django import error - no module named django.conf.urls.defaults

This error occurs because django.conf.urls.defaults has been removed in Django 1.6. I encountered this error while working with django-uploadify. For newer version of Django can be fixed by changing the import to

from django.conf.urls import patterns, url, include

I hope this helps anyone facing this problem.
Cheers, MG.

Comments

Popular posts from this blog

Project Wild Penguin 12.4.2017: Installing Broadcom Wireless Drivers to connect to JBL Bluetooth Speaker on Xubuntu 16.10

Project Wild Penguin 22.4.2017: To delete directories inside current directory whose contents are less than a given size

ANPR Project Day 1: Standard Format of Indian Number Plate