diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-02 18:47:42 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 19:31:10 -0400 |
| commit | b4002a214399d8619965f40e153ca3f7dcb20904 (patch) | |
| tree | 23379028aeb91cb892a62248edb1abaad1f91f46 /docs/howto | |
| parent | 6eed9ae747a0178de817da2e56bd09e73bee84ad (diff) | |
Refs #22835 -- Removed NoArgsCommand per deprecation timeline.
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index cc7653dd8e..ac89dd0ded 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -352,22 +352,6 @@ Rather than implementing :meth:`~BaseCommand.handle`, subclasses must implement Perform the command's actions for ``label``, which will be the string as given on the command line. -.. class:: NoArgsCommand - -.. deprecated:: 1.8 - - Use :class:`BaseCommand` instead, which takes no arguments by default. - -A command which takes no arguments on the command line. - -Rather than implementing :meth:`~BaseCommand.handle`, subclasses must implement -:meth:`~NoArgsCommand.handle_noargs`; :meth:`~BaseCommand.handle` itself is -overridden to ensure no arguments are passed to the command. - -.. method:: NoArgsCommand.handle_noargs(**options) - - Perform this command's actions - .. _ref-command-exceptions: Command exceptions |
