Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

models.py 970B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. u"""Vanilla implementation of order models"""
  2. from django.db import models
  3. from oscar.order.abstract_models import *
  4. from oscar.address.abstract_models import AbstractShippingAddress, AbstractBillingAddress
  5. class Order(AbstractOrder):
  6. pass
  7. class OrderNote(AbstractOrderNote):
  8. pass
  9. class CommunicationEvent(AbstractCommunicationEvent):
  10. pass
  11. class CommunicationEventType(AbstractCommunicationEventType):
  12. pass
  13. class ShippingAddress(AbstractShippingAddress):
  14. pass
  15. class BillingAddress(AbstractBillingAddress):
  16. pass
  17. class Line(AbstractLine):
  18. pass
  19. class LinePrice(AbstractLinePrice):
  20. pass
  21. class LineAttribute(AbstractLineAttribute):
  22. pass
  23. class ShippingEvent(AbstractShippingEvent):
  24. pass
  25. class ShippingEventType(AbstractShippingEventType):
  26. pass
  27. class PaymentEvent(AbstractPaymentEvent):
  28. pass
  29. class PaymentEventType(AbstractPaymentEventType):
  30. pass
  31. class OrderDiscount(AbstractOrderDiscount):
  32. pass