To-do list with Django and categories — code of the PyWeb Guide "Django next steps" section (steps 1–9)
https://pywebguide.github.io/en/django-next.html

A continuation of the first project (examples/en/django-todo): a Category model and ForeignKey,
select_related, the class-based views ListView and CreateView, tests.
Tested with: Python 3.13, Django 6.1.

Windows (PowerShell):
    python -m venv .venv
    .venv\Scripts\activate
    pip install -r requirements.txt
    python manage.py migrate
    python manage.py createsuperuser
    python manage.py runserver

macOS and Linux: the same, but use python3 instead of python to create the environment
and source .venv/bin/activate to turn it on.

Open http://127.0.0.1:8000/ (the list) and http://127.0.0.1:8000/admin/ (the admin,
where categories are added too).
Tests: python manage.py test

Important: the SECRET_KEY in mysite/settings.py was created by django-admin and is only
fit for learning on your own computer. Before publishing, replace it and turn DEBUG off
(see the "Deployment" section: https://pywebguide.github.io/en/deploy.html).
