aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/listings/routing.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-16 00:50:20 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-23 12:26:34 +0100
commit3d9143323019e0793451eac60eef8e55c09f6c47 (patch)
treefad24f3460af09c155d6c61909d54d5864919d51 /mediagoblin/listings/routing.py
parent48cf435d718b47e33cb98b048e5b58d79a46b486 (diff)
downloadmediagoblin-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/listings/routing.py')
-rw-r--r--mediagoblin/listings/routing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/listings/routing.py b/mediagoblin/listings/routing.py
index d25f1c8c..e5683168 100644
--- a/mediagoblin/listings/routing.py
+++ b/mediagoblin/listings/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.listings.tags_listing',
"/tag/<string:tag>/",