From d810b64a8069e6f60fcc9a1ad12f4cec4b1e4dd2 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 24 May 2021 10:42:23 +0530 Subject: Increase character limit for user_ip field in Answerpaper model to support new IPv6 addresses --- yaksh/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaksh/models.py b/yaksh/models.py index fd48318..8e5562b 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -2230,7 +2230,7 @@ class AnswerPaper(models.Model): end_time = models.DateTimeField() # User's IP which is logged. - user_ip = models.CharField(max_length=15) + user_ip = models.CharField(max_length=255) # The questions unanswered questions_unanswered = models.ManyToManyField( -- cgit