AlexW AlexW - 2 years ago 152
Python Question

python django 1.9 ImportError: No module named djano.conf.urls

Im following the tutorial on the Django website

im down to the mysite/ section, i have added the code

from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
url(r'^networks/', include('networks.urls')),

However when I run the server I get:

ImportError: No module named djano.conf.urls

Ive searched through here and everything points to an old version of Django, but im running the latest version i believe

python -c "import django; print(django.get_version())"

Can anyone help me out?


Answer Source

I think you have a Typo error:

ImportError: No module named **djano**.conf.urls

That's why you're getting this ImportError.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download