My django framework is throwing an error while importing 'PaginationSerializer'. Any idea what could have gone wrong? Please find below the line which throws the error. I am using django REST framework 3.1 release.
from rest_framework.pagination import PaginationSerializer
Below is the error output.
ImportError at /
cannot import name 'PaginationSerializer'
Request Method: GET
Request URL: http://127.0.0.1:3434/
Django Version: 1.8.2
Exception Type: ImportError
Exception Value: cannot import name 'PaginationSerializer'
Exception Location: /home/djangoDevelopment/test.git/rest_peace/urls.py in <module>, line 9
Python Executable: /home/pulak/djangoDevelopment/django-test.git/djenv/bin/python
Python Version: 3.4.3