chrisdev / django-wagtail-feeds

Adds support for RSS and JSON Feeds to your Wagtail CMS Projects
MIT License
59 stars 20 forks source link

Assumes that content_field is a RichText field #22

Closed chrisdev closed 7 years ago

chrisdev commented 7 years ago

It seems that we're assuming that the content field is a RichText field. So for example, in the case of the default cookiecutter project the following line fails:

content = expand_db_html(getattr(item, self.item_content_field))

because the self.item_content_field is a StreamField