From 97202e429af1a6b614310cb220d27a51653643c1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 20 Mar 2010 14:02:38 -0500 Subject: Make rsync fields on mirrors optional I think I bumbled this up a while back, but make sure they aren't required and we use the empty string for all of those that don't provide a value. Fixes FS#18763. Signed-off-by: Dan McGee --- main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/models.py') diff --git a/main/models.py b/main/models.py index d129f4a7..0954f79d 100644 --- a/main/models.py +++ b/main/models.py @@ -67,8 +67,8 @@ class Mirror(models.Model): public = models.BooleanField(default=True) active = models.BooleanField(default=True) isos = models.BooleanField(default=True) - rsync_user = models.CharField(max_length=50, null=True) - rsync_password = models.CharField(max_length=50, null=True) + rsync_user = models.CharField(max_length=50, blank=True, default='') + rsync_password = models.CharField(max_length=50, blank=True, default='') notes = models.TextField(blank=True) def __unicode__(self): return self.name -- cgit v1.2.3-54-g00ecf