diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2012-02-17 20:04:11 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2012-02-17 20:04:11 +0000 |
| commit | 7981efe04fbdcd7d6d434e2306d4e3ed17a9f0e0 (patch) | |
| tree | 15ea2471bf7b2e27ed91f54519e132231aa0317e /docs/howto | |
| parent | 9fa536dc4f1b4c815ad21a28290bc5142d339cc1 (diff) | |
Documentation (and some small source code) edits from [17432] - [17537]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 1de256a169..e49e2b632a 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -9,9 +9,8 @@ command for the ``polls`` application from the :doc:`tutorial</intro/tutorial01>`. To do this, just add a ``management/commands`` directory to the application. -Each Python module in that directory will be auto-discovered. Modules having -names not starting with an underscore will be registered as commands that can be -executed as an action when you run ``manage.py``:: +Django will register a ``manage.py`` command for each Python module in that +directory whose name doesn't begin with an underscore. For example:: polls/ __init__.py |
