From 254b465755f7ebfc1650730ac2d51bb33543a85c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 3 May 2021 00:52:51 +0100 Subject: git integration with Save this page --- settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 5579a07..a89f6ee 100644 --- a/settings.py +++ b/settings.py @@ -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 = '/' -- cgit v1.2.3