Explain better what a link_id should look like
authorSverre Rabbelier <srabbelier@gmail.com>
Fri, 20 Mar 2009 23:21:45 +0000
changeset 1970 385ce0c25bd0
parent 1969 236f677c158c
child 1971 0b7f57c16fee
Explain better what a link_id should look like Patch by: Sverre Rabbelier
app/soc/models/linkable.py
--- a/app/soc/models/linkable.py	Fri Mar 20 23:21:21 2009 +0000
+++ b/app/soc/models/linkable.py	Fri Mar 20 23:21:45 2009 +0000
@@ -115,7 +115,8 @@
       verbose_name=ugettext('Link ID'))
   link_id.help_text = ugettext(
       'Link ID is used as part of various URL links throughout the site.'
-      ' Lower ASCII characters, digits, and underscores only.')
+      ' Lowercase ASCII characters, digits, and underscores only.'
+      ' The regexp used to validate is "%s".') % LINK_ID_PATTERN_CORE
 
   #: Optional Self Reference property to another Linkable entity which defines
   #: the "scope" of this Linkable entity. The back-reference in the Linkable