Skip to content

Notification: expand management command to follow conventions #10470

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

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

humitos
Copy link
Member

@humitos humitos commented Jun 26, 2023

  • Follow the convention we have in other notifications regarind the context: use production_uri instead of `domain
  • Use the internal get_context_data() and extra_context= to follow the pattern stablished for the Notification class.
  • Make the new linter to pass.
  • Use structlog instead of print() function

- Follow the convention we have in other notifications regarind the context: use
  `production_uri` instead of `domain
- Use the internal `get_context_data()` and `extra_context=` to follow the
  pattern stablished for the `Notification` class.
- Make the new linter to pass.
- Use structlog instead of `print()` function
Copy link
Contributor

@benjaoming benjaoming left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@humitos humitos enabled auto-merge (squash) June 28, 2023 08:14
@humitos humitos merged commit 0853ea1 into main Jun 28, 2023
@humitos humitos deleted the humitos/contact-users-logging branch June 28, 2023 08:30
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.

3 participants