сморю видеокурс по джанго. Возникла ошибка при переходе в приложение
TypeError at /wm
AppConfig.__init__() missing 1 required positional argument: 'app_module'
Request Method: GET
Request URL: http://localhost:8000/wm
Django Version: 5.0.4
Exception Type: TypeError
Exception Value:
AppConfig.__init__() missing 1 required positional argument: 'app_module'
Exception Location: C:\djangoprj\djangoProject\.venv\Lib\site-packages\django\core\handlers\base.py, line 197, in _get_response
Raised during: womens.apps.WomensConfig
Python Executable: C:\djangoprj\djangoProject\.venv\Scripts\python.exe
Python Version: 3.12.2
Python Path:
['C:\\djangoprj\\djangoProject',
'C:\\djangoprj\\djangoProject',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\PyCharm Professional '
'2024.1\\plugins\\python\\helpers\\pycharm_display',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\Python\\Python312\\python312.zip',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\Python\\Python312\\DLLs',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\Python\\Python312\\Lib',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\Python\\Python312',
'C:\\djangoprj\\djangoProject\\.venv',
'C:\\djangoprj\\djangoProject\\.venv\\Lib\\site-packages',
'C:\\Users\\Skyza\\AppData\\Local\\Programs\\PyCharm Professional '
'2024.1\\plugins\\python\\helpers\\pycharm_matplotlib_backend']
Server time: Thu, 02 May 2024 15:42:19 +0000
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
"womens.apps.WomensConfig"
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
urlpatterns = [
path('admin/', admin.site.urls),
path('wm', womens.apps.WomensConfig)
Обискал весь инет