Every time I try to run my program using python manage.py runserver, this same error comes up:
"ModuleNotFoundError: No module named 'django.contrib.staticfilesbase'"
Every time I try to run my program using python manage.py runserver, this same error comes up:
"ModuleNotFoundError: No module named 'django.contrib.staticfilesbase'"
Copyright © 2021 Jogjafile Inc.
This error typically means that while trying to run your app, either your code or your dependencies is telling django to look for
django.contrib.staticfilesbaseand my best guess is that it is your code.Start with your
settings.py. Open it and look under theinstalled apps. It should look at least something like this:You can have other app under the "installed apps" ofcourse, but if you find
django.contrib.staticfilesbasein there, change it todjango.contrib.staticfiles.