Friday, 28 June 2019

from django.core import urlresolvers ImportError: cannot import name 'urlresolvers' from 'django.core'

This is Django Version issue.

For versions > 1.10, use

from django.urls import reverse

instead of  " from django.core import urlresolvers "

No comments:

Post a comment

Note: only a member of this blog may post a comment.

TypeError: argument of type 'WindowsPath' is not iterable

 Please make to modify file: DATABASES = { 'default' : { 'ENGINE' : 'django.db.backends.sqlite3&...