Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

D1.2a Install the mail app, move PendingUnsubscribe, commit the purpose templates

Đang mở
#367 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
64/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, database, testing

Hướng nghiên cứu

Bắt đầu bằng cách xác định model email_app.PendingUnsubscribe hiện có, các điểm tích hợp của community_base.mail và thư mục email_templates/. Chạy các bước kiểm tra manage.py được liệt kê và xem xét các mẫu hiện có về migration, render template và kiểm thử FakeRelay trước khi triển khai việc tách. Công việc được xem là hoàn tất khi các bước kiểm tra, migration trên cơ sở dữ liệu mới, các kiểm thử template purpose và các kiểm thử mirror-command đều vượt qua; việc publish qua Relay nằm ngoài phạm vi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Split out of the combined D1.2 mail-adoption issue (community-base plan phase 1).

Scope:

  • P2: install community_base.mail (v0.3.0) - URL include at the site root after email_app (package callback ingress goes live; recipient links stay with email_app until D1.2c), studio include under /studio/mail/, MAIL_TEMPLATE_DIR pointing at email_templates/.
  • P6: copy email_app.PendingUnsubscribe into cb_mail.PendingUnsubscribe with a copy_forward/copy_backward data migration (batch 1000, donor model kept).
  • Commit the five DTC purpose templates in email_templates/ (deadline reminder, course registration confirmation, enrollment confirmation, certificate ready, Slack access) as the source of truth mirrored into Relay by the deploy's import_mail_templates step.
  • Relay import + publish version 1: not run here; needs a permitted development Relay with the R1.5 tag (deploy step and template tests land first).

Verification: manage.py check, makemigrations --check, fresh-database migrations, template render tests per purpose, mirror-command tests against FakeRelay. Development-copy row counts deferred until a development copy exists locally.

Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DataTalksClub/website

Tất cả issue của DataTalksClub/website

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.