Tutorials

Discover articles, guides, and related topics in this category.

Articles in Tutorials

Read the latest articles published in this section.

129 articles
Django Slugs and Clean URLs
Django Slugs and Clean URLs

Learn how to create clean, readable, and SEO-friendly URLs in Django using slugs. This tutorial covers adding slug fields, generating them automatically, handling duplicates, and using slugs in views and URLs.

Read More By echrif | Apr 08, 2026
Django QuerySets and ORM Deep Dive
Django QuerySets and ORM Deep Dive

Master Django’s QuerySets and ORM to efficiently retrieve, filter, and manipulate database data. This tutorial covers advanced querying techniques, lookups, aggregations, and performance optimization to help you write clean and powerful database que…

Read More By echrif | Apr 08, 2026
Generic Class-Based Views in Django
Generic Class-Based Views in Django

Learn how to use Django’s Generic Class-Based Views to build CRUD applications quickly and efficiently. This tutorial covers ListView, DetailView, CreateView, UpdateView, and DeleteView, helping you reduce repetitive code and develop dynamic databas…

Read More By echrif | Apr 08, 2026
Class-Based Views in Django
Class-Based Views in Django

Learn how to use Class-Based Views (CBVs) in Django to write cleaner and more reusable code. This tutorial covers the basics of CBVs and introduces powerful generic views like TemplateView, ListView, and DetailView to build dynamic pages efficiently.

Read More By echrif | Apr 08, 2026
Relationships in Django Models
Relationships in Django Models

Learn how to connect models in Django using ForeignKey, OneToOneField, and ManyToManyField. This tutorial explains how to design relationships, query related data, and build real-world database structures efficiently.

Read More By echrif | Apr 08, 2026