mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-01-19 09:33:01 +08:00
14 lines
404 B
Python
14 lines
404 B
Python
|
from djoser import email
|
||
|
from config.settings import FRONTEND_URL
|
||
|
|
||
|
|
||
|
class RequestUpdateEmail(email.BaseEmailMessage):
|
||
|
template_name = "request_approved.html"
|
||
|
|
||
|
def get_context_data(self):
|
||
|
context = super().get_context_data()
|
||
|
context["request_status"] = context.get("request_status")
|
||
|
context["url"] = FRONTEND_URL
|
||
|
context.update(self.context)
|
||
|
return context
|