Skip to content
Snippets Groups Projects
Commit b90d3737 authored by Christian Dresen's avatar Christian Dresen
Browse files

Update models.py

parent ac5e645e
No related branches found
No related tags found
No related merge requests found
......@@ -54,9 +54,9 @@ class TransactionLog(models.Model):
class UserCredit(models.Model):
uid = models.CharField(max_length=100,unique=True)
card_id = models.CharField(max_length=10, null=True) # Unique only with django 1.11
card_id = models.CharField(null=True, blank=True) # Unique only with django 1.11
credit = models.FloatField()
pinCode = models.CharField(max_length=100, null=True)
pinCode = models.CharField(max_length=100, blank=True, null=True)
def __str__(self):
return self.uid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment