diff piecrust/admin/web.py @ 808:8f2d32f90095

admin: Don't have the static folder for the app collide with the blueprint's.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 17 Dec 2016 19:54:52 -0800
parents a9f4a6e60b0b
children 82509bce94ca
line wrap: on
line diff
--- a/piecrust/admin/web.py	Sat Dec 17 19:49:52 2016 -0800
+++ b/piecrust/admin/web.py	Sat Dec 17 19:54:52 2016 -0800
@@ -11,7 +11,7 @@
 
 
 def create_foodtruck_app(extra_settings=None):
-    app = Flask(__name__.split('.')[0])
+    app = Flask(__name__.split('.')[0], static_folder=None)
     app.config.from_object('piecrust.admin.settings')
     app.config.from_envvar('FOODTRUCK_SETTINGS', silent=True)
     if extra_settings: