This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
Releases: dinoperovic/django-shopit
Releases · dinoperovic/django-shopit
0.5.2
0.5.1
- Drop
Django 1.10
support. - In
ProductDetailView
, check for renderer format before adding django-cms menu related items. - Remove
PhoneNumberField
from the project, use simpleCharField
instead. - Lock requirements.
0.5.0
- Rename package from
djangoshop-shopit
todjango-shopit
.
0.4.3
- Fix encoding error in product admin
get_name
method. - Add
phonenumbers
library to requirements.
0.4.2
0.4.1
- Small fixes in admin.
- Fix indentation in admin help text for
djangocms-admin-style
. - Refactor tests.
Support for djangoSHOP 0.12.x
- Add support for Django 1.11 & DjangoSHOP 0.12.x.
- Handle tousand separator when displaying money in admin.
- Add ability to pass in
order_number
toorder
templatetag. - Add
num_uses
to list display for Discount Code. - After order was populated with cart data, delete discount codes.
- Add ability to send
validate
key when updating the cart via POST. In which
case the promo code gets validated without applying it to cart. - Add setting
SHOPIT_DEFAULT_PRODUCT_ORDER
to control default ordering of products. - Add ability to override
ProductSerializer
fields through thefields
GET property. - Add
attribute_choices
to product serializer fields. - Add
template
field to Flag model, adn aSHOPIT_FLAG_TEMPLATES
setting. - Add
path
to the Flag serializer. - Include categorization flags on a product.
- Fix flag serializer field.
- Use attachment
subject_location
when generating a thumbnail. - Add ability to pass in
get_count
as boolean through therequest.GET
object when in
ProductListView
andCategoryDetailView
. This applies in non HTML formated response and returns the count of
all (filtered) products as{'count': 300}
. - Simplify urls into a single
urls.py
since django-cms/django-cms#5898 was merged. - Separate admin modules into multiple files.
- Move settings from
settings.py
toconf.py
and re-format based on djangoSHOP's settings pattern. - Add
SHOPIT_ASYNC_PRODUCT_LIST
andSHOPIT_ADD_PRODUCT_LIST_TO_CONTEXT
settings to optimizeProductListView
andCategoryDetailView
. - Bump
django-cms
requirement to 3.5. - Set default prices to zero.
- Fix field indentation in models and forms to follow Django's style guide.
- Various bugfixes.
Attention
Requires python manage.py migrate shopit
to set default price and amount Money fields, and add a template field to the Flag model.
0.3.0
- Handle
InvalidImageFormatError
error when generating thumbnails. - Add support for djangoSHOP 0.11.
0.2.3
- Add
never_cache
decorators to account, review and watch views. - Optimize
get_flags
templatetag when filtering by products. - Add
content
field asPlaceholderField
to categorization models. - Force setting priority on address form, order existant addresses by priority.
- Update
query_transform
templatetag to remove empty values. - Add missing
FlagModelForm
toFlagAdmin
. - Fix Flag unicode error in
__str__
. - Re-work the reviews, making them non-translatable. Not compatible with the old reviews, make sure to save them
(if you have any) before upgrading. A way for adding reviews was not provided before so this should not be the case. - Add setting
SHOPIT_REVIEW_ACTIVE_DEFAULT
. This decides if created reviews are active by default. - Handle updating shopping cart via ajax, add success messages to it.
- Remove CartDiscountCode's from cart when emptying it, make last applied code appears as active.
- Add PhoneNumberField field to the customer, add setting
SHOPIT_PHONE_NUMBER_REQUIRED
that defaults toFalse
. - Refactor address forms, enable using either 'shipping' or 'billing' form as primary. added setting
SHOPIT_PRIMARY_ADDRESS
. - Fix address country choices.
- Add and track num uses on a DiscountCode, alter the admin to display new values.
- Enable frontend editing of categorization and product models.
- Fix AccountOrderDetail view not returning the correct order.
- Handle NoReverseMatch for
add_to_cart_url
in a Product serializer.
Attention:
Requires python manage.py migrate shopit
to add/remove fields on a Review model,
as well as add phone_number
field on Customer model, content
field on Categorization models
and max_uses
, num_uses
on DiscountCode.
Note:
If migrating with categorization models already added. You'll need to save each models again for the content
PlaceholderField to appear.
0.2.2
- Add filtering by modifiers.
- Update django-shop requirement to 0.10.2.