From e03dd1c195f162b0475e75f30ec6fe7e51f2eea8 Mon Sep 17 00:00:00 2001
From: Dusty Phillips <buchuki@gmail.com>
Date: Fri, 24 Jul 2009 15:58:57 -0400
Subject: Allow setting allowed repos to empty.

---
 main/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'main')

diff --git a/main/models.py b/main/models.py
index 89ffb916..ebb0368d 100644
--- a/main/models.py
+++ b/main/models.py
@@ -30,7 +30,7 @@ class UserProfile(models.Model):
     picture = models.FileField(upload_to='devs', default='devs/silhouette.png')
     user = models.ForeignKey(
         User, related_name='userprofile_user', unique=True)
-    allowed_repos = models.ManyToManyField('Repo')
+    allowed_repos = models.ManyToManyField('Repo', blank=True)
     class Meta:
         db_table = 'user_profiles'
         verbose_name = 'Additional Profile Data'
-- 
cgit v1.2.3-2-g168b