Starting in Django 2.0, "The django.core.urlresolvers module is removed in favor of its new location, django.urls."
Use from django.urls import reverse as simple_reverse On Wednesday, August 29, 2018 at 9:56:09 AM UTC-4, Abednego Ng'ang'a wrote: > > I've followed the procedure of installing subdomains according to > https://django-subdomains.readthedocs.io/en/latest/ but when I try > python3 manage.py runserver > > I get the error > > ModuleNotFoundError: No module named 'django.core.urlresolvers' > > What would be the problem? > > django-admin version => 2.1.7 > OS platform => Kali Linux > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3ddbbc84-23ce-4502-923a-c15613376415%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

