Opened 10 years ago
Closed 10 years ago
#22974 closed Uncategorized (duplicate)
howto-custom-management-commands: manage.py is completely changed
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I don't know how to add a custom command based on all docs from 1.6 to present. manage.py looks completely different and does not display the command created under <app>/management/commands
Note:
See TracTickets
for help on using tickets.
Replying to anonymous:
I found the solution: there must be init.py files (empty) in both management and commands directories. The documents could state this better. Thanks