diff --git a/djangoldp_polls/models.py b/djangoldp_polls/models.py index 7be67b732c7d79087b9ee46955ccc61c5f686c6d..a68904fd704b100d46c4ebfac18467ff99bd1e9e 100644 --- a/djangoldp_polls/models.py +++ b/djangoldp_polls/models.py @@ -77,4 +77,7 @@ class Vote (Model): nested_fields = [] anonymous_perms = ['view','add','change'] authenticated_perms = ['inherit','add'] + + def __str__(self): + return self.chosenOption \ No newline at end of file