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 710B

1234567891011121314151617181920212223242526272829303132333435
  1. """
  2. Vanilla implementation of order models
  3. """
  4. from django.db import models
  5. from oscar.order.abstract_models import *
  6. from oscar.address.abstract_models import AbstractAddress, AbstractShippingAddress, AbstractBillingAddress
  7. class Order(AbstractOrder):
  8. pass
  9. class Batch(AbstractBatch):
  10. pass
  11. class ShippingAddress(AbstractShippingAddress):
  12. pass
  13. class BillingAddress(AbstractBillingAddress):
  14. pass
  15. class BatchLine(AbstractBatchLine):
  16. pass
  17. class BatchLinePrice(AbstractBatchLinePrice):
  18. pass
  19. class BatchLineEvent(AbstractBatchLineEvent):
  20. pass
  21. class BatchLineEventType(AbstractBatchLineEventType):
  22. pass
  23. class BatchLineAttribute(AbstractBatchLineAttribute):
  24. pass