#12217: FlatpageFallbackMiddleware means view middleware is not applied
--------------------------+-------------------------------------------------
 Reporter:  carljm        |       Owner:  nobody    
   Status:  new           |   Milestone:            
Component:  Contrib apps  |     Version:  SVN       
 Keywords:                |       Stage:  Unreviewed
Has_patch:  0             |  
--------------------------+-------------------------------------------------
 If flatpages are installed according to the docs (that is, using
 FlatpageFallbackMiddleware), any view middleware installed will not affect
 flatpages (because the flatpage view is not called in the usual fashion
 via URLconf).

 It's not clear to me that this is a bug (it's perfectly logical once you
 realize what's happening), but it certainly can be a cause of confusing
 bugs ("why is this middleware I just installed not working on certain
 parts of my site?").

 Perhaps it's just something to note in the flatpages docs? I'll put
 together a patch if someone can confirm that's the best solution here.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12217>
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 django-upda...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=.


Reply via email to