Reference

Authentication backend

URLs

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:

  • [prefix]/logout/, and
  • [prefix]/login/(\w+)
note:The parameter for the login flow must match a key used in SANCTION_PROVIDERS in your project settings file.

Views

Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.