You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

models.py 242B

12345678
  1. from django.db import models
  2. from oscar.payment.abstract_models import AbstractSource, AbstractTransaction
  3. class Source(AbstractSource):
  4. num_transactions = models.IntegerField(default=0)
  5. class Transaction(AbstractTransaction):
  6. pass