I am using python and django and like it a lot. But than i use it, I catch myself thinking what i do a lot of work to render result data and write specific actions for it. For example than i pass result set of objects to template i must render all data and write all possible actions such as sorting by columns,filtering,deletion,edit etc, for each of this i need to write code in urls.py and views.py, sometimes helps generic view but it s has poor functions. Is there some solutions to automate this work? i mean use some interface compontents (such as "model list renderer with column filter and pagination") to wich i need only "bind my model", all other routing work for drawing common interface action must be allready implemented in these components. i think i need something like configurable components for fast building html web interface for models (such as model forms do fast generation forms for models). What do you think can help in this case?
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...