661
661
Running management commands from your code
662
662
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
666
666
Calls to management services in your code now need to use
667
667
``call_command``. For example, if you have some test code that calls flush and