django-subdomains icon indicating copy to clipboard operation
django-subdomains copied to clipboard

ImportError: No module named 'django.core.urlresolvers'

Open Chriszat opened this issue 4 years ago • 5 comments

Calling from subdomains.utils import reverse gives the below error

Traceback (most recent call last): File "", line 1, in File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\subdomains\utils.py", line 8, in from django.core.urlresolvers import reverse as simple_reverse ModuleNotFoundError: No module named 'django.core.urlresolvers'

Chriszat avatar Aug 04 '20 09:08 Chriszat

We are facing same issue as well, please merge the latest PR as it will this issue

subhajeet2107 avatar Sep 08 '20 06:09 subhajeet2107

Am also facing this issue pls

Princewill-Kelechi avatar Dec 21 '20 00:12 Princewill-Kelechi

Still facing this issue. Any headway yet?

omolojakazeem avatar Apr 04 '21 06:04 omolojakazeem

Django removed this in 2.1. Package needs to be updated to support Django 2.1+.

levkk avatar Jul 19 '22 20:07 levkk

try: from django.core.urlresolvers import reverse as simple_reverse except ImportError: from django.urls import resolve as simple_reverse

haradhansharma avatar Apr 12 '23 21:04 haradhansharma