Django Array contains a field
<p>I am using Django, with mongoengine. I have a model Classes with an inscriptions list, And I want to get the docs that have an id in that list.</p>
<p><code>classes = Classes.objects.filter(inscriptions__contains=request.data['inscription'])</code></p>