1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257.

This commit is contained in:
Anton Samarchyan
2017-01-24 16:23:56 -05:00
committed by Tim Graham
parent afcf44c101
commit 3eb679a869
11 changed files with 225 additions and 266 deletions

View File

@@ -10,7 +10,7 @@ from django.utils.translation import gettext_lazy as _
def pretty_name(name):
"""Converts 'first_name' to 'First name'"""
"""Convert 'first_name' to 'First name'."""
if not name:
return ''
return name.replace('_', ' ').capitalize()