coreapi must be installed to use 'get_schema_fields()'
<p>So I installed django-rest-swagger as shown in <a href="https://github.com/marcgibbons/django-rest-swagger" rel="noreferrer">django rest documentation</a>.</p>

<p>And on </p>

<pre><code>from django.conf.urls import url
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='Pastebin API')

urlpatterns = [
    url(r'^$', schema_view)
]
</code></pre>

<p>I keep on getting following error,</p>

<blockquote>
  <p>File ".../local/lib/python2.7/site-packages/django_filters/rest_framework/backends.py", line 97, in get_schema_fields
      assert compat.coreapi is not None, 'coreapi must be installed to use <code>get_schema_fields()</code>'
  AssertionError: coreapi must be installed to use <code>get_schema_fields()</code></p>
</blockquote>

<p>I have the following packages installed:</p>

<ul>
<li>coreapi==2.0.8</li>
<li>Django==1.9.6</li>
<li>django-filter==0.15.3</li>
<li>django-rest-swagger==2.0.7</li>
<li>djangorestframework==3.5.0</li>
</ul>

<p>EDIT:</p>

<p>Installed Apps :</p>

<ul>
<li>'rest_framework',</li>
<li>'rest_framework_swagger', ...</li>
</ul>