Skip to content

Commit

Permalink
Merge pull request #582 from ccnmtl/django-oauth-toolkit-conversion
Browse files Browse the repository at this point in the history
django-oauth2-provider -> django-oauth-toolkit - PMT #103802
  • Loading branch information
thraxil committed Nov 18, 2015
2 parents 3c6f199 + d48bd5c commit f46ecd1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
9 changes: 1 addition & 8 deletions dmt/settings_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
'dmt.api',
'bdd_tests',
'django_behave',
'provider',
'provider.oauth2',
'oauth2_provider',
]

DEBUG_TOOLBAR_CONFIG = {
Expand All @@ -76,9 +75,3 @@
MESSAGE_TAGS = {
messages.ERROR: 'danger'
}

PROVIDER_APPLICATION_MODEL = 'provider.Application'

MIGRATION_MODULES = {
'provider': 'dmt.migrations.provider',
}
2 changes: 1 addition & 1 deletion dmt/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
url(r'^add_trackers/$', AddTrackersView.as_view(), name='add_trackers'),
(r'^api/1.0/', include('dmt.api.urls')),
(r'^drf/', include('dmt.api.urls')),
url(r'^oauth2/', include('provider.oauth2.urls', namespace='oauth2')),
url(r'^oauth2/', include('oauth2_provider.urls', namespace='oauth2')),
(r'^search/$', SearchView.as_view()),
(r'^client/$', ClientListView.as_view()),
url(r'^client/(?P<pk>\d+)/$', ClientDetailView.as_view(),
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ django-bootstrap3==6.2.2
django-emoji==2.0.0
django-behave==0.1.5
django-oauth2-provider==0.2.6.1
django-braces==1.8.1
oauthlib==1.0.3
django-oauth-toolkit==0.9.0
django-extra-views==0.7.1
bleach==1.4.3.ccnmtl
html5lib==0.999999
Expand Down

0 comments on commit f46ecd1

Please sign in to comment.