diff --git a/modules/django.py b/modules/django.py index 04b07dc..3a08ebd 100644 --- a/modules/django.py +++ b/modules/django.py @@ -383,6 +383,7 @@ def generate(param=None, make_copy=False): sys.exit(err_msg) print "django:generate make_copy : %s\n" % make_copy + print "django:generate script : %s" % param if env.debug: print "django:generate script : %s" % param print "django:generate make_copy : %s\n" % make_copy @@ -467,6 +468,17 @@ def generate_gunicorn(make_link=True): logger.debug('\n%s' % print_run(msg_link_gunicorn)) + from utils import upload_template as utils_upload_template + + upload_msg = utils_upload_template( + filename=configuration.templates.gunicorn.conf.src, + destination=build_path, + context=context, + use_jinja=True, use_sudo=False, backup=True, + template_dir=files_path, debug=True) + + logger.debug("upload_msg : %s" % upload_msg) + else: from fabric.contrib.files import upload_template