X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=apps%2Fsettings.py;h=83aeeb4215a8fc15646cd22434c81635ea57b161;hb=37daad345da4d72bf359c6fbde4eb225f6bf5994;hp=8b33182de5c09ea9ead42a247d70bc179ff946f9;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/apps/settings.py b/apps/settings.py index 8b33182..83aeeb4 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -94,6 +94,19 @@ INSTALLED_APPS = ( ) DEFAULT_PATCHES_PER_PAGE = 100 -PATCHWORK_FROM_EMAIL = 'Patchwork ' +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