Skip to content

Commit 20bd6d5

Browse files
committed
fix README 2
1 parent 70c8709 commit 20bd6d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ At query time, specify `{ tagFilters: 'tagvalue' }` or `{ tagFilters: ['tagvalue
136136
You can choose which field will be used as the `objectID `. The field should be unique and can be a string or integer. By default, we use the `pk` field of the model.
137137

138138
```python
139-
class articleindex(algoliaindex):
140-
custom_objectid = 'post_id'
139+
class ArticleIndex(AlgoliaIndex):
140+
custom_objectID = 'post_id'
141141
```
142142

143143
## Custom index name

0 commit comments

Comments
 (0)