def title_renderer(value, field):
    return force_text(value).title()
Render a string in title case (capitalize every word).
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/renderers.py/title_renderer