diff --git a/www/web/warppay/models.py b/www/web/warppay/models.py index 8c13af91e5cf9607dc5e8ec9f5a5c23e3f292655..4d3a099a5f5d09f5ae91d79d882cd0440923af3a 100644 --- a/www/web/warppay/models.py +++ b/www/web/warppay/models.py @@ -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