• Email
  • Like
  • Save
  • Private Content
  • Embed

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Five class-based views everyone has written by now

by

  • 4,392 views

 

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

2 Embeds 261

http://lanyrd.com 209
http://olcomputey.com 52

Statistics

Likes
6
Downloads
19
Comments
1
Embed Views
261
Views on SlideShare
4,131
Total Views
4,392

11 of 1 previous next

  • jaylett James Aylett, Technologist, writer and improviser There's a (possibly) more Django idiomatic approach to the editing stuff (model formsets and the like) at http://pypi.python.org/pypi/django-extra-views by Andrew Ingram. The DetailListView concept I've pared down a little and submitted as an example to the Django documentation, so it may appear in some form there at some point. Permissions still waiting someone to do it nicely. It doesn't help that the 'official' way of doing decorators decorates the dispatch method, or decorates the entire class and both get magically applied to the generated view function…neither of which have access to the kinds of things we need to be able to implement a SingleObjectPermissionMixin. And we still don't have arbitrary raisable exceptions in Django yet. 1 year ago
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Five class-based views everyone has written by now Five class-based views everyone has written by now Presentation Transcript