If you use this command to start an app:
django-admin startapp appexample
...then, the AppexampleConfig
class should not be listed in the settings.py
file.
Just add the app name (e.g. appexample
) in INSTALLED_APPS
list. Avoid using: appexample.app.AppexampleConfig
.
Usually, the AppexampleConfig
class is a subclass of the django.apps.Appconfig
class that represents a Django application and its configuration. It just defines the name class attribute and sets its value to Appexample
.