[SCM] live-studio branch, master, updated. be51da814fb12d25dce46a7f078a46f5c89bd777
Chris Lamb
lamby at debian.org
Fri Jul 30 02:52:34 UTC 2010
The following commit has been merged in the master branch:
commit 3a97e605aba21fd2f231e9a27862502ab2acea87
Author: Chris Lamb <lamby at debian.org>
Date: Wed Jul 28 17:36:30 2010 -0400
Add Config.get_absolute_url
Signed-off-by: Chris Lamb <lamby at debian.org>
diff --git a/live_studio_www/config/models.py b/live_studio_www/config/models.py
index 475b275..ac4d08f 100644
--- a/live_studio_www/config/models.py
+++ b/live_studio_www/config/models.py
@@ -79,3 +79,7 @@ class Config(models.Model):
def __unicode__(self):
return "%s: name=%s" % (self.user.username, self.name)
+
+ @models.permalink
+ def get_absolute_url(self):
+ return 'config:config', (self.pk,)
--
live-studio
More information about the debian-live-changes
mailing list