summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 59de33f..9bdfbd0 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: