title: How do I customize Django Select2 fields?
body: <p>I started using django-select2 with my forms in one of my apps and I am looking for how to customize the form fields.</p>
  
  <p>For example, with one of the form fields you can select a country, so an icon next to the name of the country would be nice. </p>
  
  <p>Also, maybe present the countries in groups like Popular or by continent.</p>
  
  <p>The <a href="https://select2.org/" rel="nofollow noreferrer">Select2</a> site has some examples that I would like to replicate.</p>
  
  <p>On <a href="http://django-select2.readthedocs.io/en/latest/index.html" rel="nofollow noreferrer">django-select2 documentation</a>  is not clear on how to do something like that.</p>
  
  <p>Have you ever tried something like this ?</p>