Skip to content

Commit

Permalink
modified question field
Browse files Browse the repository at this point in the history
  • Loading branch information
darinkishore committed Oct 10, 2022
1 parent 096a513 commit 63bda68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __str__(self):

class Question(BaseModel):
document = models.ForeignKey("Document", on_delete=models.CASCADE, related_name="questions",
default=None, primary_key=True)
default=None)

# delimited string, split by question mark
question = models.TextField(default=None)
Expand Down

0 comments on commit 63bda68

Please sign in to comment.