Python - How to import 'StaticFilesConfig' -- django

Import StaticFilesConfig

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

from django.contrib.staticfiles.apps import StaticFilesConfig

 

For more information about StaticFilesConfig:
django StaticFilesConfig