Changes between Initial Version and Version 1 of Ticket #16838, comment 2


Ignore:
Timestamp:
Sep 15, 2011, 4:55:07 PM (13 years ago)
Author:
jamesp

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16838, comment 2

    initial v1  
    1313
    1414class Subject(models.Model):
    15     name = models.CharField(max_length=100, related_name='+')
    16     author = models.ForeignKey(Author)
     15    name = models.CharField(max_length=100)
     16    author = models.ForeignKey(Author, related_name='+')
    1717
    1818
    1919class Book(models.Model):
    20     title = models.CharField(max_length=100, related_name='+')
    21     author = models.ForeignKey(Author)
     20    title = models.CharField(max_length=100)
     21    author = models.ForeignKey(Author, related_name='+')
    2222
    2323}}}
Back to Top