Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added docstring to `copy_helper` function.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c142094ffbd7a79dbb68d54487a1d6380f20d73d 1 parent 300dcd6
Gary Wilson Jr. authored October 13, 2007

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  django/core/management/base.py
11  django/core/management/base.py
@@ -171,6 +171,17 @@ def handle_noargs(self, **options):
171 171
         raise NotImplementedError()
172 172
 
173 173
 def copy_helper(style, app_or_project, name, directory, other_name=''):
  174
+    """
  175
+    Copies either a Django application layout template or a Django project
  176
+    layout template into the specified directory.
  177
+    
  178
+    * style - A color style object (see django.core.management.color).
  179
+    * app_or_project - The string 'app' or 'project'.
  180
+    * name - The name of the application or project.
  181
+    * directory - The directory to copy the layout template to.
  182
+    * other_name - When copying an application layout, this should be the name
  183
+                   of the project.
  184
+    """
174 185
     import django
175 186
     import re
176 187
     import shutil

0 notes on commit c142094

Please sign in to comment.
Something went wrong with that request. Please try again.