summaryrefslogtreecommitdiffstats
path: root/models.py
blob: a96cb82ce049deb5048fc31a1ed5d6c56a00854d (plain)
1
2
3
4
5
6
7
8
from django.db import models
from django.contrib.auth.models import User

class Rating(models.Model):
	list_address = models.CharField(max_length=50)
	messageid = models.CharField(max_length=100)
	user = models.ForeignKey(User)
	vote = models.SmallIntegerField()