How to Solve NameError: name 'AppConfig' is not defined -- django

Solution: Import the 'AppConfig' module

To Solve the error, add the following line to the top of your code.

from django.apps import AppConfig

 

For more information:
Python django AppConfig