summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 59de33fe..9bdfbd06 100644
--- a/main/models.py
+++ b/main/models.py
@@ -109,7 +109,7 @@ class AltForum(models.Model):
class Donor(models.Model):
id = models.AutoField(primary_key=True)
- name = models.CharField(max_length=255)
+ name = models.CharField(max_length=255, unique=True)
def __unicode__(self):
return self.name
class Meta: