Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.

Commit

Permalink
Fix swappable app model
Browse files Browse the repository at this point in the history
  • Loading branch information
noirbizarre committed May 23, 2014
1 parent 1fb42c9 commit 44a0a2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion youckan/settings/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@
'SCOPES': {
'profile': 'Read profile',
},
'APPLICATION_MODEL': 'sso.OAuth2Application',
}

OAUTH2_PROVIDER_APPLICATION_MODEL = 'sso.OAuth2Application'

REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'oauth2_provider.ext.rest_framework.OAuth2Authentication',
Expand Down

0 comments on commit 44a0a2c

Please sign in to comment.