Wednesday, August 29, 2018

Re: Using Subdomains in Version 2.1.7

In what file exactly I'm I supposed to place that import?


On Wed, 29 Aug 2018 at 17:37, Tim Graham <timograham@gmail.com> wrote:
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAHhweXbjOcncbaevE0Uc4QZesT-8tAfJn1aDCshwqEB8Uu2tQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment