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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 AbstractShippingAddress, AbstractBillingAddress
  7. class Order(AbstractOrder):
  8. pass
  9. class OrderNote(AbstractOrderNote):
  10. pass
  11. class CommunicationEvent(AbstractCommunicationEvent):
  12. pass
  13. class CommunicationEventType(AbstractCommunicationEventType):
  14. pass
  15. class Batch(AbstractBatch):
  16. pass
  17. class ShippingAddress(AbstractShippingAddress):
  18. pass
  19. class BillingAddress(AbstractBillingAddress):
  20. pass
  21. class BatchLine(AbstractBatchLine):
  22. pass
  23. class BatchLinePrice(AbstractBatchLinePrice):
  24. pass
  25. class ShippingEvent(AbstractShippingEvent):
  26. pass
  27. class ShippingEventType(AbstractShippingEventType):
  28. pass
  29. class PaymentEvent(AbstractPaymentEvent):
  30. pass
  31. class PaymentEventType(AbstractPaymentEventType):
  32. pass
  33. class BatchLineAttribute(AbstractBatchLineAttribute):
  34. pass