Cartridge v0.13.0 Release Notes
Release Date: 2018-06-15 // over 6 years ago-
- 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 indjango-1.10
. The following lines. in the release notes explain the change: > - Django template objects returned byget_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 athttps://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 indefault_tax_handler
because it doesn't seem. to serve any purpose. In every other instance I switched tosettings.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 theadd_arguments
method - rjewing - import
print_function
from future inproduct_db
- rjewing - Also document
PAYPAL_PASSWORD
required setting - jpic - Set
on_delete
in migrations - [email protected] - Update to latest settings - [email protected]
- Don't cache order complete views - [email protected]
- Support setting
Previous changes from v0.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
withdjango.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 aget_fields
method which makes this much. simpler. - Upgradedget_content_models
to mezzaninePage
's much simpler. version. Note that unlikePage
, uncustomizedProduct
'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.[mezzanine#1596](https://github.com/stephenmcd/mezzanine/pull/1596)
is merged - ryneeverett- Remove unneeded
jquery_ui
fromchange_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