add import for custom local settings

This commit is contained in:
Ronny Abraham 2019-02-11 23:50:30 +02:00
parent 54654dbf4c
commit 0211723fe9
3 changed files with 8 additions and 4 deletions

View file

@ -5,8 +5,8 @@ import sys
import os
import logging
from utils import virtualenv_source, virtualenv
from utils import print_console, printerr
from .utils import virtualenv_source, virtualenv
from .utils import print_console, printerr
ERROR_BAD_BRANCH_PARAM = -3
ERROR_BAD_PARAM = -2
@ -230,8 +230,8 @@ def copyto(branch):
configuration.virtualenv.requirements.local,
branch_config.virtualenv.requirements.filename)
print "current_local_path: %s" % current_local_path
print "branch_local_path: %s" % branch_local_path
print("current_local_path: %s" % current_local_path)
print("branch_local_path: %s" % branch_local_path)
message = "Copying file from current branch '{branch_src}' to " \
"destination branch '{branch_dst}'. Continue? Y/n ".format(

View file

@ -134,3 +134,5 @@ LOGGING = {
}
}
# import this AFTER all the above
from {{ project_name }}._settings.{{ project_branch }}_custom import *

View file

@ -134,3 +134,5 @@ LOGGING = {
}
}
# import this AFTER all the above
from {{ project_name }}._settings.{{ project_branch }}_custom import *