📌 Articles tagged # django

Django Model Methods and Properties
Django Model Methods and Properties

Learn how to enhance your Django models by adding custom methods and properties to handle business logic and computed values. This tutorial shows how to write cleaner, more organized code by moving logic from views into models.

Read More By echrif | Apr 08, 2026
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