#8952: Refactor a Django "site" to be just another view function
---------------------------+------------------------------------------------
 Reporter:  simon          |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:  djangocon      |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 At the moment middleware applies globally (unless you use the
 decorator_from_middleware hack). A Django powered site is essentially a
 thing that takes an HTTP request and returns an HTTP response. We should
 refactor things a bit so the highlest level of a Django site is just
 another view, which can compose bits of middleware and a URL dispatcher.
 This way Django applications end up composed of nested view functions, URL
 dispatchers and middleware which is really elegant. It won't be easy to do
 this due to lots of existing code expecting things to be how they are at
 the moment, but it's worth investigating.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8952>
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