Error using django-rest-framework-social-oauth2

152 views
Skip to first unread message

Daniel Grace

unread,
Jun 23, 2015, 3:45:21 PM6/23/15
to django...@googlegroups.com
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
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...

Daniel Grace

unread,
Jun 23, 2015, 3:49:09 PM6/23/15
to django...@googlegroups.com
OK, my mistake, I ran migrate again and got the neccessary tables.
Reply all
Reply to author
Forward
0 new messages