Re: Templates and method arguments for thumbnails

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 12:16 -0800, [EMAIL PROTECTED] wrote: > Hi, > > From the django documentation, it looks like it is not possible to > pass arguments to methods from the template HTML code. > > For example: > > class MyModel(Model): > def foo(self): > return 'This works' > > can be

Templates and method arguments for thumbnails

2008-11-15 Thread [EMAIL PROTECTED]
Hi, >From the django documentation, it looks like it is not possible to pass arguments to methods from the template HTML code. For example: class MyModel(Model): def foo(self): return 'This works' can be accessed by: {{ mymodel.foo }} in an HTML template. What I am trying to do,