summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-11-30 05:13:05 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-11-30 05:13:05 +0000
commit14eaaafef86d5acb5bf9162cb47a33fc7a976351 (patch)
tree9e3d0edc880c9d632694dcfecc6bc790a57e2cbf
parent71dd90b25d26e4d85b3b05fc4167eec154fffd7d (diff)
Edited docstring changes from [6480] -- moved the intense parameter definitions into comments
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/management/base.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py
index 0c458126e8..31c2849075 100644
--- a/django/core/management/base.py
+++ b/django/core/management/base.py
@@ -172,14 +172,13 @@ def copy_helper(style, app_or_project, name, directory, other_name=''):
"""
Copies either a Django application layout template or a Django project
layout template into the specified directory.
-
- * style - A color style object (see django.core.management.color).
- * app_or_project - The string 'app' or 'project'.
- * name - The name of the application or project.
- * directory - The directory to copy the layout template to.
- * other_name - When copying an application layout, this should be the name
- of the project.
"""
+ # style -- A color style object (see django.core.management.color).
+ # app_or_project -- The string 'app' or 'project'.
+ # name -- The name of the application or project.
+ # directory -- The directory to which the layout template should be copied.
+ # other_name -- When copying an application layout, this should be the name
+ # of the project.
import re
import shutil
other = {'project': 'app', 'app': 'project'}[app_or_project]