19👍
✅
You have to install django-rest-auth :
pip install django-rest-auth
You may encounter some problems on MacOS which it seems you can fix following this :
Or this :
Second one seems not to be very system friendly, try first, first.
👤Loïc
0👍
I had it installed in my virtual env. But for reasons unknown to me I still have to install it globally for the app to be used in venv.
linux_machine:/#pip install django-rest-auth
0👍
This is how I fixed it…
First run:
python manage.py migrate
fix any errors that pop up… for me some modules weren’t installed globally so for that I used pip instead of pipenv
Then
python manage.py makemigrations
Then
python manage.py migrate
Then lastly
python manage.py runserver
- Django default cache
- Increment Page Hit Count in Django
- Django – query for to give rows where one column Not equals to another column in same model
- Django REST Framework: Validate before a delete
Source:stackexchange.com