'Returns balance'

def get_balance(self):

    bal = self.balance
    transactions = Transaction.objects.filter(account=self.id)
    for transaction in transactions:
        bal += transaction.get_relative_value()
    return bal
