mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.10.x] Fixed #27739 -- Documented LabelCommand.label.
Backport of 44cce3ed00 from master
			
			
This commit is contained in:
		| @@ -365,6 +365,12 @@ the command line, and does something with each of them. | |||||||
| Rather than implementing :meth:`~BaseCommand.handle`, subclasses must implement | Rather than implementing :meth:`~BaseCommand.handle`, subclasses must implement | ||||||
| :meth:`~LabelCommand.handle_label`, which will be called once for each label. | :meth:`~LabelCommand.handle_label`, which will be called once for each label. | ||||||
|  |  | ||||||
|  | .. attribute:: LabelCommand.label | ||||||
|  |  | ||||||
|  |     A string describing the arbitrary arguments passed to the command. The | ||||||
|  |     string is used in the usage text and error messages of the command. | ||||||
|  |     Defaults to ``'label'``. | ||||||
|  |  | ||||||
| .. method:: LabelCommand.handle_label(label, **options) | .. method:: LabelCommand.handle_label(label, **options) | ||||||
|  |  | ||||||
|     Perform the command's actions for ``label``, which will be the string as |     Perform the command's actions for ``label``, which will be the string as | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user