Commits

cla...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 7a90fa3

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

  • Participants
  • Parent commits a000846

Comments (0)

Files changed (1)

File docs/howto/custom-management-commands.txt

 .. 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 ...>'