changeset 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 4d0f80b2ba7f
children 22c6f6a3d0a0
files piecrust/admin/web.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: