Opened 9 years ago

Closed 9 years ago

#24261 closed Bug (worksforme)

Wrong example for custom options on custom management commands

Reported by: Felipe Arenhardt Tomaz Owned by: nobody
Component: Documentation Version: 1.7
Severity: Normal Keywords: documentation bug document
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the documentation page from custom management command [1], there is a example to use a custom option in the command, but has a argument action='store_true' that prevents proper operation

[1] https://docs.djangoproject.com/en/1.7/howto/custom-management-commands/

Change History (2)

comment:1 by Tim Graham, 9 years ago

What's the error? The example works for me.

comment:2 by Tim Graham, 9 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top