[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: avoid loading settings.py for compil
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: avoid loading settings.py for compilemessages |
Date: |
Mon, 02 Nov 2020 17:59:30 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new d98a333 avoid loading settings.py for compilemessages
d98a333 is described below
commit d98a333e8038731d55987ea3470dbbe56e864cfe
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 2 17:59:08 2020 +0100
avoid loading settings.py for compilemessages
---
manage.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/manage.py b/manage.py
index 4974cdf..5f694d8 100755
--- a/manage.py
+++ b/manage.py
@@ -4,7 +4,8 @@ import os
import sys
def main():
- os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'talerbank.settings')
+ if "compilemessages" not in sys.argv:
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'talerbank.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: avoid loading settings.py for compilemessages,
gnunet <=