Hi I am working on Dajngo project where I need to create a form for inputs i tried to import reverse from django.core.urlresolvers I got an error stating that....
line 2, in from django.core.urlresolvers import reverse ImportError: No module named 'django.core.urlresolvers'
and I am using Python 3.5.2 , django 2.0 and mysql
Django 2.0 is currently pre-alpha and won't be released for at least 8 months. Unless you specifically want to test 2.0, it's recommended to stick to a currently supported version (1.8 LTS or 1.10 at the time of writing) or possibly the current release candidate for 1.11 LTS. 1.11 is set to be released in just a few days (Update: 1.11 has been released).
Django 2.0 removes the
django.core.urlresolvers module, which was moved to
django.urls in version 1.9. You should change any import to use
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. See the features deprecated in 1.9 for details.