diff options
author | xray7224 <xray7224@googlemail.com> | 2013-06-27 19:34:21 +0100 |
---|---|---|
committer | xray7224 <jessica@megworld.co.uk> | 2013-07-11 18:21:43 +0100 |
commit | c840cb66180a77e630c261c21967a6afc87411e9 (patch) | |
tree | 3dad5c560e4c0b8263d10857519b85f462078712 /mediagoblin/federation/routing.py | |
parent | 04e08d422ad179de881e4394b99f2231d1b65a90 (diff) | |
download | mediagoblin-c840cb66180a77e630c261c21967a6afc87411e9.tar.lz mediagoblin-c840cb66180a77e630c261c21967a6afc87411e9.tar.xz mediagoblin-c840cb66180a77e630c261c21967a6afc87411e9.zip |
Moves json_response into tools/json.py
Diffstat (limited to 'mediagoblin/federation/routing.py')
-rw-r--r-- | mediagoblin/federation/routing.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mediagoblin/federation/routing.py b/mediagoblin/federation/routing.py new file mode 100644 index 00000000..6a75628e --- /dev/null +++ b/mediagoblin/federation/routing.py @@ -0,0 +1,19 @@ +# GNU MediaGoblin -- federated, autonomous media hosting +# Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +from mediagoblin.tools.routing import add_route + +add_route("mediagoblin.federation", "/api/client/register", "mediagoblin.federation.views:client_register") |