diff options
author | Jessica Tallon <xray7224@googlemail.com> | 2013-08-14 19:58:01 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-07-22 23:13:14 +0100 |
commit | 5b014a08661f718bd92971e71d173a0ea4b62c40 (patch) | |
tree | 9ec2b3793f8103b4f8bbc169aa802f77a19dfde7 /mediagoblin/federation | |
parent | c8bd2542d7b8face6033884fccfb898be1d12989 (diff) | |
download | mediagoblin-5b014a08661f718bd92971e71d173a0ea4b62c40.tar.lz mediagoblin-5b014a08661f718bd92971e71d173a0ea4b62c40.tar.xz mediagoblin-5b014a08661f718bd92971e71d173a0ea4b62c40.zip |
Add image URL's (thumb & full)
Diffstat (limited to 'mediagoblin/federation')
-rw-r--r-- | mediagoblin/federation/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/federation/views.py b/mediagoblin/federation/views.py index b3f63db5..3fe5b3b5 100644 --- a/mediagoblin/federation/views.py +++ b/mediagoblin/federation/views.py @@ -2,7 +2,7 @@ from mediagoblin.decorators import oauth_required from mediagoblin.db.models import User, MediaEntry from mediagoblin.tools.response import json_response -#@oauth_required +@oauth_required def user(request): """ Handles user response at /api/user/<username>/ """ user = request.matchdict["username"] @@ -39,7 +39,7 @@ def inbox(request): """ Handles the user's inbox - /api/user/<username>/inbox """ raise NotImplemented("Yet to implement looking up user's inbox") -#@oauth_required +@oauth_required def object(request): """ Lookup for a object type """ objectType = request.matchdict["objectType"] |