Luciano
Luciano

Reputation: 5

django: books doesn't like a module path

I am learning django. After using command "django-adimon startapp books" to start app books, and adding 'books' into INSTALLED_APPS and MIDDLEWARE, I enter "python3 manage.py runserver".But I get a error like "books doesn't look like a module path".

How does this happen, and how to sole this question?

There are my source codes.Error message is in the file error.txt.

And my python's version is 3.5.2, my django's version is 1.10.0

Upvotes: 0

Views: 390

Answers (1)

Raja Simon
Raja Simon

Reputation: 10315

Remove books from your middleware and it should work...! Any explanation why you added books in middleware ?

Upvotes: 2

Related Questions