sending email using django template engine -


i using django's template engine render email templates.

i have no requestcontext when rendering email, there have no access static_url , cant use {% url %} template tag.

how can make work while not generating email view function ?

if want add domain/url may site model:

message_data.update({'site': site.objects.get_current()}) 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -