Django Tutorials

Kostja Palović

How to create a superuser in Django

Learn how to use the `createsuperuser` management command in Django to create a superuser, either through prompts or by providing specific arguments.

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ć

Search in Django Admin

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

Why use OpenAPI and how to add it to a Django REST API project. Differences between Swagger and OpenAPI, and the benefits of using OpenAPI. Instructions on installing and setting up drf-spectacular, a package that generates OpenAPI documentation. How to. access the OpenAPI Swagger and redoc interfaces.

Read more →
Kostja Palović

Django Docker Tutorial with Postgres

The concept of Docker and Docker Compose, the benefits of using them to containerize a Django application, and provides a tutorial on how to set up a Django project in a Docker container using Docker Compose.

Read more →
Kostja Palović

How to use decorator in class-based view methods

Read more →