Django - Import Error: No module named *.urls

后端 未结 2 1992
耶瑟儿~
耶瑟儿~ 2021-01-05 04:45

I\'m working through the official Django tutorial and adapting it slightly for my own needs using Django version 1.6.1, Python 2.7.6.

I\'m at the point where it has

2条回答
  •  轮回少年
    2021-01-05 05:19

    If taco is the name of the project check that apps are being referenced correctly so in your installed apps you may need the following:

    Installed Applications:
    ('django.contrib.admin',
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
     'south',
     'customers',
     'inventory',
     'lookups',
     'orders')
    

提交回复
热议问题