django 1.6 compatibility
try catch to import url, patterns
Merge pull request #32 from josedeweb/master

django 1.6 compatibility