Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. class Propertytype(models.Model):
  2. description = models.CharField(max_length=140)
  3.  
  4.  
  5. class Property(models.Model):
  6. property = models.CharField(max_length=140)
  7. propertytype = models.ForeignKey(Propertytype)
  8. EEG = models.ForeignKey(EEG)
  9.  
  10. class EEG(CommonInfo):
  11. number = models.CharField(max_length=30,null=True, blank=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement