Created following the tutorial at https://www.django-rest-framework.org/tutorial/quickstart/
to troubleshoot the bug tfranzel/drf-spectacular#422
python3 -m venv env
source env/bin/activate # On Windows use `env\Scripts\activate`
pip install -r requirements.txt
If you deploy with python manage.py runserver
, you can test by running
curl -H 'Accept: application/json; indent=4' -u admin:password http://127.0.0.1:8000/users/