title: Django: create Index: non-unique, multiple column
body: <p>Given the following model, I want to index the fields (sequence,stock) </p>
  
  <pre class="lang-py prettyprint-override"><code>class QuoteModel(models.Model):  
      quotedate =  models.DateField()  
      high = models.FloatField() #(9,2) DEFAULT NULL,  
      low  = models.FloatField() #(9,2) DEFAULT NULL,  
      close  = models.FloatField() #(9,2) DEFAULT NULL,  
      closeadj  = models.FloatField() #(9,2) DEFAULT NULL,  
      volume  = models.IntegerField() #(9,2) DEFAULT NULL,  
      stock  = models.IntegerField(db_index=True) #(9,2) DEFAULT NULL,  
      open  = models.FloatField() #(9,2) DEFAULT NULL,  
      sequence = models.IntegerField() #(9,2) DEFAULT NULL,  
  </code></pre>
  
  <p>This index should be non-unique - in mysql it should be something like:  </p>
  
  <pre><code>create index ndx_1 on model_quotemodel(sequence,stock);
  </code></pre>
  
  <p>The only Django workaround I know of is creating an "sql" file that will be executed by django upon table creation. So, I created a "stockmodel.sql" containing the following query (same as above:)  </p>
  
  <pre><code>create index ndx_1 on model_quotemodel(sequence,stock);
  </code></pre>
  
  <p>Is there any "cleaner" way of doing it? </p>