[Fixed]-Django – inlineformset_factory with more than one ForeignKey

12👍

If I understand you correctly:

To change what is displayed set the model’s __unicode__ function

class userInfo(models.Model):
  #model fields

  def __unicode__(self):
    return self.auth.username

Leave a comment