USER STORY: Install Django-allauth #8
Labels
1
User Story Estimate is 1 story point
development
Development Process
must-have
A must-have feature
Milestone
User Story:
As a developer, I should install the necessary Django components so that I can address authentication, registration, and account management for users
Acceptance Criteria:
Related User Stories:
#6 Django Setup - As a developer, I can set up Django and supporting libraries so that I can start developing the site
Tasks:
Install
pip3 install django-allauth
to create the account management system for usersUpdate requirements.txt -
pip3 freeze --local > requirements.txt
Add the URL path in urls.py
Update
INSTALLED_APPS
in settings.pydjango.contrib.sites
allauth
allauth.account
allauth.socialaccount
Add
SITE_ID = 1
belowINSTALLED_APPS
Add
LOGIN_REDIRECT_URL = '/'
belowSITE_ID
LOGOUT_REDIRECT_URL = '/'
Add
ACCOUNT_EMAIL_VERIFICATION = 'none'
Run Migrations -
python3 manage.py migrate
Install templates folder
cp -r ../.pip-modules/lib/python3.8/site-packages/allauth/templates/* ./templates
in the command lineEdit templates
The text was updated successfully, but these errors were encountered: