core.management.LabelCommand

class LabelCommand

A management command which takes one or more arbitrary arguments (labels) on the command line, and does something with each of them.

Rather than implementing handle(), subclasses must implement handle_label(), which will be called once for each label.

doc_Django
2016-10-09 18:34:56
Comments
Leave a Comment

Please login to continue.