Computer scienceBackendDjangoDjango fixes

Custom management commands

Theory

Commanding the Django orchestra

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Match each component of Django custom management commands with its purpose.
Match the items from left and right columns
BaseCommand
handle()
add_arguments()
management/commands/
self.stdout.write()
Directory where custom management command files should be placed
Method where the main logic of the command is implemented
Class to inherit from when creating a custom management command
Method used to display output messages in the command-line interface
Method used to define command-line arguments for the custom command

Create a free account to access the full topic