#6933: You cannot search with spaces if search_fields is declared with "^"
------------------------------------------------------------------+---------
          Reporter:  Martín Conte Mac Donell <[EMAIL PROTECTED]>  |         
Owner:  diafour                  
            Status:  new                                          |     
Milestone:                           
         Component:  Admin interface                              |       
Version:  newforms-admin           
        Resolution:                                               |      
Keywords:  nfa-someday yandex-sprint
             Stage:  Unreviewed                                   |     
Has_patch:  1                        
        Needs_docs:  0                                            |   
Needs_tests:  0                        
Needs_better_patch:  0                                            |  
------------------------------------------------------------------+---------
Changes (by diafour):

  * keywords:  nfa-someday => nfa-someday yandex-sprint
  * has_patch:  0 => 1

Comment:

 django-6933-0.diff patch gives ability to use search strings with spaces.

 You can define such strings with '"' (like google):

 'hey dud' interprets like qs.filter(field__startswith="Hey") &
 qs.filter(field__startswith("dud"))

 and '"hey dud"' interprets like qs.filter(field__startswith="hey dud")

 The algorithm is very basic and don't check a string for paired quotes. So
 '"hey dud' works like '"hey dud"'.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6933#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to