0

Hello everyone I am in the progress of upgrading Django from 1.11 to 2.0.

I have run into an issue with the django-subdomains package, where it is attempting to import from django.core.urlresolvers. It looks like this package is no longer maintained.

Editing the files in the library is not an option, so I was wondering if anyone had any suggestions for an alternative that I can switch over to relatively easily.

Brendan
  • 180
  • 2
  • 15
  • Check my answer here https://stackoverflow.com/questions/63340968/django-locale-url-import-error-cannot-import-name-urlresolvers-from-django-co/63341291#63341291 – Diego Magalhães Aug 11 '20 at 12:28

1 Answers1

0

I was able to solve this by removing django-subdomains and installing this fork.

pip install subdomains
Brendan
  • 180
  • 2
  • 15