El Tue, 8 Jul 2008 09:15:36 -0700 (PDT) rocco_s <[EMAIL PROTECTED]> escribió:
> > Hi there, > > im very new at Django, and i have a little problem. > > Is there a way to do some calculation on generic views? > > Example: Ich have a table in the db with the columns "distance" and > "time", and i want to display an html-table with "distance", "time" > and "km/h" for each row. > How can i calculate this "km/h"? > > > r. > read this: http://www.b-list.org/weblog/2006/nov/16/django-tips-get-most-out-generic-views/ especially the "Getting more out of a generic view" part. Hope it helps. Hope it helps. -- P.U. Gonzalo Delgado <[EMAIL PROTECTED]> http://djangopeople.net/gonzalo/
pgpot6SShJfO3.pgp
Description: PGP signature