1
0
mirror of https://github.com/django/django.git synced 2025-03-14 03:10:45 +00:00

[1.9.x] Fixed #25515 -- Documented the return value of BaseCommand.handle()

Backport of 3f766d44c5ea000ecf47829ca565b1921dab2ac1 from master
This commit is contained in:
Tim Graham 2015-10-06 15:08:15 -04:00
parent 2f9bc99334
commit d81b0812d4

View File

@ -349,6 +349,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