mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 12:18:45 -05:00
search form and help doc
This commit is contained in:
@@ -749,13 +749,12 @@ def nameSearchField():
|
||||
class SearchPreference(models.Model, PermissionModelMixin):
|
||||
# Search Style (validation parsleyjs.org)
|
||||
# phrase or plain or raw (websearch and trigrams are mutually exclusive)
|
||||
SIMPLE = 'SIMPLE'
|
||||
PLAIN = 'PLAIN'
|
||||
PHRASE = 'PHRASE'
|
||||
WEB = 'WEBSEARCH'
|
||||
RAW = 'RAW'
|
||||
SIMPLE = 'plain'
|
||||
PHRASE = 'phrase'
|
||||
WEB = 'websearch'
|
||||
RAW = 'raw'
|
||||
SEARCH_STYLE = (
|
||||
(PLAIN, _('Plain')),
|
||||
(SIMPLE, _('Simple')),
|
||||
(PHRASE, _('Phrase')),
|
||||
(WEB, _('Web')),
|
||||
(RAW, _('Raw'))
|
||||
|
||||
Reference in New Issue
Block a user