Author: gwilson
Date: 2007-10-13 11:38:19 -0500 (Sat, 13 Oct 2007)
New Revision: 6480
Modified:
django/trunk/django/core/management/base.py
Log:
Added docstring to `copy_helper` function.
Modified: django/trunk/django/core/management/base.py
===================================================================
--- django/trunk/django/core/management/base.py 2007-10-13 16:02:54 UTC (rev
6479)
+++ django/trunk/django/core/management/base.py 2007-10-13 16:38:19 UTC (rev
6480)
@@ -171,6 +171,17 @@
raise NotImplementedError()
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.
+ """
import django
import re
import shutil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---