Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/j/django-oscar-HEAD/sites/demo/apps/order/processing.py   django-oscar(Download)
    def calculate_amount_to_settle(
            self, event_type, order, lines, line_quantities):
        amt = self.calculate_payment_event_subtotal(
            event_type, lines, line_quantities)
        num_payments = order.payment_events.filter(