|
About the Using the ORM category
|
|
1
|
747
|
May 23, 2024
|
|
Ordering a list by averages accumulated from two models
|
|
23
|
685
|
August 1, 2026
|
|
How to use Gevent spawn in view function and use same single db connection
|
|
5
|
234
|
July 31, 2026
|
|
Filtering reverse lookups via a ManyToManyField through table
|
|
6
|
76
|
July 30, 2026
|
|
Django Truly Async ORM (Learning from Bun)
|
|
3
|
69
|
July 24, 2026
|
|
Bug in Django 5.2 when joining the same table twice and using order_by and "distinct on"
|
|
14
|
163
|
July 21, 2026
|
|
Using `values(..)` after `distinct(..)` over an annotated value
|
|
7
|
91
|
July 3, 2026
|
|
Enforcing only one True value in BooleanField via CheckConstraint
|
|
3
|
64
|
June 8, 2026
|
|
Are ORM transaction.atomic()s tied to a thread?
|
|
5
|
104
|
June 3, 2026
|
|
How can I directly create a `models.TextChoices` from an existing `Enum` class?
|
|
4
|
523
|
May 28, 2026
|
|
Unexpected deadlock across two separate rows, using Postgres 17 and select_for_update().
|
|
14
|
257
|
May 12, 2026
|
|
Testing Abstract Base Class for Model
|
|
0
|
51
|
April 25, 2026
|
|
How to handle user specified Models for a User Specified Inventory Management System
|
|
1
|
52
|
April 23, 2026
|
|
How to do Subquery inside FROM?
|
|
12
|
129
|
April 22, 2026
|
|
Database Layouts
|
|
2
|
84
|
April 12, 2026
|
|
Setting a m2m relationship works but not right away
|
|
2
|
55
|
March 29, 2026
|
|
Test time doubled after Django 3.2->4.2 and Postgres 10->13 update
|
|
34
|
3030
|
March 27, 2026
|
|
Should I avoid the DELETE if I will use it as RAW SQL
|
|
1
|
47
|
March 23, 2026
|
|
Is it acceptable by the community to MIX ORM with raw SQL
|
|
6
|
146
|
March 21, 2026
|
|
Speeding up initial migrations
|
|
3
|
67
|
March 17, 2026
|
|
Queryset Prefetch vs Filter
|
|
3
|
64
|
March 15, 2026
|
|
annotate with tz-aware datetime
|
|
13
|
3669
|
March 9, 2026
|
|
Saving file in model instance
|
|
5
|
1561
|
February 11, 2026
|
|
Custom GIS lookup
|
|
0
|
46
|
February 6, 2026
|
|
Seeking Advice on PK Naming Conventions for a Multi-tenant Hybrid System (Web + Offline Sync)
|
|
1
|
59
|
February 3, 2026
|
|
Django modular apps with conditional migrations in a multi‑site, multi‑database setup — best practice?
|
|
0
|
53
|
January 29, 2026
|
|
Django DB Transactions
|
|
5
|
1465
|
January 14, 2026
|
|
Doubt in the usage of bulk_create with update_conflicts=True
|
|
3
|
7458
|
January 14, 2026
|
|
DISTINCT ON fields is not supported by this database backend
|
|
15
|
4249
|
January 13, 2026
|
|
Count filtering based on annotated fields
|
|
0
|
61
|
January 7, 2026
|