Cartridge

Latest version: v1.3.4

Safety actively analyzes 701809 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 13

1.0.0b1

----------------------------

Breaking changes:
* Refactor codebase to Python 3.7+.
Python 2 and Python 3 before 3.7 are not supported anymore.
* Refactor to Django 2.2+.
Supported Django versions are 2.2, 3.2 and 4.0.
* Refactor to Mezzanine 5.1.3+.
* Remove deprecated ``shop_globals`` context processor.
* Remove deprecated ``SHOP_CHECKOUT_FORM_CLASS`` setting check.
* Remove check for obsolete ``shop/email/`` directory.

Fixes:
* Make ``SHOP_ORDER_EMAIL_SUBJECT`` translatable.
* Fix invoice links in admin (from ``https://github.com/fermorltd/cartridge/pull/2``).
* Fix image link to model-graph in the docs.
* Load magnific-popup only if ``mezzanine.galleries`` is installed.

Other:
* Refactor the build chain similar to Mezzanine 5 to use setup.cfg instead of setup.py.
* Use black, isort, pyupgrade and flake8 for styling and linting.
* Use GitHub Actions instead of Travis as Ci.
* Use Pytest for testing and coverage.
* Use semantic-release-action for releases.
* Remove ``requirements.txt`` from template folder.
* Improve ORM check for existence of product.
* Fix styling.

0.13.0

-----------------------------

* Support setting ``SHOP_PRODUCT_SORT_OPTIONS`` = (). - If empty, sort category pages by the current default ``'-date_added'`` by. default. - If empty, don't display the product sorting form - ryneeverett
* Use dict for context. Fix invoices in ``django-1.10``. The invoice view raises a TypeError in ``django-1.10``. The following lines. in the release notes explain the change: > - Django template objects returned by ``get_template()`` and. > ``select_template()`` no longer accept a Context in their render() method. > - Template response APIs enforce the use of dict and backend-dependent. > template objects instead of Context and Template respectively - ryneeverett
* Purge ``SHOP_USE_PRODUCT_TYPES`` settings. As AlexHill pointed out, it's risky, complex, and not useful - ryneeverett
* Use new ``ContentTyped.set_content_model`` method - ryneeverett
* Update ``project_template`` media library setting. See. ``https://github.com/ryneeverett/mezzanine/commit/7370cb2854fdbc2f45d7533a02218bf49cff619f`` - ryneeverett
* Remove deprecated ``SHOP_CHECKOUT_FORM_CLASS`` docs - ryneeverett
* Update travis to test against ``django-1.10``. (310). See discussion at ``https://github.com/stephenmcd/cartridge/pull/306`` - ryneeverett
* Fix "Resend Order Email" button on complete view. It currently 404's because the user isn't logged in. Surely I'm missing. something here. Both the `login_required` decorator and the button on. the completion page were present in the initial commit of this view - ryneeverett
* Remove usages of deprecated ``settings.use_editable``. I removed the instance in `default_tax_handler` because it doesn't seem. to serve any purpose. In every other instance I switched to `settings.clear_cache`. I don't. know if this is actually necessary in every case but caution suggests. not changing things one doesn't understand - ryneeverett
* Fix another comma splice - ryneeverett
* Delete cart on last cart item removed - David Sanders
* 317 : use ``static_lazy`` instead of static (318) - Julien Lirochon
* update ``product_db.py`` to django 1.10. in Django 1.10, ``BaseCommand.option_list`` was removed in favor of. overriding the ``add_arguments`` method - rjewing
* import ``print_function`` from future in ``product_db`` - rjewing
* Also document ``PAYPAL_PASSWORD`` required setting - jpic
* Set ``on_delete`` in migrations - stevejupo.org
* Update to latest settings - stevejupo.org
* Don't cache order complete views - stevejupo.org

0.12.0

-----------------------------

* Document built-in payment handlers - ryneeverett
* Remove nesting of context objects. The same as ``https://github.com/stephenmcd/mezzanine/pull/1520``. Tested with custom project - Henri Hulski
* Wrap invoice PDF call with ``HAS_PDF`` in case pisa None - Sam Kingston
* Replace render() with TemplateResponse(). Replaces `mezzanine.utils.views.render` with `django.template.response.TemplateResponse` as it is deprecated in Mezzanine - Henri Hulski
* Fix for broken carts on expiration - David Sanders
* Compatibility with modern django. - The new ``_meta`` API doesn't include subclass fields in the "fields". attribute, but it provides a `get_fields` method which makes this much. simpler. - Upgraded ``get_content_models`` to mezzanine `Page`'s much simpler. version. Note that unlike `Page`, uncustomized `Product`'s are still. valid. - Switch from adminmedia to staticfiles. - The first template found in the list gets rendered, so we need to. prepend the optional custom product template - ryneeverett
* ``ModelAdmin.in_menu`` -> ``has_module_permission``. This makes the branch compatible with Mezzanine master, now that. ``[mezzanine1596](https://github.com/stephenmcd/mezzanine/pull/1596)`` is merged - ryneeverett
* Remove unneeded ``jquery_ui`` from ``change_list.html`` - ryneeverett
* Use Mezzanine's custom content types mixins - ryneeverett
* Type dropdown js is now in ``content_typed.html`` - ryneeverett
* Fix payment handler docs code blocks - ryneeverett
* ``Content_typed`` namespace was removed from mezzanine - ryneeverett
* Define min value for cart item quantity field. Closes 299 - Stephen McDonald
* Don't override keywords string in product admin. Closes 301 - Stephen McDonald
* ``django.template.context_processors`` is removed in Django 1.10 - Stephen McDonald
* Prevent Django 1.10 from adding HTML5 required attribute to order form, which causes it to fail - Stephen McDonald

0.11.0

-----------------------------

* Update excluded files in package build - Stephen McDonald
* Allow propagation of additional constructor arguments. for ``cartridge.shop.forms.OrderForm`` descendants - David Unric
* Limit shop category page processor to exact page - David Sanders
* Add database indexing to ``order.key`` - David Sanders
* Update contributing section to reflect ``project_template`` layout - David Sanders
* Change SKU uniqueness constraint to be per site - Stephen McDonald
* Resolve css/js Media paths using static templatetag - David Sanders
* Change the initial migration so that ``Order.status`` references ``settings.SHOP_ORDER_STATUS_CHOICES``, rather than the literal values - Chris Trengove
* Changed reference in ``initial_form_data`` to ``form_class`` - ChrisKuper
* Fix other instances of checkout not using custom form class - Stephen McDonald
* Add support for Python 3.5 in trove classifiers and travis build - Sam Kingston
* Update checkout JS for Universal Analytics - Alex Hill
* Update to latest ``settings.py`` code from Mezzanine - Stephen McDonald
* Update from deprecated features of urlpatterns - Stephen McDonald
* Update Django/Python versions in travis config - Stephen McDonald
* Added missing context update for cart view ``extra_context`` - Kelvin Wong
* Run shipping/tax handlers on every checkout step, since hidden address fields could be modified on any step - Stephen McDonald

0.10.0

-----------------------------

* Replace removed mimetype argument to HttpResponse. The ``mimetype`` argument to HttpResponse has been removed in Django 1.7 after the standard deprecation cycle. Its ``content_type`` has been available as an alias from 1.4, so changing it should be fine - Alex Hill
* Upgrade to latest Mezzanine bits in ``project_template's`` ``settings.py`` - Stephen McDonald
* Clean up styling of front-end order history - Stephen McDonald
* Use POST request for order email from order history page. Closes 209 - Stephen McDonald
* Added support for handling both South and Django 1.7 migrations - Stephen McDonald
* Ensure ProductImage deletion does not delete variations - averagehuman
* Updated ``setup.py`` from Mezzanine - Stephen McDonald
* Remove depth arg from ``select_related`` calls, which is no longer used in Django 1.7. Closes 211 - Stephen McDonald
* Handle installing initial data with Django 1.7's syncdb signals - Stephen McDonald
* Define ``ProductAdminForm.exclude`` for Django 1.8 - Stephen McDonald
* Hide PDF invoice buttons in admin when xhtml2pdf not installed. Closes 214 - Stephen McDonald
* Fix currency symbol on Windows with alternate encodings. Closes 215 - Stephen McDonald
* Remove EmptyCart, use unsaved Cart instead - Alex Hill
* Call ``cart.save()`` in ``add_item()`` if necessary - Alex Hill
* Bind cart to session in ``recalculate_cart`` - Alex Hill
* Revert changes to cart view - Alex Hill
* Added string format method. 218 - Kulbir
* Latest Django patch releases in travis config - Stephen McDonald
* Remove import of Cart in CartManager - Alex Hill
* French po fix for strings :1 item:Wishlist contains 1 item , mo rebuilt - Steve Murphy
* Attempt to fix build, closes 222 - Fernando Macedo
* Remove initial data setup - this needs to incorrectly go in Mezzanine since Django's new migrations signals don't provide a ``created_models`` arg - Stephen McDonald
* Added migrations for changed ``_order`` and image fields - Stephen McDonald
* Allow order email resend view to correctly redirect, even when requested via GET. Closes 225 - Stephen McDonald
* Remove Django versions from travis config that Mezzanine no longer supports - Stephen McDonald
* Account for ``cartridge.shop`` being after ``mezzanine.pages`` in the template rendering pipeline - Mathias
* Change models ``__unicode__`` into ``__str__`` - Mathias
* Migrations for Django 1.8 - Alex Hill
* Explicitly set email field ``max_length=254`` - Alex Hill
* Update Django/Python versions to test against, in line wiht Mezzanine for next release - Stephen McDonald
* Remove all support for South in favour of Django >= 1.7 migrations - Stephen McDonald
* Remove any handling for Django < 1.7 - Stephen McDonald
* Suggest using Mezzanine master during development - Alex Hill
* Updated email address for security issues - Stephen McDonald
* Add ``CHECKOUT_STEP_PAYMENT`` to checkout view context - David Sanders
* Add object-tools-items block to order admin template - David Sanders
* Better use of object-tools-items block in Order admin template - David Sanders
* Fix add/edit checks in order admin for pdf/email links - Stephen McDonald
* Catch up from ``mezzanine.project_template.urls`` - Mathias
* Consistent image manipulations in the admin - Mathias
* Added ``block.super`` call to ``extra_head`` block. It's the only ``extra_*`` block without a ``block.super`` call - David Sanders
* Add ``extra_context`` kwarg to all views - David Sanders
* Drop ``locale.currency`` workaround for Python 2.4 - David Sanders
* Added migration for new ``publish_date`` db index from Mezzanine's Displayable - Stephen McDonald
* Refactor ``CartManager.from_request`` to use update - David Sanders
* Avoid extra DB dip in cart template - David Sanders
* Add a test to fail when Cart changes - Alex Hill
* Improve comments in ``CartManager.from_request()`` - Alex Hill
* Change ``set_locale`` to only catch ``locale.Error`` - David Sanders
* Make ``SHOP_CURRENCY_LOCALE`` non-editable, since it's required at import time - Stephen McDonald
* Fix ``authorize.net`` for python3 - Sergey Maranchuk
* use OrderedDict in ``admin.py``, ``managers.py`` - slav0nic
* fix 258: ``shipping_fields.js`` is broken starting from jquery 1.9 - Sergey Maranchuk
* Upgrade project template to Mezzanine 4.0 - Stephen McDonald
* Restore 'shop' section in ``ADMIN_MENU_ORDER`` example in ``settings.py`` - Stephen McDonald
* Bump required Mezzanine version, and Python version classifiers - Stephen McDonald

0.9.5

----------------------------

* Add tax type label to the order receipt. Closes 194 - Stephen McDonald
* Nicer alignment of labels for order totals in cart display - Stephen McDonald
* Add a comment for the str() call. Comment explains that the str() call fixes issue 195 - Emlyn Clay
* Bring Cartridge in line with Mezzanine's profile changes - Alex Hill
* Handle ``verbose_name`` as a keyword arg on SKUField. Closes 198 200 - Stephen McDonald
* Fix checkout pre-population from profile model - Stephen McDonald
* Add support for testing via setuptools using Mezzanine's bits - Stephen McDonald
* Update travis config to test via setuptools - Stephen McDonald
* Updated development setup instructions for contributing - Stephen McDonald
* Better explansion example in dev setup docs - Stephen McDonald

Page 5 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.