Skip to content

Commit

Permalink
Edited docstring changes from [6480] -- moved the intense parameter d…
Browse files Browse the repository at this point in the history
…efinitions into comments

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Nov 30, 2007
1 parent 71dd90b commit 14eaaaf
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions django/core/management/base.py
Expand Up @@ -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 Copies either a Django application layout template or a Django project
layout template into the specified directory. 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 re
import shutil import shutil
other = {'project': 'app', 'app': 'project'}[app_or_project] other = {'project': 'app', 'app': 'project'}[app_or_project]
Expand Down

0 comments on commit 14eaaaf

Please sign in to comment.