def body_stripped(self, obj):
        if obj.body and len(obj.body)>100:
            return obj.body[:100] + ' [...]'
        return obj.body
dataset/ETHPy150Open stefanfoulis/django-database-email-backend/database_email_backend/admin.py/EmailAdmin.body_stripped/original