updated help message
modified: modules/django.py
This commit is contained in:
parent
6c757d0343
commit
2c19ba589b
1 changed files with 6 additions and 1 deletions
|
|
@ -369,6 +369,11 @@ def generate_scripts(template_name, make_copy=False):
|
|||
|
||||
@task
|
||||
def generate(param=None, make_copy=False):
|
||||
"""
|
||||
param can be one of settings, local, wsgi
|
||||
make_copy must be set to True if you want it to actually do anthing
|
||||
"""
|
||||
|
||||
SCRIPT_LIST = ['settings', 'local', 'wsgi']
|
||||
PARAM_LIST = list(SCRIPT_LIST)
|
||||
PARAM_LIST.append('gunicorn')
|
||||
|
|
@ -384,6 +389,7 @@ def generate(param=None, make_copy=False):
|
|||
|
||||
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
|
||||
|
|
@ -396,7 +402,6 @@ def generate(param=None, make_copy=False):
|
|||
|
||||
if not param:
|
||||
# this is where script=None, generate all scripts
|
||||
|
||||
for scriptkey in SCRIPT_LIST:
|
||||
generate_scripts(scriptkey, make_copy)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue