PageRenderTime 20ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/modeltests/user_commands/models.py

https://code.google.com/p/mango-py/
Python | 14 lines | 0 code | 0 blank | 14 comment | 0 complexity | d6207706f953eaf2ca5b3e2eca9f721f MD5 | raw file
 1"""
 238. User-registered management commands
 3
 4The ``manage.py`` utility provides a number of useful commands for managing a
 5Django project. If you want to add a utility command of your own, you can.
 6
 7The user-defined command ``dance`` is defined in the management/commands
 8subdirectory of this test application. It is a simple command that responds
 9with a printed message when invoked.
10
11For more details on how to define your own ``manage.py`` commands, look at the
12``django.core.management.commands`` directory. This directory contains the
13definitions for the base Django ``manage.py`` commands.
14"""