reading-notes

TITLE

SOURCES

VIDEOS

Creating a Custom User Moel

Abstract User, User Profile and Signals in Django

ARTICLES

Django Custum User Model

DjangoX

NOTES

Custom user model

create and navigate into a dedicated directory called accounts for our code install Django make a new Django project called django_project make a new app accounts start the local web server Here are the commands to run:

Windows

cd onedrive\desktop\code mkdir pages cd pages python -m venv .venv .venv\Scripts\Activate.ps1 (.venv) > python -m pip install django~=4.0.0 (.venv) > django-admin startproject django_project . (.venv) > python manage.py startapp accounts (.venv) > python manage.py runserver

macOS

% cd ~/desktop/code % mkdir pages % cd pages % python3 -m venv .venv % source .venv/bin/activate (.venv) % python3 -m pip install django~=4.0.0 (.venv) % django-admin startproject django_project . (.venv) % python3 manage.py startapp accounts (.vent) % python3 manage.py runserver

DjangoX