def get_display_title(self, obj):
        if len(obj.title) > 30:
            return obj.title[:-4] + ' ...'
        return obj.title
dataset/ETHPy150Open socketubs/sublimall-server/sublimall/notifications/admin.py/NotificationAdmin.get_display_title/original