Django: Getting Started Transcripts
Chapter: Custom Django Commands
Lecture: Running the 'book' command
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
I'll start with no arguments at all and there you go. That's the command error exception. I can use help to find out more information.
0:15
Let me just scroll back again here. Note that you get the help text from the class and some help for the positional book IDs
0:25
and the --all command gets mixed in with the other options. You've got help on all parts of the command.
0:33
Let me scroll back down, and there's the --all. Now how about with the filter and there you go command line goodness.