Opened 11 years ago
Closed 11 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 , 11 years ago
comment:2 by , 11 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
What's the error? The example works for me.