Welcome to this playground. You can test all tips of 10 tips to optimize PostgreSQL queries in your Django project using this repo.
To run this playground, you'll need
- Install virtualenv
You may need to install graphviz before
pipenv install -d
- Setup your environment
Copy the example env file
cp .env.example .env
Edit .env
by setting a PostgreSQL password and a Django Secret Key.
- Activate your environment
pipenv shell
- Start your PostgreSQL container
docker compose up -d
- Open a notebook
./manage.py shell_plus --notebook
You are now ready to start ;)
The slides are randered from the markdown files in djangocon_workshop/slides using quarto
You can look at the presentation by untaring djangocon_workshop/quarto_files.tar.xz
and opening the HTML files in djangocon_workshop/quarto_files/djangcon_workshop/slides
with any browser