aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth/routing.py
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-10-14 20:05:44 +0200
committerJoar Wandborg <git@wandborg.com>2012-10-14 20:05:44 +0200
commit1ec7ff2adbb1821c5318b4e0a18194f441d7a87e (patch)
treee415ea2f74c48d04dd4a76a1b31ff19562948fc0 /mediagoblin/auth/routing.py
parent7742dcc1fbda04c3a1c76a057a1a93a8f504502e (diff)
downloadmediagoblin-1ec7ff2adbb1821c5318b4e0a18194f441d7a87e.tar.lz
mediagoblin-1ec7ff2adbb1821c5318b4e0a18194f441d7a87e.tar.xz
mediagoblin-1ec7ff2adbb1821c5318b4e0a18194f441d7a87e.zip
Fixed 404 page under werkzeug.routing
- Removed ?lang=<langcode> feature due to incompatibility with werkzeug routes in the current state of the architecture.
Diffstat (limited to 'mediagoblin/auth/routing.py')
-rw-r--r--mediagoblin/auth/routing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/auth/routing.py b/mediagoblin/auth/routing.py
index 58faa5a3..ee4b957a 100644
--- a/mediagoblin/auth/routing.py
+++ b/mediagoblin/auth/routing.py
@@ -14,7 +14,6 @@
# 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 routes.route import add_route
from mediagoblin.routing import add_route
add_route('mediagoblin.auth.logout',
@@ -36,9 +35,10 @@ add_route('mediagoblin.auth.verify_email', '/verify_email/',
add_route('mediagoblin.auth.resend_verification', '/resend_verification/',
'mediagoblin.auth.views:resend_activation')
+# XXX: Does this work?
add_route('mediagoblin.auth.resend_verification_success',
'/resend_verification_success/',
- template='mediagoblin/auth/resent_verification_email.html',
+ # template='mediagoblin/auth/resent_verification_email.html',
'mediagoblin.views:simple_template_render')
add_route('mediagoblin.auth.forgot_password', '/forgot_password/',