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

refactor: suppression du signal post_create au profit d'un appel direct à la méthode create_post_notifications #910

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

vincentporte
Copy link
Contributor

Description

🎸 cf titre

Type de changement

🚧 technique

Points d'attention

🦺 Bien que déclenché dans la méthode save du modèle Post, la méthode n'est appelée que lors de la création d'une nouvelle instance de Post. Pas de risque d'envoi massif de notifications en cas de save en masse sur des instances existantes.

@vincentporte vincentporte linked an issue Feb 11, 2025 that may be closed by this pull request
@vincentporte vincentporte self-assigned this Feb 11, 2025
@vincentporte vincentporte added python Pull requests that update Python code technical debt labels Feb 11, 2025
Copy link
Contributor

@francoisfreitag francoisfreitag left a comment

Choose a reason for hiding this comment

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

🤩

calummackervoy
calummackervoy previously approved these changes Feb 13, 2025
@vincentporte vincentporte force-pushed the 909-supprimer-le-signal-post_create branch from fd0f0c1 to c146f20 Compare February 13, 2025 10:41
@vincentporte vincentporte merged commit 4c5c88b into master Feb 13, 2025
8 checks passed
@vincentporte vincentporte deleted the 909-supprimer-le-signal-post_create branch February 13, 2025 12:25
vincentporte added a commit that referenced this pull request Feb 13, 2025
…rect à la méthode `create_post_notifications` (#910)

## Description

🎸 cf titre

## Type de changement

🚧 technique

### Points d'attention

🦺 Bien que déclenché dans la méthode `save` du modèle `Post`, la méthode
n'est appelée que lors de la création d'une nouvelle instance de `Post`.
Pas de risque d'envoi massif de notifications en cas de `save` en masse
sur des instances existantes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supprimer le signal post_create
3 participants