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"""
3Abstract
4--------
6The profiles app provides support for user-managed profiles.
8Install
9-------
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``.
15Also, include profiles in your URLs.
17.. code-block:: python
19 # main/urls.py
20 from superdjango.contrib.accounts.viewsets import AccountsViewSet
22 profiles = AccountsViewSet(profiles=True)
24 urlpatterns = [
25 ...
26 path('accounts/profile/', include(profiles.urls),
27 ]
29Usage
30-----
32TODO
34"""
35__author__ = "Shawn Davis <shawn@superdjango.com>"
36__maintainer__ = "Shawn Davis <shawn@superdjango.com>"
37__version__ = "0.7.0-a"