summaryrefslogtreecommitdiff
path: root/tests/user_commands/models.py
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2013-02-26 09:53:47 +0100
committerFlorian Apolloner <florian@apolloner.eu>2013-02-26 14:36:57 +0100
commit89f40e36246100df6a11316c31a76712ebc6c501 (patch)
tree6e65639683ddaf2027908d1ecb1739e0e2ff853b /tests/user_commands/models.py
parentb3d2ccb5bfbaf6e7fe1f98843baaa48c35a70950 (diff)
Merged regressiontests and modeltests into the test root.
Diffstat (limited to 'tests/user_commands/models.py')
-rw-r--r--tests/user_commands/models.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/user_commands/models.py b/tests/user_commands/models.py
new file mode 100644
index 0000000000..f2aa549bb9
--- /dev/null
+++ b/tests/user_commands/models.py
@@ -0,0 +1,14 @@
+"""
+38. User-registered management commands
+
+The ``manage.py`` utility provides a number of useful commands for managing a
+Django project. If you want to add a utility command of your own, you can.
+
+The user-defined command ``dance`` is defined in the management/commands
+subdirectory of this test application. It is a simple command that responds
+with a printed message when invoked.
+
+For more details on how to define your own ``manage.py`` commands, look at the
+``django.core.management.commands`` directory. This directory contains the
+definitions for the base Django ``manage.py`` commands.
+"""