summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankitjavalkar2021-05-24 10:42:23 +0530
committerankitjavalkar2021-05-24 10:42:23 +0530
commitd810b64a8069e6f60fcc9a1ad12f4cec4b1e4dd2 (patch)
treef53b203fa795bb6d46ee83b5aed3ad6e6950268c
parente53b86c23c064d70f86494da503392a598559453 (diff)
downloadonline_test-d810b64a8069e6f60fcc9a1ad12f4cec4b1e4dd2.tar.gz
online_test-d810b64a8069e6f60fcc9a1ad12f4cec4b1e4dd2.tar.bz2
online_test-d810b64a8069e6f60fcc9a1ad12f4cec4b1e4dd2.zip
Increase character limit for user_ip field in Answerpaper model to support new IPv6 addresses
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
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(