Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 624 Bytes

install.rst

File metadata and controls

34 lines (22 loc) · 624 Bytes

Installation

Install with pip :: pip install django-oauth-toolkit

Add oauth2_provider to your INSTALLED_APPS

INSTALLED_APPS = (
    ...
    'oauth2_provider',
)

If you need an OAuth2 provider you'll want to add the following to your urls.py

urlpatterns = [
    ...
    url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]

Sync your database

sh

$ python manage.py migrate oauth2_provider

Next step is our first tutorial <tutorial/tutorial_01>.