Python - How to import 'StaticFilesStorage' -- django

Import StaticFilesStorage

To import StaticFilesStorage, Add the following line to the top of your code.

from django.contrib.staticfiles.storage import StaticFilesStorage

 

For more information about StaticFilesStorage:
django StaticFilesStorage