Unset_profile

Unset_profile

{% unset_profile %}

Removes custom properties from the attribute dictionary of the currently logged-in profile. Note that this is meaningless unless the user is logged in.

{% unset_profile attributes %}

{% unset_profile
attributes
 
One or more values. May use the variable arguments syntax.
%}

There is no option to unset all attributes from a profile - attributes must be removed by name.

Examples

Unset Profile

Copy
{% if request.query_params.hide_the_money %}
{% unset_profile show_me_the_money %}
{% endif %}