Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add delete_lost_cartitems command #2

Conversation

saippuakauppias
Copy link
Member

No description provided.

from tinycart.models import CartItem


def delete_objects(verbosity=1):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function should definitely be a Command class method.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just to move this code to Command#handle method?

yumike added a commit that referenced this pull request Mar 26, 2012
…and_for_remove_deleted_products

add delete_lost_cartitems command
@yumike yumike merged commit 82be7fb into trilan:develop Mar 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants