summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-06 10:34:04 -0600
committerDan McGee <dan@archlinux.org>2010-03-06 10:34:04 -0600
commit8cf1ee31aea233dfecc2adfa465c841e0a79d6b0 (patch)
treef0c658f56a2b166036b5d81ed95b923ca225e809 /main/models.py
parente676a22764527eef6f5168e0cad2e837faec7f2d (diff)
Kill rsync IP hostname field
This wasn't strictly necessary and was more hassle than it was worth. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/models.py b/main/models.py
index 30681543..45cb481c 100644
--- a/main/models.py
+++ b/main/models.py
@@ -94,11 +94,10 @@ class MirrorUrl(models.Model):
verbose_name = 'Mirror URL'
class MirrorRsync(models.Model):
- hostname = models.CharField(max_length=255)
ip = models.CharField(max_length=24)
mirror = models.ForeignKey(Mirror, related_name="rsync_ips")
def __unicode__(self):
- return "%s (%s)" % (self.ip, self.hostname)
+ return "%s" % (self.ip)
class Meta:
verbose_name = 'Mirror Rsync IP'