Changes between Version 1 and Version 2 of ClassBasedViews
- Timestamp:
- Oct 1, 2010, 6:45:18 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClassBasedViews
v1 v2 25 25 * '''Ease of decoration''': Does the proposed technique pose any impediments to easily decorating views? 26 26 27 The [http://groups.google.com/group/django-developers/browse_thread/thread/e23d9a5a58fe5891 most recent django-developers discussion on the topic] discussed many of the available options. Here is a summary of the various approaches that have been proposed. 27 === View instantiation and thread safety === 28 The [http://groups.google.com/group/django-developers/browse_thread/thread/e23d9a5a58fe5891 most recent django-developers discussion on the topic] discussed many of the available options on instantiating the views and protecting them from threading issues. Here is a summary of the various approaches that have been proposed. 28 29 29 30 === !__call!__() and copy() === … … 90 91 * Requires special cases in !UrlResolver which almost inevitably involve isinstance(!ViewClass) or some analog. 91 92 92 = Recommendation=93 === Recommendation === 93 94 94 95 Based on these discussions, plus in-person discussions at !DjangoCon.eu, !__copy!__() on !__call!__() appears to be a slight front runner, with !__new!__() as a close runner up. 96 97 == How to help == 98 99 Class-based views are being developed as a [http://github.com/bfirsh/django-class-based-views separate application on Github]. There are a few things yet to be done: 100 101 * A simple readme for getting started 102 * Testing it in real applications 103 * More test coverage 104 * Support for ModelForms that mimics the current generic views 105 * Full documentation 106 107 Fork the Github project if you want to help out.