TZ-aware tag change date.
[wolnelektury.git] / apps / catalogue / models / collection.py
index 1c9027c..daee484 100644 (file)
@@ -23,3 +23,7 @@ class Collection(models.Model):
 
     def __unicode__(self):
         return self.title
+
+    @models.permalink
+    def get_absolute_url(self):
+        return ("collection", [self.slug])