Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Fixed issues_74 -- Added max_length to FindingForm first_name and last_name fields. #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions djangopeople/djangopeople/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ def __init__(self, *args, **kwargs):
'field': BoundField(self, field, 'im_' + shortname),
})

first_name = forms.CharField(label=_('First name'))
last_name = forms.CharField(label=_('Last name'))
first_name = forms.CharField(label=_('First name'), max_length=30)
last_name = forms.CharField(label=_('Last name'), max_length=30)
email = forms.EmailField(label=_('E-mail'))
blog = forms.URLField(label=_('Blog URL'), required=False)
privacy_search = forms.ChoiceField(
Expand Down