Browse Source

Fixed #18060 -- Corrected the import path of an example in custom management commands docs. Thanks smuss for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Claude Paroz 13 years ago
parent
commit
ea9dc9f4b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/howto/custom-management-commands.txt

+ 1 - 1
docs/howto/custom-management-commands.txt

@@ -45,7 +45,7 @@ look like this:
 .. code-block:: python
 
     from django.core.management.base import BaseCommand, CommandError
-    from example.polls.models import Poll
+    from polls.models import Poll
 
     class Command(BaseCommand):
         args = '<poll_id poll_id ...>'