How to create a voting model in Django?
<p>I have a model called posts which users can vote up. If the user has voted a post up, he/she can only vote it down after that. How do I implement this system?</p>

<p>My current models looks something like this:</p>

<pre><code>class Post(models.Model):
    title = models.CharField(max_length = 140)
    user = models.ForeignKey('Auth.user')
    votes = models.IntegerField(default = 0)
</code></pre>

<p>Is it better to make another model called Vote and link that up to Post, and if so, how do I do it in a way that will scale with a large number of users?</p>