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.

v2.0.rst 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. =======================
  2. Oscar 2.0 release notes
  3. =======================
  4. :release: tbd
  5. Welcome to Oscar 2.0
  6. Table of contents:
  7. .. contents::
  8. :local:
  9. :depth: 1
  10. .. _compatibility_of_2.0:
  11. Compatibility
  12. -------------
  13. Oscar 2.0 requires Python 3.4 or higher.
  14. .. _new_in_2.0:
  15. What's new in Oscar 2.0?
  16. ------------------------
  17. Removal of deprecated features
  18. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. Minor changes
  20. ~~~~~~~~~~~~~
  21. - Dropped ``action=""`` and ``action="."`` attributes, following the lead of Django
  22. and as per the HTML5 specification.
  23. - Replaced use of Django's procedural auth views with the corresponding
  24. class-based views.
  25. - ``OrderPlacementMixin.get_message_context()`` is now passed a ``code`` argument
  26. specifying the communication event type code for a message being sent.
  27. - We've dropped the dependency on Unidecode due to license incompatibilities,
  28. ``oscar.core.utils.default_slugifier`` now uses ``oscar.core.utils.cautious_slugify``
  29. to handle unicode characters in slugs when ``OSCAR_SLUG_ALLOW_UNICODE`` is ``False``.
  30. - ``OSCAR_SLUG_FUNCTION`` previously accepted a function as its value. It now
  31. only accepts a dotted path to a function as its value. Such functions must
  32. also now take a ``allow_unicode`` kwarg.
  33. Dependency changes
  34. ------------------
  35. .. _deprecated_features_in_2.0:
  36. Deprecated features
  37. ~~~~~~~~~~~~~~~~~~~