pip install Django
python manage.py startapp appname
pip install django-stubs[compatible-mypy]
See here:
https://django-tailwind.readthedocs.io/en/latest/installation.html
pip install 'django-tailwind[reload]'
On Windows I had to use the special set up mentioned at the bottom
https://careers.wolt.com/en/blog/tech/professional-grade-mypy-configuration