Project

General

Profile

Revision 75228955

ID75228955edee2ab4f199b69e8638523b340c1a0e
Parent 314bdec9
Child 7cc67b05

Added by Julian Binder over 11 years ago

changed model to allow for hex rfid cards

View differences:

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