Skip to content
Advertisement

ModuleNotFoundError: No module named ‘admin’

I have this new remote job, where I had to clone all the code from a repository, and I have to make an export of the database from MySQL hosted in RDS.

The first problem is that when I set up the configuration to start the app, it raise an error telling me this:

Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data.

The other thing is that I already have the data dumped and set up in my local storage (the app works this way, is no longer using AWS Cloud) but when I try to do an python manage.py migrate , this error comes up…

JavaScript

Advertisement

Answer

First, django-liststyle is a dependency in your project, so make sure it has been installed.

JavaScript

Second, make sure to add that package to INSTALLED_APPS:

JavaScript

Third, I think the error you are getting is because of the way you are importing ListStyleAdminMixin. This should be the correct way to import it:

JavaScript
Advertisement