Changes between Initial Version and Version 1 of Ticket #29896
- Timestamp:
- Oct 27, 2018, 5:48:53 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29896 – Description
initial v1 9 9 10 10 class Book(models.Model): 11 author = models.ForeignKey(Author, on_delete=models.C ascade)12 author_numeric = models.ForeignKey(Author, on_delete=models.C ascade, to_field="numeric_id")11 author = models.ForeignKey(Author, on_delete=models.CASCADE) 12 author_numeric = models.ForeignKey(Author, on_delete=models.CASCADE, to_field="numeric_id") 13 13 }}} 14 14