rest api is installed but does not run

15 views
Skip to first unread message

Tim Vogt (Tim Vogt)

unread,
Sep 25, 2018, 2:46:32 PM9/25/18
to Django users
Hoi we had a django project and we have pipenv and django installed and django rest

when running python manage.py django keept telling the rest is not installed.

any tips?

we have django_rest in installed apps..

tim

Dilip Krishna

unread,
Sep 26, 2018, 7:16:24 AM9/26/18
to Django users

For rest api you need to insert 'rest_framework' in INSTALLED_APPS


After modifying settings.py , you need to re-run migrations using
python manage.py makemigrations
python manage.py migrate

Check whether you have done that.

Dilip Krishna

unread,
Sep 26, 2018, 7:16:24 AM9/26/18
to Django users
Put 'rest_framework' in INSTALLED_APPS and run migrations
Reply all
Reply to author
Forward
0 new messages