The URLs defined by django-sanction
django_sanction should be initialized in your project’s urls.py as such:
urlpatterns = patterns('',
url(r'^o/', include('django_sanction.urls')),
)
The prefix o can be replaced by any path you would like to use for the sanction auth flow. Two views are registered under this path:
note: | The parameter for the login flow must match a key used in SANCTION_PROVIDERS in your project settings file. |
---|