From 7981efe04fbdcd7d6d434e2306d4e3ed17a9f0e0 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 17 Feb 2012 20:04:11 +0000 Subject: 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 --- docs/howto/custom-management-commands.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/howto') 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`. 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 -- cgit v1.3