Changes between Version 3 and Version 4 of Ticket #35129, comment 4


Ignore:
Timestamp:
Jan 19, 2024, 10:17:56 AM (8 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35129, comment 4

    v3 v4  
    1616}}}
    1717
    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.
     18Under 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.
    1919
    2020In other words, doing
Back to Top