Changes between Initial Version and Version 2 of Ticket #9394
- Timestamp:
- Oct 18, 2008, 9:55:06 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9394 – Description
initial v2 12 12 class Chef(models.Model): 13 13 name = models.CharField(max_length=50) 14 restaurants = models.ManyToManyField( ChineseRestaurant, through='Employee')14 restaurants = models.ManyToManyField(Restaurant, through='Employee') 15 15 16 16 class Employee(models.Model): 17 restaurant = models.ForeignKey( ChineseRestaurant)17 restaurant = models.ForeignKey(Restaurant) 18 18 chef = models.ForeignKey(Chef) 19 19 years_of_service = models.IntegerField()