Ticket #18375: models.py

File models.py, 238 bytes (added by FunkyBob, 12 years ago)
Line 
1from django.db import models
2
3class Uber(models.Model):
4 title = models.CharField(max_length=100)
5
6class Unter(models.Model):
7 uber = models.ForeignKey('Uber')
8 available = models.IntegerField()
9 used = models.IntegerField()
10
Back to Top