Patrick Samson avatar Patrick Samson committed 7d411a2

Avoid the 'Enter text to search.' help text imposed in version 1.2.5 of ajax_select

Comments (0)

Files changed (4)

 # built documents.
 #
 # The short X.Y version.
-version = '2.1'
+version = '2.2'
 # The full version, including alpha/beta/rc tags.
-release = '2.1.1'
+release = '2.2.0a1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

postman/__init__.py

 from __future__ import unicode_literals
 
 # following PEP 386: N.N[.N]+[{a|b|c|rc}N[.N]+][.postN][.devN]
-VERSION = (2, 1, 1)
-PREREL = ()
+VERSION = (2, 2, 0)
+PREREL = ('a', 1)
 POST = 0
 DEV = 0
 
 
 class WriteForm(BaseWriteForm):
     """The form for an authenticated user, to compose a message."""
-    recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")))
+    # specify help_text only to avoid the possible default 'Enter text to search.' of ajax_select v1.2.5
+    recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), help_text='')
 
     class Meta(BaseWriteForm.Meta):
         fields = ('recipients', 'subject', 'body')
     can_overwrite_limits = False
 
     email = forms.EmailField(label=_("Email"))
-    recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), max=1)  # one recipient is enough
+    recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), help_text='', max=1)  # one recipient is enough
 
     class Meta(BaseWriteForm.Meta):
         fields = ('email', 'recipients', 'subject', 'body')
 class FullReplyForm(BaseReplyForm):
     """The complete reply form."""
     if allow_copies:
-        recipients = CommaSeparatedUserField(label=(_("Additional recipients"), _("Additional recipient")), required=False)
+        recipients = CommaSeparatedUserField(
+            label=(_("Additional recipients"), _("Additional recipient")), help_text='', required=False)
 
     class Meta(BaseReplyForm.Meta):
         fields = (['recipients'] if allow_copies else []) + ['subject', 'body']
     Usual generic tests.
     """
     def test_version(self):
-        self.assertEqual(sys.modules['postman'].__version__, "2.1.1")
+        self.assertEqual(sys.modules['postman'].__version__, "2.2.0a1")
 
 
 class BaseTest(TestCase):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.