On 12/18/05, Ferry Dave <[EMAIL PROTECTED]> wrote: > I'd like to write a base class with specific features for (almost) every > model in my app. It should provide several features, like db-fields for > "hidden", "show after date" with meta.admin configuration and modified > X_get_list-functions in views which take care of this fields values, only > returning e.g. non-hidden objects. > > Of course I don't want to cut'n paste this common features into every view > and model, especially into its meta.admin() part.
Hey Dave, Thanks for using Django. :) We're working right now on a "magic-removal" branch, which will make this easier by letting you override the standard get_list(), etc., functions. See this page for more information on the changes: http://code.djangoproject.com/wiki/RemovingTheMagic Stay tuned for more information on when those changes will be made a bona-fide part of Django. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org