[Answered ]-Django: how to add a select field in the forms.py with materializecss

2👍

If you want to display Materializecss select then you want to wrap it with .input-field class form

You have two options here.

  1. Use individual form tag using {{ form.status }} wrap with .input-field div class

    <div class="input-field">
      {{ form.status }}
    </div>
    
  2. Or use django-materializecss-form

Leave a comment