summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-06 17:29:19 +0100
committerDan McGee <dan@archlinux.org>2010-03-06 17:29:19 +0100
commite676a22764527eef6f5168e0cad2e837faec7f2d (patch)
tree1cf7aeb72d9c4521b33e5e89eb8183a283ccfd9d /main/models.py
parent93e0552e3dcaa3b2feb82a5dddc0ae43d82eeee0 (diff)
downloadarchweb-e676a22764527eef6f5168e0cad2e837faec7f2d.tar.gz
archweb-e676a22764527eef6f5168e0cad2e837faec7f2d.tar.xz
Add mirror rsync credentials data
Allow this to be stored in the database for later use by an external generation script for the rsyncd secrets file. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index eff5579..3068154 100644
--- a/main/models.py
+++ b/main/models.py
@@ -68,6 +68,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, blank=True)
+ rsync_password = models.CharField(max_length=50, null=True, blank=True)
def __unicode__(self):
return self.name