Changeset 9659
- Timestamp:
- Sep 4, 2011, 3:12:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/models.py
r9638 r9659 137 137 138 138 class Apparatuur(models.Model): 139 antenne = models.CharField(max_length=64 )140 kaart = models.CharField(max_length=64 )139 antenne = models.CharField(max_length=64, default="onbekend") 140 kaart = models.CharField(max_length=64, default="onbekend") 141 141 def __unicode__(self): 142 142 return "%s - %s" % (self.antenne, self.kaart) 143 143 class Meta: 144 144 verbose_name_plural = 'Apparatuur' 145 unique_together = ('antenne', 'kaart') 145 146 146 147 class MeetRondje(models.Model):
Note:
See TracChangeset
for help on using the changeset viewer.