diff options
author | Andrew Godwin | 2022-11-05 17:51:54 -0600 |
---|---|---|
committer | Andrew Godwin | 2022-11-05 17:51:54 -0600 |
commit | e44a321ec53bc84b5986ac0371b4122201fa3a5a (patch) | |
tree | b3a5c4b42e59ad912001cf51c39db494b78aa07d /statuses | |
parent | 57e33f1215ee28f557f2765ec7864c6741d61e26 (diff) | |
download | takahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.tar.gz takahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.tar.bz2 takahe-e44a321ec53bc84b5986ac0371b4122201fa3a5a.zip |
Get Actor fetching and parsing working
Diffstat (limited to 'statuses')
-rw-r--r-- | statuses/migrations/0001_initial.py | 2 | ||||
-rw-r--r-- | statuses/models/status.py | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/statuses/migrations/0001_initial.py b/statuses/migrations/0001_initial.py index 7b8eced..58a7d29 100644 --- a/statuses/migrations/0001_initial.py +++ b/statuses/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.1.3 on 2022-11-05 19:43 +# Generated by Django 4.1.3 on 2022-11-05 23:50 import django.db.models.deletion from django.db import migrations, models 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}/" |