Internal Server Error caused by bad PageNumberPagination import
Internal Server Error: /
Traceback (most recent call last):
File "/srv/patchwork.freedesktop.org/lib/apache2/../../.virtualenvs/django-1.8/lib/python2.7/site-packages/django/core/handlers/base.py", line 86, in get_exception_response
callback, param_dict = resolver.resolve_error_handler(status_code)
File "/srv/patchwork.freedesktop.org/lib/apache2/../../.virtualenvs/django-1.8/lib/python2.7/site-packages/django/core/urlresolvers.py", line 414, in resolve_error_handler
callback = getattr(self.urlconf_module, 'handler%s' % view_type, None)
File "/srv/patchwork.freedesktop.org/lib/apache2/../../.virtualenvs/django-1.8/lib/python2.7/site-packages/django/core/urlresolvers.py", line 395, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/srv/patchwork.freedesktop.org/lib/apache2/../../patchwork/urls.py", line 26, in <module>
import patchwork.views.api as api
File "/srv/patchwork.freedesktop.org/lib/apache2/../../patchwork/views/api.py", line 37, in <module>
from rest_framework.pagination import PageNumberPagination
ImportError: cannot import name PageNumberPagination