diff piecrust/admin/settings.py @ 935:7ecb946bfafd

admin: Lots of fixes for running the admin panel in a WSGI server. - Use new source APIs in the dashboard to open WIP files. - Fixed broken/outdated code in some views. - Fixed cases when Flask is not running at the root URL by using the `SCRIPT_NAME` variable somewhat more properly.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 04 Oct 2017 09:15:16 -0700
parents dcdec4b951a1
children 660250c95246
line wrap: on
line diff
--- a/piecrust/admin/settings.py	Wed Oct 04 09:11:58 2017 -0700
+++ b/piecrust/admin/settings.py	Wed Oct 04 09:15:16 2017 -0700
@@ -1,2 +1,1 @@
-FOODTRUCK_URL_PREFIX = '/pc-admin'
-
+FOODTRUCK_ROOT_URL = ''