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 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'