Commits

Paola Coccia  committed 6f05148

Fix for #11 issue: Data truncated for cookie field in Vote model

  • Participants
  • Parent commits 6da48a8

Comments (0)

Files changed (1)

File ratings/models.py

 
     user = models.ForeignKey(User, blank=True, null=True, related_name='votes')
     ip_address = models.IPAddressField(null=True)
-    cookie = models.CharField(max_length=32, blank=True, null=True)
+    cookie = models.CharField(max_length=64, blank=True, null=True)
     created_at = models.DateTimeField(auto_now_add=True)
     modified_at = models.DateTimeField(auto_now=True)