Tuesday, June 23, 2015

Error using django-rest-framework-social-oauth2

I have installed and set up django-rest-framework-social-oauth2, as per instructions on: https://pypi.python.org/pypi/django-rest-framework-social-oauth2/0.0.4
I did makemigrations and migrate, but there were no extra tables... when I go to "Django administration - Site administration" and click on "Access tokens" under "Oauth2_Provider" I get the error:
Request Method: GET
Request URL: http://localhost:8000/admin/oauth2_provider/accesstoken/
Django Version: 1.8.2
Exception Type: ProgrammingError
Exception Value:
relation "oauth2_provider_accesstoken" does not exist
LINE 1: SELECT COUNT('*') AS "__count" FROM "oauth2_provider_accesst...

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8fad15d-f893-4766-b22d-a84059025cfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 comment:

  1. RUN :- python manage.py migrate oauth2_provider

    ReplyDelete