OOP Views for Django now on GitHub

This post was written on 2008/04/28 at 08:41:50 by Horst Gutmann

About a week ago I wrote about bringing some OOP into Django views and also posted some code for that. Since I use this in one project and want to move it also into some other project of mine, I've put this (together with some very simple pagination templatetag) into its own pluggable app and uploaded it github for everybody to slap me around for my coding style ;-)

So if you want to use this code, simply install the app available here (or just import the django_zsutils.utils.oopviews module).

Comments:

  • Arne Brodowski (Guest)

    Sometime ago I also implemented a solution, which uses classes for views. The motivation was slightly different, but maybe you want to have a look at it and tell me what you think: http://www.arnebrodowski.de/blog/488-Eine-andere-Moeglichkeit-GET-und-POST-in-Django-zu-verarbeiten.html

    April 29, 2008, 8:26 a.m.

*'d input fields are required.