#6213: PREPEND_WWW and APPEND_SLASH settings don't work with flatpages 
middleware
-------------------------------------+--------------------------------------
          Reporter:  esaj            |         Owner:  nobody                   
                       
            Status:  reopened        |     Milestone:                           
                       
         Component:  Core framework  |       Version:  SVN                      
                       
        Resolution:                  |      Keywords:  APPEND_SLASH PREPEND_WWW 
flatpages easy-pickings
             Stage:  Accepted        |     Has_patch:  1                        
                       
        Needs_docs:  0               |   Needs_tests:  0                        
                       
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by [EMAIL PROTECTED]):

 Replying to [comment:13 jacob]:
 > (In [8218]) Fixed #6213: flatpage view now correctly redirects if
 settings.APPEND_SLASH. Thanks, crankycoder.

 Changeset [8218] also causes flatpages to trigger redirect on all URLs
 that don't end with a slash and return 404 response, regardless whether
 any page exists.

 For example, if you have flatpage '/about/', flagpages are going to
 redirect '/about' -> '/about/', but also '/robots.txt' to '/robots.txt/'
 (if you don't have the file handled in urlconf), etc.

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