Код: Выделить всё
ImproperlyConfigured at /api/token
settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
Request Method: POST
Request URL: http://localhost:8000/api/token
Django Version: 5.0.6
Exception Type: ImproperlyConfigured
Exception Value:
settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
Exception Location: /home/k/PycharmProjects/ProjectPMS/.venv/lib/python3.10/site-packages/django/db/backends/dummy/base.py, line 20, in complain
Raised during: rest_framework_simplejwt.views.TokenObtainPairView
Python Executable: /home/k/PycharmProjects/ProjectPMS/.venv/bin/python
Python Version: 3.10.12
Подробнее здесь: https://stackoverflow.com/questions/787 ... rk-while-u