diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-12-16 00:50:20 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-12-23 12:26:34 +0100 |
commit | 3d9143323019e0793451eac60eef8e55c09f6c47 (patch) | |
tree | fad24f3460af09c155d6c61909d54d5864919d51 /mediagoblin/edit | |
parent | 48cf435d718b47e33cb98b048e5b58d79a46b486 (diff) | |
download | mediagoblin-3d9143323019e0793451eac60eef8e55c09f6c47.tar.lz mediagoblin-3d9143323019e0793451eac60eef8e55c09f6c47.tar.xz mediagoblin-3d9143323019e0793451eac60eef8e55c09f6c47.zip |
Move things from routing.py to tools/routing.py
This stops a cyclic import.
Move add_route, mount and endpoint_to_controller into
tools/routing.py and change all callers.
Diffstat (limited to 'mediagoblin/edit')
-rw-r--r-- | mediagoblin/edit/routing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/edit/routing.py b/mediagoblin/edit/routing.py index 28b73d1e..3e6787d2 100644 --- a/mediagoblin/edit/routing.py +++ b/mediagoblin/edit/routing.py @@ -14,7 +14,7 @@ # 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.routing import add_route +from mediagoblin.tools.routing import add_route add_route('mediagoblin.edit.profile', '/edit/profile/', 'mediagoblin.edit.views:edit_profile') |