About Pretty Printing to Stdout
In your Django management commands, you can pprint
an object to stdout
by passing stdout._out
as the stream
parameter:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
Tips and Tricks Programming Django 4.2 Django 3.2 Django 2.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.