Skip to content

from django.core.urlresolvers import reverse ModuleNotFoundError: No module named 'django.core.urlresolvers' #4

Description

@syedalizain033

While running server via command "python manage.py runserver", the file gives us an error on the terminal/cmd.exe as given below.
from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'

Searching it on stackoverflow, I found an answer I have shared below.
"Note that Django 2.0 removes some features that previously were in django.core.urlresolvers, so you might have to make some more changes before your code works. "
It clearly defines that there is dnajgo version issue which I'm facing while testing this project. I am even unable to run the server. If you have any solution for that like if you can update the code, this would be a really appreciable effort.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions