Tuesday, September 25, 2018

rest api is installed but does not run

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.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8200337-b1d4-4adc-941a-0b9215e4e5c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment