Code

Changes between Version 4 and Version 5 of ClassBasedViews


Ignore:
Timestamp:
10/01/10 09:38:08 (4 years ago)
Author:
russellm
Comment:

Document why modifying urlresolver isn't viable.

Legend:

Unmodified
Added
Removed
Modified
  • ClassBasedViews

    v4 v5  
    103103Arguments against: 
    104104 * Requires special cases in !UrlResolver which almost inevitably involve isinstance(!ViewClass) or some analog. 
     105 * Decorators become extremely difficult to use; wrapping methods or __call__ on an uninstantiated class is hard. 
    105106 
    106107==== Recommendation ====