Ticket #18060: 18060.diff

File 18060.diff, 509 bytes (added by smuss, 3 years ago)

documentation diff

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

    diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt
    index e0e0bed..ba8765b 100644
    a b look like this: 
    4545.. code-block:: python
    4646
    4747    from django.core.management.base import BaseCommand, CommandError
    48     from example.polls.models import Poll
     48    from polls.models import Poll
    4949
    5050    class Command(BaseCommand):
    5151        args = '<poll_id poll_id ...>'
Back to Top