We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813ba3b commit 74bb495Copy full SHA for 74bb495
django_mongodb_backend/introspection.py
@@ -49,7 +49,7 @@ def _get_search_index_info(self, table_name):
49
"searchAnalyzer": details["latestDefinition"].get("searchAnalyzer"),
50
"mappings": details["latestDefinition"]["mappings"],
51
}
52
- columns = list(options.get("fields", {}).keys())
+ columns = list(options["mappings"].get("fields", {}).keys())
53
type_ = SearchIndex.suffix
54
constraints[details["name"]] = {
55
"check": False,
0 commit comments