Frontend

Loading spinners

How to create loading spinners with htmx and tailwindcss

Include tailwindcss in a Django project

How to include tailwindcss in a Django project with django-tailwind and automatically run both npm and runserver during development

Django and HTMX

How to create a form wizard with Django and HTMX, without saving any intermediate data to the database or session

Back to Top ↑

Running in Production

Deploy a Django app on a VM (manually)

All manual steps required to transfer the code on the remote host and set up a systemd service that executes your Django application

Gunicorn from scratch

How to run your Django application through a WSGI server like Gunicorn

Set up a VirtualBox VM

How to run a virtual host locally to test your automatic provisioning

Back to Top ↑

Development

Back to Top ↑

Databases

Postgres

Open source relational database with a lot of features and a big community. It is well supported by Django and has a lot of tools and packages around it.

SQLite in production

SQLite can handle concurrent writes, it is easy to set up, and can be backed up easily to S3 with Litestream

Back to Top ↑

Security

https://

How to create my own certificates and serve over https

Back to Top ↑

Know your tools

Back to Top ↑