X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;h=83aeeb4215a8fc15646cd22434c81635ea57b161;hb=0228487cc4e6709b29a1e34817513380f2cd4a72;hp=719b9d174cbfb82a16690cd3515f793a6b0a70d3;hpb=6c05b0fcd8cdaaeadc5de7c3d575dd3be88e43d4;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index 719b9d1..83aeeb4 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -97,3 +97,16 @@ DEFAULT_PATCHES_PER_PAGE = 100 DEFAULT_FROM_EMAIL = 'Patchwork ' ACCOUNT_ACTIVATION_DAYS = 7 + +# Set to True to enable the Patchwork XML-RPC interface +ENABLE_XMLRPC = False + +try: + from local_settings import * +except ImportError, ex: + import sys + sys.stderr.write(\ + ("settings.py: error importing local settings file:\n" + \ + "\t%s\n" + \ + "Do you have a local_settings.py module?\n") % str(ex)) + raise