Skip to content

No subscription / user context variable available in template for Personalization #368

@mrxsal

Description

@mrxsal

(beginner django developer here)
It seems to me there is no subscription context variable available in the message.html template.
image
(screenshot is from django-debug-toolbar)

How would one go about with email personalization?
something like: Hi {{ user.first_name }} or, Hi {{ subscription.email }}.

I would expect the subscription context variable to be available to use as a standard.

Related Question : How would I be able to add my own custom context variables to this? I see that I am not able to to use my own custom context processors in the template, such as {{ user }}
Say I own airbnb.com and I want to show 5 recommended Listings. How could I include a "Listing" context variable?

Sorry if this is not the place to ask these questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions