title: Django message framework rendered in a boostrap Modal
body: <p>I have a Django App. And I would like to give a Welcome Message after the user signed in. I know how to do it using the framework message but the thing is I would like instead of rendering it within a div I would like to render it within a modal ! </p>
  
  <p>I tried : </p>
  
  <pre><code>&lt;div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"&gt;
    &lt;div class="modal-dialog" role="document"&gt;
      &lt;div class="modal-content"&gt;
        &lt;div class="modal-header"&gt;
          &lt;h5 class="modal-title" id="exampleModalLabel"&gt;Modal title&lt;/h5&gt;
          &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
            &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
          &lt;/button&gt;
        &lt;/div&gt;
        &lt;div class="modal-body"&gt;
         {% if messages %}
    &lt;ul class="messages"&gt;
      {% for message in messages %}
        &lt;li class="{{ message.tags }}"&gt;{{ message }}&lt;/li&gt;
      {% endfor %}
    &lt;/ul&gt;
  {% endif %}
        &lt;/div&gt;
        &lt;div class="modal-footer"&gt;
          &lt;button type="button" class="btn btn-secondary" data-dismiss="modal"&gt;Close&lt;/button&gt;
          &lt;button type="button" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But as you may imagine it does not work the modal does not render. 
  Do you have any idea how could I make it work. </p>
  
  <p>Actually it is more than a welcome message, it is a welcome and a small tutorial. </p>
  
  <p>Thx you very much</p>