- Timestamp:
- 04/30/08 13:35:20 (23 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/plugins_internal/find_and_replace/find_and_replace.py
r1476 r1544 41 41 MAX_TERM_LEN = 150 42 42 43 class PreferencesForm(forms.Form): 44 min_term_len = forms.IntegerField( 45 help_text="Min length of a search term", 46 initial=2, min_value=1 47 ) 48 max_term_len = forms.IntegerField( 49 help_text="Max length of a search term", 50 initial=150, min_value=1, max_value=500 51 ) 52 43 53 44 54 # for FindReplaceForm ChoiceField … … 69 79 70 80 def find_and_replace(self): 81 self.page_msg("Preferences:", self.preferences) 82 71 83 context = {} 72 84 if self.request.method == 'POST':