mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 05:43:44 +03:00
Merge pull request #110 from ptsteadman/patch-1
Update install docs to prevent unhandled error on user deletion
This commit is contained in:
commit
0b65b156e2
|
@ -46,7 +46,7 @@ Registration (optional)
|
||||||
|
|
||||||
1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install 'dj-rest-auth[with_social]'``.
|
1. If you want to enable standard registration process you will need to install ``django-allauth`` by using ``pip install 'dj-rest-auth[with_social]'``.
|
||||||
|
|
||||||
2. Add ``django.contrib.sites``, ``allauth``, ``allauth.account`` and ``dj_rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py:
|
2. Add ``django.contrib.sites``, ``allauth``, ``allauth.account``, ``allauth.socialaccount`` and ``dj_rest_auth.registration`` apps to INSTALLED_APPS in your django settings.py:
|
||||||
|
|
||||||
3. Add ``SITE_ID = 1`` to your django settings.py
|
3. Add ``SITE_ID = 1`` to your django settings.py
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@ Registration (optional)
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
'allauth',
|
'allauth',
|
||||||
'allauth.account',
|
'allauth.account',
|
||||||
|
'allauth.socialaccount',
|
||||||
'dj_rest_auth.registration',
|
'dj_rest_auth.registration',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user