Tag: django-orm
37 Posts
Django: Use Raw SQL Safely When the ORM Isn’t Enough — objects.raw() and cursor() in 5 Minutes
Django: Bulk Update with QuerySet.update() in a Single SQL Statement — No save() Loop
Django: Send Email with send_mail() in 5 Minutes — Configure SMTP the Right Way
Django: Replace Repetitive Function Views with ListView and DetailView
Django: Remove Duplicate Records with distinct() When Filtering Across ManyToMany in 5 Minutes
Django: Set related_name and on_delete Correctly So Relationships Stay Clean
Django: Store and Query Flexible Data with JSONField in 5 Minutes
Django: Write Custom Template Filters — Format Currency Right in the Template in 5 Minutes
