parts/django/tests/modeltests/user_commands/models.py
changeset 69 c6bca38c1cbf
equal deleted inserted replaced
68:5ff1fc726848 69:c6bca38c1cbf
       
     1 """
       
     2 38. User-registered management commands
       
     3 
       
     4 The ``manage.py`` utility provides a number of useful commands for managing a
       
     5 Django project. If you want to add a utility command of your own, you can.
       
     6 
       
     7 The user-defined command ``dance`` is defined in the management/commands
       
     8 subdirectory of this test application. It is a simple command that responds
       
     9 with a printed message when invoked.
       
    10 
       
    11 For more details on how to define your own ``manage.py`` commands, look at the
       
    12 ``django.core.management.commands`` directory. This directory contains the
       
    13 definitions for the base Django ``manage.py`` commands.
       
    14 """