diff options
author | Jessica Tallon <zslrd@inboxen.co.uk> | 2013-09-04 19:34:29 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-07-22 23:13:15 +0100 |
commit | c894b4246a1211e7d8e63e7c51b8d7095482a10c (patch) | |
tree | a32e03ed0ef5be04868239f35cd5ee21404c6e4e /mediagoblin/db | |
parent | c434fc31c9b4195dabfb9c323bf13aca3337e5f9 (diff) | |
download | mediagoblin-c894b4246a1211e7d8e63e7c51b8d7095482a10c.tar.lz mediagoblin-c894b4246a1211e7d8e63e7c51b8d7095482a10c.tar.xz mediagoblin-c894b4246a1211e7d8e63e7c51b8d7095482a10c.zip |
Add basic comment support and flesh out some other endpoints
Diffstat (limited to 'mediagoblin/db')
-rw-r--r-- | mediagoblin/db/models.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index cc22450f..215e7552 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -445,15 +445,8 @@ class MediaEntry(Base, MediaEntryMixin): qualified=True ) - id = request.urlgen( - "mediagoblin.federation.object", - objectType=self.objectType, - uuid=self.slug, - qualified=True - ) - context = { - "id": id, + "id": self.id, "author": author.serialize(request), "displayName": self.title, "objectType": self.objectType, |