Commit 3f766d44 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #25515 -- Documented the return value of BaseCommand.handle()

parent cb15ceb5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -300,6 +300,9 @@ the :meth:`~BaseCommand.handle` method must be implemented.

    The actual logic of the command. Subclasses must implement this method.

    It may return a Unicode string which will be printed to ``stdout`` (wrapped
    by ``BEGIN;`` and ``COMMIT;`` if :attr:`output_transaction` is ``True``).

.. method:: BaseCommand.check(app_configs=None, tags=None, display_num_errors=False)

    Uses the system check framework to inspect the entire Django project for