Changeset 9010


Ignore:
Timestamp:
Apr 1, 2011, 5:01:29 PM (14 years ago)
Author:
dennisw
Message:

Model aangepast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/db/models.py

    r9009 r9010  
    1818        signaal = models.IntegerField(max_length=3)
    1919        datum = models.DateTimeField()
    20         def __unicode__(self):
    21                 return self.mac
    2220
    2321#eventueel
     
    2624        apparatuur = models.Charfield(max_length=64)
    2725        def __unicode__(self):
    28                 return self.choice
     26                return (self.gebruiker, self.apparatuur)
Note: See TracChangeset for help on using the changeset viewer.