from django_elasticsearch.models import EsIndexable
class UserInfoSE(EsIndexable, models.Model):
tel = models.CharField(max_length=50, null=True, unique=False, default='')
view
UserInfoSE.es.queryset.all()
and settings:
ELASTICSEARCH_URL = 'http://192.168.99.101:9200'
but I got some error: Unable to get repr for <class 'django_elasticsearch.query.EsQueryset'>
hi, I wrote test code
model
view
and settings:
but I got some error: Unable to get repr for <class 'django_elasticsearch.query.EsQueryset'>