diff options
author | Marian Sigler <m@qjym.de> | 2012-09-21 00:54:08 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-21 00:54:08 +0200 |
commit | 5bcca89bbf51a907add9921c59e9ed14c57623d8 (patch) | |
tree | 3f704890b198eed3647808d5781a1b5e7497cc34 /app.py | |
parent | 4dddc4d5d2643c6f561a3f79b82aec16381a58d7 (diff) | |
download | web-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.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |