Skip to content

andyjud/django-starter

Repository files navigation

Video Tutorial to build this project

https://youtu.be/SQ4A7Q6_md8

Upgrades

  • send_confirmation instead of send_email_confirmation (remove the = in the email verification link sent to the terminal)
  • CustomUser Model instead of Default User
  • Global CSRF header for HTMX
  • Option to use UV for Dependency Management


Getting the files

Download zip file
or
run git clone command in empty folder

git clone https://github.com/andyjud/django-starter.git . && rm -rf .git



Setup with UV (Recommended)

Install UV

uv: https://docs.astral.sh/uv/

pip install uv
Install dependencies
uv sync
Activate Virtual Environment (Mac)
source .venv/bin/activate
Migrate to database
python manage.py migrate
python manage.py createsuperuser
Run application
python manage.py runserver

http://localhost:8000



Setup with with pip

Create Virtual Environment on Mac
python3 -m venv .venv
source .venv/bin/activate
Create Virtual Environment on Windows
python3 -m venv .venv
.\venv\Scripts\Activate.ps1
Install dependencies
pip install -r requirements.txt
pip install --upgrade pip
Migrate to database
python manage.py migrate
python manage.py createsuperuser
Run application
python manage.py runserver

http://localhost:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors