Skip to content

Commit

Permalink
Removed references to stale items.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazybird committed Feb 12, 2014
1 parent ecbf8f2 commit 1cc819e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,7 @@ You can change the name of this template tag using the

Cart items are associated to products in the database. Sometime a product can be found
in the cart when its database instance has been removed. These items are called stale
items. The `CART_REMOVE_STALE_ITEMS` setting defines whether stale items should be
automatically removed from the cart. By default they are removed. Removing stale items
is a silent operation that occurs every time the cart object is used. If site performance
is a concern, consider disabling this feature.
items. By default they are removed from the cart.

### Session Key

Expand Down
2 changes: 0 additions & 2 deletions carton/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
CART_SESSION_KEY = getattr(settings, 'CART_SESSION_KEY', 'CART')

CART_TEMPLATE_TAG_NAME = getattr(settings, 'CART_TEMPLATE_TAG_NAME', 'get_cart')

CART_REMOVE_STALE_ITEMS = getattr(settings, 'CART_REMOVE_STALE_ITEMS', True)

0 comments on commit 1cc819e

Please sign in to comment.