diff options
Diffstat (limited to 'releng')
-rw-r--r-- | releng/models.py | 4 | ||||
-rw-r--r-- | releng/views.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/releng/models.py b/releng/models.py index 5ee2f325..a7d3c337 100644 --- a/releng/models.py +++ b/releng/models.py @@ -142,11 +142,11 @@ class Release(models.Model): return "iso/%s/" % self.version def iso_url(self): - return "iso/%s/archlinux-%s-dual.iso" % (self.version, self.version) + return "iso/%s/parabola-%s-dual.iso" % (self.version, self.version) def magnet_uri(self): query = [ - ('dn', "archlinux-%s-dual.iso" % self.version), + ('dn', "parabola-%s-dual.iso" % self.version), ] if settings.TORRENT_TRACKERS: query.extend(('tr', uri) for uri in settings.TORRENT_TRACKERS) diff --git a/releng/views.py b/releng/views.py index ca0a7dd2..37f19273 100644 --- a/releng/views.py +++ b/releng/views.py @@ -234,7 +234,7 @@ def release_torrent(request, version): data = b64decode(release.torrent_data.encode('utf-8')) response = HttpResponse(data, content_type='application/x-bittorrent') # TODO: this is duplicated from Release.iso_url() - filename = 'archlinux-%s-dual.iso.torrent' % release.version + filename = 'parabola-%s-dual.iso.torrent' % release.version response['Content-Disposition'] = 'attachment; filename=%s' % filename return response |