diff foodtruck/bcryptfallback.py @ 772:3885421c29a3

admin: Make the whole FoodTruck site into a blueprint. This makes it possible to use an app factory, which makes it easier to write unit tests.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 03 Jul 2016 07:54:54 -0700
parents 59968ee07a07
children
line wrap: on
line diff
--- a/foodtruck/bcryptfallback.py	Sun Jul 03 07:53:17 2016 -0700
+++ b/foodtruck/bcryptfallback.py	Sun Jul 03 07:54:54 2016 -0700
@@ -37,6 +37,9 @@
             self.generate_password_hash = generate_password_hash
             self.check_password_hash = check_password_hash
 
+        def init_app(self, app):
+            pass
+
     Bcrypt = SHA512Fallback