diff options
Diffstat (limited to 'parts/django/tests/modeltests/user_commands/models.py')
-rw-r--r-- | parts/django/tests/modeltests/user_commands/models.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/parts/django/tests/modeltests/user_commands/models.py b/parts/django/tests/modeltests/user_commands/models.py new file mode 100644 index 0000000..f2aa549 --- /dev/null +++ b/parts/django/tests/modeltests/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. +""" |