Skip to content

feat: Add model to store background task details#351

Open
Suraj1089 wants to merge 9 commits intodjangoindia:mainfrom
Suraj1089:feat/surajpisal/issue/328
Open

feat: Add model to store background task details#351
Suraj1089 wants to merge 9 commits intodjangoindia:mainfrom
Suraj1089:feat/surajpisal/issue/328

Conversation

@Suraj1089
Copy link
Copy Markdown
Contributor

@Suraj1089 Suraj1089 commented Mar 29, 2025

[FEATURE] Create a decorator to record background tasks #328

#328

Type of change

  • Feature update

How has this been tested?

image

@Suraj1089 Suraj1089 requested a review from ankanchanda as a code owner March 29, 2025 13:35
Copy link
Copy Markdown
Member

@DevilsAutumn DevilsAutumn left a comment

Choose a reason for hiding this comment

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

Thanks @Suraj1089 ! Left few comments.

@Suraj1089 Suraj1089 requested a review from DevilsAutumn March 30, 2025 13:12
@Suraj1089
Copy link
Copy Markdown
Contributor Author

@DevilsAutumn @ankanchanda I have addressed your review comments. can you please review it again?

Copy link
Copy Markdown
Member

@DevilsAutumn DevilsAutumn left a comment

Choose a reason for hiding this comment

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

Thanks @Suraj1089 ! Left one minor comment and can we also add it to the db/admin.py so that the logs are accessible from admin panel?

@Suraj1089
Copy link
Copy Markdown
Contributor Author

@DevilsAutumn @ankanchanda I have addressed your review comments. can you please review it again?

@DevilsAutumn
Copy link
Copy Markdown
Member

Cool! Now lets add the decorator to the following tasks, so that we can track them.

  1. welcome_email_task
  2. email_verification_task
  3. nightly_db_backup
  4. rsvp_confirmation_email_task
  5. waitlist_confirmation_email_task
  6. send_mass_mail_task
  7. send_mass_update_email_task

After that, I think it will be ready to merge.

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