Django Tutorials

Kostja Palović

Search in Django Admin

Read more →
Kostja Palović

Django createsuperuser: How to Create a Superuser

Learn how to use the Django createsuperuser command to create an admin superuser. Covers basic usage, custom username/email flags, and non-interactive mode.

Read more →
Kostja Palović

Celery Flower: Monitoring, Setup, and Production Deployment

Complete guide to Celery Flower monitoring tool: run it with Docker Compose, add basic auth, configure nginx reverse proxy, integrate Prometheus metrics, and deploy to production.

Read more →
Kostja Palović

Django Simple JWT Authentication with djangorestframework-simplejwt

Complete guide to JWT authentication in Django using djangorestframework-simplejwt. Covers token refresh, blacklisting, custom claims, logout, and all SIMPLE_JWT settings.

Read more →
Kostja Palović

Django Celery Tutorial: Background Tasks, Beat Scheduler, and Retries

Complete Django Celery tutorial: install Celery with Redis, create background tasks, configure Celery Beat for scheduling, add retry logic, and monitor with Flower.

Read more →
Kostja Palović

Celery Chord and Groups: Complete Guide with Error Handling

Master Celery chord and group for parallel Django tasks. Covers chain vs chord, error callbacks with link_error, chord_unlock behavior, and working code examples.

Read more →
Kostja Palović

Pre-populate SlugField in the Django Admin Site

Read more →
Kostja Palović

Customizing Django Admin Change List

Read more →
Kostja Palović

Building a restful api with Django REST framework tutorial

This tutorial explains what RESTful API is and why it's used, followed by a step-by-step guide on how to build a REST API using Django. It covers creating a new Django project, defining models for a TODO app, using REST framework serializers and CRUD views, setting up a Django REST framework router and URLs, and testing the API.

Read more →
Kostja Palović

Django Admin Panel Tutorial

Series of bite-sized topic-based tutorials about unleashing the power of Django Admin

Read more →
Kostja Palović

Django REST Framework Swagger OpenAPI Tutorial

Add Swagger UI and OpenAPI docs to your Django REST Framework API using drf-spectacular. Step-by-step setup with Redoc integration, URL config, and working code examples.

Read more →
Kostja Palović

Deploy Django on Hetzner Cloud: Step-by-Step Guide (2026)

Learn how to deploy a Django app on Hetzner Cloud VPS using Appliku. ARM server setup, Postgres, automatic HTTPS, and git-based deployments — from zero to live in under 15 minutes.

Read more →
Kostja Palović

How to use decorator in class-based view methods

Read more →
Kostja Palović

Django Docker Tutorial with Postgres

Learn how to set up a Django Docker project with Postgres from scratch. Covers multi-stage Dockerfile builds, health checks, named volumes, and docker-compose.override.yml for dev vs production.

Read more →