django-oscar / django-oscar-accounts

Managed accounts for Django (with or without django-oscar)
BSD 3-Clause "New" or "Revised" License
213 stars 119 forks source link

Breaks with django 1.6 #26

Closed diegox80 closed 7 years ago

diegox80 commented 10 years ago

File "/home/diego/mydata/.virtualenvs/dropship/local/lib/python2.7/site-packages/accounts/dashboard/app.py", line 1, in from django.conf.urls.defaults import patterns, url ImportError: No module named defaults

In django 1.6: from django.conf.urls import patterns, url

diegox80 commented 10 years ago

Sorry, only in pip version

jacoboamn87 commented 10 years ago

Hello @diegox80,

How did you manage to solve this? I'm having the same issue.

Thanks in advance for any help

spac3-monk3y commented 9 years ago

You should look for the app.py in the path and change the:

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

for this one

from django.conf.urls import patterns, url 
solarissmoke commented 7 years ago

Closing as Django 1.6 is no longer supported.