Merge pull request #110 from ptsteadman/patch-1

Update install docs to prevent unhandled error on user deletion
This commit is contained in:
Michael 2020-07-07 23:31:28 -05:00 committed by GitHub
commit 0b65b156e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
) )