Browse files

[1.7.x] Fixed #22942 -- Noted that files are required for…

… management command detection.

Thanks Diego Cerdán for the suggestion.

Backport of 54546ce from master
  • Loading branch information...
1 parent 5acb0a9 commit c379fc4eec885101ac30e0505f967048c869e630 @timgraham timgraham committed Jul 7, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/howto/custom-management-commands.txt
4 docs/howto/custom-management-commands.txt
@@ -26,6 +26,10 @@ directory whose name doesn't begin with an underscore. For example::
+On Python 2, be sure to include ```` files in both the
+``management`` and ``management/commands`` directories as done above or your
+command will not be detected.
In this example, the ``closepoll`` command will be made available to any project
that includes the ``polls`` application in :setting:`INSTALLED_APPS`.

0 comments on commit c379fc4

Please sign in to comment.