2007-09-21 16:19:20 +00:00
|
|
|
"""
|
2007-12-01 21:18:45 +00:00
|
|
|
38. User-registered management commands
|
2007-09-21 16:19:20 +00:00
|
|
|
|
2008-08-12 14:15:38 +00:00
|
|
|
The ``manage.py`` utility provides a number of useful commands for managing a
|
2007-09-21 16:19:20 +00:00
|
|
|
Django project. If you want to add a utility command of your own, you can.
|
|
|
|
|
2008-08-12 14:15:38 +00:00
|
|
|
The user-defined command ``dance`` is defined in the management/commands
|
|
|
|
subdirectory of this test application. It is a simple command that responds
|
2007-09-21 16:19:20 +00:00
|
|
|
with a printed message when invoked.
|
|
|
|
|
2008-08-12 14:15:38 +00:00
|
|
|
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.
|
2007-09-21 16:19:20 +00:00
|
|
|
"""
|