mozilla / elasticutils

[deprecated] A friendly chainable ElasticSearch interface for python
http://elasticutils.rtfd.org
BSD 3-Clause "New" or "Revised" License
243 stars 76 forks source link

extract_document is missing @classmethod in django.rst #278

Closed noahmiller closed 9 years ago

noahmiller commented 9 years ago

In docs/django.rst, the sample code for MyMappingType is missing the @classmethod decorator on the extract_document method. Without this decorator indexing fails (silently, in my case).

willkg commented 9 years ago

If you want to do a PR for it, that'd be great. Otherwise I'll get to this at some point, but no promises as to when.

willkg commented 9 years ago

This is fixed now. Thank you, Noah!