137👍
✅
According to the documentation, AppConfig.name
is a full python path to the application.
AppConfig.name
Full Python path to the application, e.g. ‘django.contrib.admin’.
This attribute defines which application the configuration applies to.
It must be set in all AppConfig subclasses.It must be unique across a Django project.
https://docs.djangoproject.com/en/2.2/ref/applications/#django.apps.AppConfig.name
Try this:
class CoreConfig(AppConfig):
name = 'compfactu.core'
0👍
In your apps.py ensure to include the full path off the app:
class CoreConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'compfactu.core'
- [Django]-How can I upgrade specific packages using pip and a requirements file?
- [Django]-How to get a list of all users with a specific permission group in Django
- [Django]-How do I get odd and even values in a Django for loop template?
Source:stackexchange.com