Hi Trevor,

On Fri, Jan 21, 2011 at 1:47 PM, Trevor Stanley <h...@balancingact.me.uk>wrote:

> def get_fringe_value(self, fringe):


should be

def get_fringe_value(self):

I don't think you are using the local variable "fringe" anywhere in this
method, so you should get rid of it.

and


>       self.fringe_total = self.fringe_value
>

should be:

      self.fringe_total = self.fringe_value()

I'm not sure if that'll make the whole thing work, but it will fix the error
you received. You have to call the method somewhere along the line or it
won't get executed.

sean

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to