您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

v1.6.rst 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =======================
  2. Oscar 1.6 release notes
  3. =======================
  4. :release: tbd
  5. Welcome to Oscar 1.6
  6. Table of contents:
  7. .. contents::
  8. :local:
  9. :depth: 1
  10. .. _compatibility_of_1.6:
  11. Compatibility
  12. -------------
  13. Oscar 1.6 is compatible with Django 1.8, 1.10 and 1.11 as well as Python 2.7,
  14. 3.3, 3.4, 3.5 and 3.6. Support for Django 1.9 is no longer officialy supported
  15. since it is longer supported by Django (end of life).
  16. .. _new_in_1.6:
  17. What's new in Oscar 1.6?
  18. ------------------------
  19. Removal of deprecated features
  20. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21. Minor changes
  22. ~~~~~~~~~~~~~
  23. .. _incompatible_in_1.6:
  24. Backwards incompatible changes in Oscar 1.6
  25. -------------------------------------------
  26. - ``oscar.apps.offer.models.ConditionalOffer`` now has a new flag
  27. ``exclusive`` to denote that the offer involved can not be combined on the
  28. same item on the same basket line with another offer.
  29. This flag is used by ``oscar.apps.basket.utils.LineOfferConsumer``, a facade
  30. that supercedes the old ``oscar.apps.basket.models.Line._affected_items`` counter,
  31. and replaces it with a more finegrained approach. This makes it possible to apply
  32. two distinct non-exclusive offers on the same basketline items, for example
  33. multiple distinct vouchers.
  34. A couple of methods on the basketline model have been extended with an
  35. optional ``offer`` argument, i.e. ``discount`` and ``consume``, so if you
  36. are using a customized basketline model, you have to update your methods'
  37. signatures.
  38. Dependency changes
  39. ------------------