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
http://localhost:8000/api/token i am accessing this endpoint inorder to obtain token for authorization in postman
New contributor
Brian Nzuki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3