Merge lp:~cjohnston/summit/798826 into lp:summit

Proposed by Chris Johnston
Status: Merged
Approved by: Michael Hall
Approved revision: 124
Merged at revision: 124
Proposed branch: lp:~cjohnston/summit/798826
Merge into: lp:summit
Diff against target: 12 lines (+1/-1)
1 file modified
summit/schedule/fields.py (+1/-1)
To merge this branch: bzr merge lp:~cjohnston/summit/798826
Reviewer Review Type Date Requested Status
Michael Hall (community) Approve
Review via email: mp+65059@code.launchpad.net

Commit message

Displays information in the name field error message more clearly.

Description of the change

Changes the error message to show the required information more clearly.

To post a comment you must log in.
Revision history for this message
Michael Hall (mhall119) wrote :

Better, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'summit/schedule/fields.py'
2--- summit/schedule/fields.py 2011-04-13 18:16:00 +0000
3+++ summit/schedule/fields.py 2011-06-17 20:03:26 +0000
4@@ -38,7 +38,7 @@
5 'regex': r'^[a-z][a-z0-9-]*$',
6 'max_length': self.max_length,
7 'error_messages': {
8- 'invalid': _(u'Enter only alphanumerics and dashes.'),
9+ 'invalid': _(u'Enter only lowercase alphanumeric characters and dashes.'),
10 },
11 }
12 defaults.update(kwargs)

Subscribers

People subscribed via source and target branches