summaryrefslogtreecommitdiffstats
path: root/statuses/models
diff options
context:
space:
mode:
Diffstat (limited to 'statuses/models')
-rw-r--r--statuses/models/status.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/statuses/models/status.py b/statuses/models/status.py
index 2e17a19..ac40806 100644
--- a/statuses/models/status.py
+++ b/statuses/models/status.py
@@ -1,3 +1,4 @@
+import urlman
from django.db import models
@@ -33,3 +34,6 @@ class Status(models.Model):
text=text,
local=True,
)
+
+ class urls(urlman.Urls):
+ view = "{self.identity.urls.view}{self.id}/"