About the Output of a Management Command
You can call a Django management command programmatically with call_command()
function. Check its output by passing a StringIO
instance as stdout
to it:
1 2 3 4 5 6 |
|
Tips and Tricks Programming Development Django 5.x Django 4.2 Django 3.2 Python 3
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.