Django CRUD
Posted on Aug 25th, 2022
🎯 Project: Django Duplex
Due Thursday, Sept. 1
Goal for Monday: Replicate what you have in Django music in this new app.
đź”– Resources
- Setting Up Django App Video Passcode: R6OM9h%!
- User and Registration video
- Caution: don’t do makemigrations and migrate until you have added your User model
- TL;DR Here’s what to do to implement basic registration and login using Django Registration Redux
- Make sure you have a
base.html
template in the root of yourtemplates
directory and that it contains{% block content %}{% endblock %}
- Make sure you have a
- Run
pipenv install django-registration-redux
and add “registration” to the top of the INSTALLED_APPS list insettings.py
- Add the urls to your urls.py as desribed here - Django Registration Redux one-step backend
- These are the urls you now have access to, all beginning with
accounts/
.
- Making a Gitignore file
- Custom User model in Django App
- Note: decide how you are going to configure the User model at the beginning of the project.
.