summaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-21 00:54:08 +0200
committerMarian Sigler <m@qjym.de>2012-09-21 00:54:08 +0200
commit5bcca89bbf51a907add9921c59e9ed14c57623d8 (patch)
tree3f704890b198eed3647808d5781a1b5e7497cc34 /app.py
parent4dddc4d5d2643c6f561a3f79b82aec16381a58d7 (diff)
downloadweb-5bcca89bbf51a907add9921c59e9ed14c57623d8.tar.gz
web-5bcca89bbf51a907add9921c59e9ed14c57623d8.tar.bz2
web-5bcca89bbf51a907add9921c59e9ed14c57623d8.zip
add the flaskext_compat module
This is needed because changed the paths of flask extensions. flaskext_compat makes sure they can be imported both the old and new way.
Diffstat (limited to 'app.py')
-rw-r--r--app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.py b/app.py
index c43f0be..46e3729 100644
--- a/app.py
+++ b/app.py
@@ -1,4 +1,8 @@
# -*- coding: utf-8 -*-
+
+import flaskext_compat
+flaskext_compat.activate()
+
import os
from flask import Flask, request, redirect, url_for, flash, session
from utils import templated, login_required, encrypt_password, decrypt_password, login_user, logout_user