Skip to content
Advertisement

Django: m doesn’t look like a module path

I can vistit the /admin url

but went I login admin or call my login api. I got this error message

error:

JavaScript

Advertisement

Answer

You haven’t given enough details to know for certain, however I am going to guess that this is a problem with your AUTHENTICATION_BACKENDS setting. See Django AUTHENTICATION_BACKENDS import error for a similar problem.

Advertisement