# ModelFieldNotMappedError

**URL:** <https://discuss.elastic.co/t/modelfieldnotmappederror/143658>\
**Category:** Elasticsearch\
**Created:** [August 9, 2018, 9:03am UTC](https://discuss.elastic.co/t/modelfieldnotmappederror/143658 "2018-08-09T09:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhasan09](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@mhasan09](https://discuss.elastic.co/u/mhasan09)\
**Post date:** [August 9, 2018, 9:03am UTC](https://discuss.elastic.co/t/modelfieldnotmappederror/143658/1 "2018-08-09T09:03:12Z")

</div>

Currently I'm getting this kind of error in Django ElasticSearch !

django\_elasticsearch\_dsl.exceptions.ModelFieldNotMappedError: Cannot convert model field price to an Elasticsearch field!

Elasticsearch version : 6.1.0

Can anyone help me with this ? here's the documents.py

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e50a961ddfba0aab2214003419830f05f2d0566d.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 6, 2018, 9:07am UTC](https://discuss.elastic.co/t/modelfieldnotmappederror/143658/2 "2018-09-06T09:07:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
