How to Solve NameError: name 'StaticFilesStorage' is not defined -- django
Erorr: name 'StaticFilesStorage' is not defined
NameError: name 'StaticFilesStorage' is not defined
Solution: Import the 'StaticFilesStorage' module
# Add the following line to the top of your code
from django.contrib.staticfiles.storage import StaticFilesStorage
For more information:
django StaticFilesStorage