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 profiles app provides support for user-managed profiles. 

7 

8Install 

9------- 

10 

111. Add ``'superdjango.contrib.accounts.profiles.apps.DefaultConfig',`` to your ``INSTALLED_APPS``. 

122. Create your profile model by extending ``ProfileModel`` (or ``ProfileMixin``). 

133. Set the ``SUPERDJANGO_USER_PROFILE_MODEL`` in ``settings.py``. 

14 

15Also, include profiles in your URLs. 

16 

17.. code-block:: python 

18 

19 # main/urls.py 

20 from superdjango.contrib.accounts.viewsets import AccountsViewSet 

21 

22 profiles = AccountsViewSet(profiles=True) 

23 

24 urlpatterns = [ 

25 ... 

26 path('accounts/profile/', include(profiles.urls), 

27 ] 

28 

29Usage 

30----- 

31 

32TODO 

33 

34""" 

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

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

37__version__ = "0.7.0-a"