diff options
Diffstat (limited to 'releng/models.py')
-rw-r--r-- | releng/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/releng/models.py b/releng/models.py index 9f091371..8bc54def 100644 --- a/releng/models.py +++ b/releng/models.py @@ -127,6 +127,9 @@ class Release(models.Model): def __unicode__(self): return self.version + def get_absolute_url(self): + return reverse('releng-release-detail', args=[self.version]) + def dir_path(self): return "iso/%s/" % self.version |