ImportError: Could not import 'rest_framework.pagination.LimitOffsetPagination'
I am going to use latest django 4.0 with djangorestframework.
After command: python manage.py runserver
ImportError: Could not import 'rest_framework.pagination.LimitOffsetPagination' for API setting 'DEFAULT_PAGINATION_CLASS'. ModuleNotFoundError: No module named 'pytz'.
Try the following command
pip install pytz
For pipenv:
pipenv install pytz