Changes between Version 3 and Version 4 of Ticket #35129, comment 4
- Timestamp:
- Jan 19, 2024, 10:17:56 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35129, comment 4
v3 v4 16 16 }}} 17 17 18 Under the hood `ForeignKey` is `Field` + `ForeignObject` + the equivalent of a `ForeignKeyConstraint (ForeignObject)` entry in `Model._meta.constraints` so if you care about the ORM + JOIN generation part and don't want a database constraint it's likely what you're looking for.18 Under the hood `ForeignKey` is `Field` + `ForeignObject` + the equivalent of a `ForeignKeyConstraint` entry in `Model._meta.constraints` so if you care about the ORM + JOIN generation part and don't want a database constraint it's likely what you're looking for. 19 19 20 20 In other words, doing