Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1""" 

2 

3Abstract 

4........ 

5 

6The auth app focuses on user login/logout and provides support for intelligent redirection of the user after a 

7successful login. 

8 

9Install 

10....... 

11 

12Add ``'superdjango.contrib.accounts.auth.apps.DefaultConfig',`` to ``INSTALLED_APPS``. 

13 

14Usage 

15..... 

16 

17Default usage may be invoked by loading the auth URLs: 

18 

19.. code-block:: python 

20 

21 # main/urls.py 

22 from superdjango.contrib.accounts.viewsets import AccountsViewSet 

23 

24 auth = AccountsViewSet(auth=True) 

25 

26 urlpatterns = [ 

27 ... 

28 path('accounts/', include(auth.urls), 

29 ] 

30 

31""" 

32__author__ = "Shawn Davis <shawn@superdjango.com>" 

33__maintainer__ = "Shawn Davis <shawn@superdjango.com>" 

34__version__ = "0.6.0-a"