[Answer]-How to use notify in Django with Bootstrap?

1👍

Solved with:

<script>
{% for message in messages %}
$(document).ready(function() {
    $.pnotify({
        title: '{{ message.tags|upper }}',
        text: '{{ message }}.',
        type: '{{ message.tags }}',
        hide: false,
        styling: 'bootstrap',
        closer_hover: false,
        sticker_hover: false
    });
});
{% endfor %}
</script>

Leave a comment