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

feat(Django): update price_counts on Price create/delete #377

Merged

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Aug 2, 2024

What

On Price create

  • increment Proof.price_count
  • increment Location.price_count
  • increment Product.price_count

On Price delete

  • decrement Proof.price_count
  • decrement Location.price_count
  • decrement Product.price_count

@raphodn raphodn marked this pull request as ready for review August 2, 2024 10:55
@raphodn raphodn merged commit 34f7fdc into raphodn/django-5-rewrite Aug 2, 2024
1 check passed
@raphodn raphodn deleted the raphodn/django-5-price-count-increment branch August 2, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant