Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Releases: dinoperovic/django-shopit

0.5.2

21 Oct 10:51
Compare
Choose a tag to compare
  • Fix setup requirement.

0.5.1

21 Oct 10:39
Compare
Choose a tag to compare
  • Drop Django 1.10 support.
  • In ProductDetailView, check for renderer format before adding django-cms menu related items.
  • Remove PhoneNumberField from the project, use simple CharField instead.
  • Lock requirements.

0.5.0

14 Nov 13:35
Compare
Choose a tag to compare
  • Rename package from djangoshop-shopit to django-shopit.

0.4.3

31 Oct 13:12
Compare
Choose a tag to compare
  • Fix encoding error in product admin get_name method.
  • Add phonenumbers library to requirements.

0.4.2

18 Jul 12:30
Compare
Choose a tag to compare
  • Fixes #7 - "unhashable type: 'MoneyInEUR'" error in get_price_steps templatetag.

0.4.1

18 Jul 12:30
Compare
Choose a tag to compare
  • Small fixes in admin.
  • Fix indentation in admin help text for djangocms-admin-style.
  • Refactor tests.

Support for djangoSHOP 0.12.x

08 May 10:52
Compare
Choose a tag to compare
  • 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 to order 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 the fields GET property.
  • Add attribute_choices to product serializer fields.
  • Add template field to Flag model, adn a SHOPIT_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 the request.GET object when in
    ProductListView and CategoryDetailView. 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 to conf.py and re-format based on djangoSHOP's settings pattern.
  • Add SHOPIT_ASYNC_PRODUCT_LIST and SHOPIT_ADD_PRODUCT_LIST_TO_CONTEXT settings to optimize ProductListView
    and CategoryDetailView.
  • 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

13 Sep 07:46
Compare
Choose a tag to compare
  • Handle InvalidImageFormatError error when generating thumbnails.
  • Add support for djangoSHOP 0.11.

0.2.3

20 Jul 10:51
Compare
Choose a tag to compare
  • Add never_cache decorators to account, review and watch views.
  • Optimize get_flags templatetag when filtering by products.
  • Add content field as PlaceholderField 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 to FlagAdmin.
  • 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 to False.
  • 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

19 Jun 10:48
Compare
Choose a tag to compare
  • Add filtering by modifiers.
  • Update django-shop requirement to 0.10.2.