'Debug printing of the complete important database content.'

def dump_db_status(self, message=u''):

    print(u'***    db    status    ***    {}'.format(message))
    from wiki.models import Article, ArticleRevision
    for klass in (Article, ArticleRevision, URLPath):
        print(u'*    {}    *'.format(klass.__name__))
        pprint.pprint(list(klass.objects.values()), width=240)
