Created
December 31, 2019 11:10
-
-
Save nwoow/51e7892ed4b2ae166415a0f2cea4a9bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Survey(models.Model): | |
| question_name = models.TextField() | |
| question_answer = models.CharField(max_length=300,null=True, blank=True) | |
| user_id = models.CharField(max_length=200,null=True, blank=True) | |
| session_id = models.CharField(max_length=200) | |
| data = JSONField(null=True, blank=True) | |
| created = models.DateTimeField(auto_now_add=True) | |
| def __str__(self): | |
| return self.question_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment