django-autocomplete-light displays empty dropdown in the form
问题 I am trying to use django-autocomplete-light From this tutorial https://github.com/yourlabs/django-autocomplete-light/blob/master/docs/tutorial.rst I Installed it with pip and added it to my settings file INSTALLED_APPS = ( 'dal', 'dal_select2', for my tenant value My tenant model is class Tenant(CommonInfo): version = IntegerVersionField( ) first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=40) def __unicode__(self): return u'%s %s %s ' % ("#", self.id,