Open luke7ucas opened 3 years ago
The command returned the following error:
django.core.exceptions.ImproperlyConfigured: Cannot import 'accounts'. Check that 'apps.accounts.apps.AccountsConfig.name' is correct.
It can be resolved by going to: backend/server/server/apps/accounts/apps.py
and changing from
from django.apps import AppConfig ` class AccountsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'accounts'`
from django.apps import AppConfig
`
to:
from django.apps import AppConfig ` class AccountsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'apps.accounts'`
@luke7ucas thank you for reporting the issue. I will fix this when back to course.
The command returned the following error:
django.core.exceptions.ImproperlyConfigured: Cannot import 'accounts'. Check that 'apps.accounts.apps.AccountsConfig.name' is correct.
It can be resolved by going to: backend/server/server/apps/accounts/apps.py
and changing from
from django.apps import AppConfig
`
class AccountsConfig(AppConfig):to:
from django.apps import AppConfig
`
class AccountsConfig(AppConfig):