Changes between Initial Version and Version 1 of Ticket #29896


Ignore:
Timestamp:
Oct 27, 2018, 5:48:53 PM (6 years ago)
Author:
Maciej Gol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29896 – Description

    initial v1  
    99
    1010class Book(models.Model):
    11     author = models.ForeignKey(Author, on_delete=models.Cascade)
    12     author_numeric = models.ForeignKey(Author, on_delete=models.Cascade, 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")
    1313}}}
    1414
Back to Top