#317: [Patch] slugify delimits words by hyphens, but its validator doesn't like
them
---------------------------------------------+------------------------------
   Reporter:  hugo <[EMAIL PROTECTED]>              |                Owner:  
jacob        
     Status:  closed                         |            Component:  Generic 
views
    Version:  0.95                           |           Resolution:  fixed     
   
   Keywords:  slugs slug slugify validation  |                Stage:  Accepted  
   
  Has_patch:  1                              |           Needs_docs:  0         
   
Needs_tests:  0                              |   Needs_better_patch:  0         
   
---------------------------------------------+------------------------------
Changes (by anonymous):

  * has_patch:  0 => 1
  * version:  => 0.95
  * component:  Admin interface => Generic views
  * stage:  Unreviewed => Accepted

Comment:

 Replying to [ticket:317 hugo <[EMAIL PROTECTED]>]:
 > ''. words separated by underscores ("_") or hyphens ("-") in URLs.
 Google will treat "keyword-phrase" as "keyword phrase" and
 "keyword_phrase" as "keywordphrase.'' - google handles _ and -
 differently, where the - form usually is what the user needs. So the
 slugify code should just handle multi-word sentences by delimiting the
 slugified words by hyphens.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/317#comment:11>
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