danirus / django-comments-xtd

A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
https://django-comments-xtd.readthedocs.io
BSD 2-Clause "Simplified" License
595 stars 158 forks source link

Support Django Rest Framework 3.14.0 #389

Closed aliceni81 closed 1 year ago

aliceni81 commented 1 year ago

After I upgrade django from 4.0 to 4.1, an error occurs ValueError: The file 'rest_framework/css/bootstrap-theme.min.css.map' could not be found with <django.contrib.staticfiles.storage.ManifestStaticFilesStorage object at 0x7fe2279385e0>.

The latest version of django rest framework is 3.14.0 supporting django 4.1(https://www.django-rest-framework.org/community/release-notes/#314x-series), however the current package only supports the version lower than 3.14.

If I manually install djangorestframework 3.14.0, the following error shows ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. django-comments-xtd 2.9.8 requires djangorestframework<3.14,>=3.12, but you have djangorestframework 3.14.0 which is incompatible.

danirus commented 1 year ago

Thanks for telling :-)

aliceni81 commented 1 year ago

@danirus Thanks a lot for your quick handling.