Alastair McCormack Alastair McCormack - 1 year ago 114
Python Question

"No module named djangomako.middleware" from Intellij developed Django app

When developing a Python application using Intellij, I get:

No module named djangomako.middleware

when trying to access pages through the development HTTP server.

Answer Source

IntelliJ automatically adds Mako as an Middleware application to

To fix:

  1. Edit <application name>/
  2. Find MIDDLEWARE_CLASSES definition
  3. Remove 'djangomako.middleware.MakoMiddleware' from list
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download