Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USER STORY: Install Django-allauth #8

Closed
15 tasks done
chris-townsend opened this issue Nov 8, 2022 · 0 comments
Closed
15 tasks done

USER STORY: Install Django-allauth #8

chris-townsend opened this issue Nov 8, 2022 · 0 comments
Assignees
Labels
1 User Story Estimate is 1 story point development Development Process must-have A must-have feature

Comments

@chris-townsend
Copy link
Owner

chris-townsend commented Nov 8, 2022

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:

  • Django admin panel should be viewable
  • Only admin can view the Django admin panel
  • Django-allauth templates should be viewable

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 users

  • Update requirements.txt - pip3 freeze --local > requirements.txt

  • Add the URL path in urls.py

  • Update INSTALLED_APPS in settings.py

    • Add django.contrib.sites
    • Add allauth
    • Add allauth.account
    • Add allauth.socialaccount
  • Add SITE_ID = 1 below INSTALLED_APPS

  • Add LOGIN_REDIRECT_URL = '/' below SITE_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 line

  • Edit templates

@chris-townsend chris-townsend added must-have A must-have feature 1 User Story Estimate is 1 story point development Development Process labels Nov 8, 2022
@chris-townsend chris-townsend self-assigned this Nov 8, 2022
@chris-townsend chris-townsend moved this from Todo to In Progress in Kitchen Tales Kanban board Nov 15, 2022
Repository owner moved this from In Progress to Done in Kitchen Tales Kanban board Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 User Story Estimate is 1 story point development Development Process must-have A must-have feature
Projects
Development

No branches or pull requests

1 participant