summaryrefslogtreecommitdiffstats
path: root/statuses/models
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-05 17:51:54 -0600
committerAndrew Godwin2022-11-05 17:51:54 -0600
commite44a321ec53bc84b5986ac0371b4122201fa3a5a (patch)
treeb3a5c4b42e59ad912001cf51c39db494b78aa07d /statuses/models
parent57e33f1215ee28f557f2765ec7864c6741d61e26 (diff)
downloadtakahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.tar.gz
takahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.tar.bz2
takahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.zip
Get Actor fetching and parsing working
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}/"