mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 13:53:43 +03:00
Merge pull request #74 from erdaltsksn/docs/updateinstallcmd
docs: Update registration install command for zsh
This commit is contained in:
commit
6e77382f1a
|
@ -44,7 +44,7 @@ You're good to go now!
|
|||
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:
|
||||
|
||||
|
@ -283,4 +283,4 @@ This example value above will cause dj-rest-auth to return a `Set-Cookie` header
|
|||
|
||||
Set-Cookie: my-app-auth=xxxxxxxxxxxxx; expires=Sat, 28 Mar 2020 18:59:00 GMT; HttpOnly; Max-Age=300; Path=/
|
||||
|
||||
``JWT_AUTH_COOKIE`` is also used while authenticating each request against protected views.
|
||||
``JWT_AUTH_COOKIE`` is also used while authenticating each request against protected views.
|
||||
|
|
Loading…
Reference in New Issue
Block a user