From c784e3ac002361f85c93d3367a3189607ca64409 Mon Sep 17 00:00:00 2001 From: Christian Dresen <mail@christian-dresen.de> Date: Wed, 14 Jun 2017 18:19:47 +0000 Subject: [PATCH] Update models.py --- www/web/warppay/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/web/warppay/models.py b/www/web/warppay/models.py index 4d3a099..a009742 100644 --- a/www/web/warppay/models.py +++ b/www/web/warppay/models.py @@ -54,7 +54,7 @@ class TransactionLog(models.Model): class UserCredit(models.Model): uid = models.CharField(max_length=100,unique=True) - card_id = models.CharField(null=True, blank=True) # Unique only with django 1.11 + card_id = models.CharField(max_length=255, null=True, blank=True) # Unique only with django 1.11 credit = models.FloatField() pinCode = models.CharField(max_length=100, blank=True, null=True) -- GitLab