From now, users can store their own "preferences" inside MailNG.
This commit is contained in:
tonio
2010-06-09 15:58:46 +02:00
parent 59fddd81d8
commit 1c35ce5757
32 changed files with 351 additions and 152 deletions
+6
View File
@@ -1,5 +1,11 @@
from django.db import models
from django.contrib.auth.models import User
class Parameter(models.Model):
name = models.CharField(max_length=255)
value = models.CharField(max_length=255)
class UserParameter(models.Model):
user = models.ForeignKey(User)
name = models.CharField(max_length=255)
value = models.CharField(max_length=255)