Hanne Moa wrote: > I have a filter that makes django's json-dumps more human-readable, by > adding a newline after every occurence of "}},". Running such a filter > first would make for short and snappy lines for the rewriting filter: > > python manage.py dumpdata | prettifyjson | fixbooleans > postgres_safe.json
You could also prettify the JSON by just using: python manage.py dumpdata --indent=4 gav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---