X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5780495e13ec2d55bc2dee96dec372a9ea395462..1424bfacd82ffc238f90f1baa99388fc1ac9f2e7:/redakcja/settings/common.py?ds=sidebyside diff --git a/redakcja/settings/common.py b/redakcja/settings/common.py index 379f5b59..377a4d50 100644 --- a/redakcja/settings/common.py +++ b/redakcja/settings/common.py @@ -141,6 +141,8 @@ WL_API_CONFIG = { # Import localsettings file, which may override settings defined here +from localsettings import * + try: import logging if os.path.isfile(LOGGING_CONFIG_FILE): @@ -149,8 +151,5 @@ try: else: import sys logging.basicConfig(stream=sys.stderr) -except NameError: - print "No logging" - pass except ImportError as exc: raise