Revision 75228955
changed model to allow for hex rfid cards
crm/robocrm/models.py | ||
---|---|---|
19 | 19 |
user = models.OneToOneField(User) |
20 | 20 |
|
21 | 21 |
# Roboclub RFID Card number |
22 |
rfid = models.DecimalField(max_digits=10, decimal_places=0, blank=True, default=0)
|
|
22 |
rfid = models.CharField(max_length=10, blank=True, default=0)
|
|
23 | 23 |
|
24 | 24 |
# Roboclub Shop Access Permissions |
25 |
machines = models.ManyToManyField(Machine) |
|
25 |
machines = models.ManyToManyField(Machine, blank=True, null=True)
|
|
26 | 26 |
|
27 | 27 |
# Cell Phone |
28 | 28 |
cell = models.DecimalField(max_digits=10, decimal_places=0, blank=True, null=True) |
Also available in: Unified diff