Skip to content

Commit 37feed6

Browse files
authored
Merge pull request #110 from ulive1s/patch-1
Update README.rst
2 parents 285bbe2 + 28fe97d commit 37feed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ You can use an ObjectField or a NestedField.
291291
292292
# documents.py
293293
294-
from django_elasticsearch_dsl import DocType, Index
295-
from .models import Car
294+
from django_elasticsearch_dsl import DocType, Index, fields
295+
from .models import Car, Manufacturer, Ad
296296
297297
car = Index('cars')
298298
car.settings(

0 commit comments

Comments
 (0)