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

#2102 - Add archive sponsorship email templates option #2218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

augdiebold
Copy link

Related ISSUE: #2102

Description

Create a possibility to archive old email templates that won't be useful anymore instead deleting them.

  • Created a boolean field named 'active' on BaseEmailTemplate model, default=True.
  • Added an active filter filter on django sponsor email templates admin page. Default lookup set to "yes".
  • Created an admin action to archive multiple templates (set them all active=False)

Screenshots

image
image
image

…templates admin, created action to archive multiple templates
@augdiebold augdiebold changed the title https://github.com/python/pythondotorg/issues/2102Add active field to EmailTemplates, create is active filter on email … #2102 - Add archive sponsorship email templates option Dec 29, 2022
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

1 participant