2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 08:57:10 +00:00

git integration with Save this page

This commit is contained in:
Philip Sargent
2021-05-03 00:52:51 +01:00
parent 5a085ba7ba
commit 254b465755
3 changed files with 18 additions and 9 deletions

View File

@@ -24,6 +24,8 @@ print("* importing troggle/settings.py")
# default value, then gets overwritten by real secrets
SECRET_KEY = "not-the-real-secret-key-a#vaeozn0---^fj!355qki*vj2"
GIT = 'git' # command for running git
# Note that this builds upon the django system installed
# global settings in
# django/conf/global_settings.py which is automatically loaded first.
@@ -112,7 +114,7 @@ PENDING = ["2007-06", "2009-02",
"2018-pf-01", "2018-pf-02"]
APPEND_SLASH = False # never relevant because we have urls that match unknown files and produce an 'edit this page' response
SMART_APPEND_SLASH = True
SMART_APPEND_SLASH = True #not eorking as middleware different after Dj2.0
LOGIN_REDIRECT_URL = '/'