[Django]-Django Messages, How to Hide Specific Ones

4👍

Use safe filter to convert that message object attribute to actual string and compare

--- Your code ---
{% if "signed" in message|safe %} 
  # Don't display anything
{% else %}
--- Your remaining code ---

Leave a comment