Permalink
Browse files

remove doc reference to VotableModel

  • Loading branch information...
1 parent 45f47c3 commit 53aa6dceade5a3c6549fe22ea87521482d3beb71 @jamesturk committed Oct 23, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 secretballot/models.py
View
@@ -11,7 +11,7 @@ class Vote(models.Model):
token = models.CharField(max_length=50)
vote = models.SmallIntegerField(choices=VOTE_CHOICES)
- # generic foreign key to a VotableModel
+ # generic foreign key to the model being voted upon
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = generic.GenericForeignKey('content_type', 'object_id')

0 comments on commit 53aa6dc

Please sign in to comment.