Skip to content

Commit

Permalink
Use LatestCommentFeed from django_comments (#415)
Browse files Browse the repository at this point in the history
* Use LatestCommentFeed from django_comments
* docs small fixes
* Update README
  • Loading branch information
danirus authored Jan 31, 2024
1 parent dbdb91d commit b9949b8
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [2.9.14] -

* Adds ordering filter to the CommentList API class.

## [2.9.13] - 2023-12-22

* Fixes issue related to missing frontend files within the package distribution.
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ It extends the once official `django-contrib-comments <https://pypi.python.org/p

Example sites and tests work under officially Django `supported versions <https://www.djangoproject.com/download/#supported-versions>`_:

* Django 4.2, 4.1, 4.0, 3.2
* Python 3.10, 3.9, 3.8
* Django 5.0, 4.2, 4.1, 4.0, 3.2
* Python 3.12, 3.11, 3.10, 3.9, 3.8

Additional Dependencies:

Expand Down
1 change: 0 additions & 1 deletion django_comments_xtd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from django.utils.module_loading import import_string

import django_comments
from django_comments.feeds import LatestCommentFeed
from django_comments.signals import comment_was_posted, comment_will_be_posted


Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
# documentation.
html_theme_options = {
"style": "green",
"monospace_font": "Ubuntu Mono",
"monospace_font_size": "1.1rem",
"documentation_font_size": "1.1rem",
"repository_url": "https://github.com/danirus/django-comments-xtd",
"repository_name": "django-comments-xtd"
}
Expand Down
8 changes: 4 additions & 4 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -997,10 +997,10 @@ to the browser improving the overall usability. By making use of the JavaScript
plugin users don't have to leave the blog post page to preview, submit or reply
comments, or to like/dislike them. But it comes at the cost of using:

* ReactJS
* jQuery (to handle Ajax calls).
* Twitter-Bootstrap (for the UI).
* Remarkable (for Markdown support).
* ReactJS
* jQuery (to handle Ajax calls).
* Twitter-Bootstrap (for the UI).
* Remarkable (for Markdown support).

To know more about the client side of the application and the build process
read the specific page on the :doc:`javascript`.
Expand Down
3 changes: 1 addition & 2 deletions example/comp/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.urls import include, path, re_path

from django.views.i18n import JavaScriptCatalog
from django_comments import LatestCommentFeed

from django_comments_xtd import LatestCommentFeed
from django_comments_xtd.views import XtdCommentListView

from comp import views
Expand Down
2 changes: 1 addition & 1 deletion example/custom/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
else:
from django.urls import include, path, re_path

from django_comments_xtd import LatestCommentFeed
from django_comments import LatestCommentFeed

import views

Expand Down
2 changes: 1 addition & 1 deletion example/simple/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.urls import include, path, re_path

from django_comments_xtd import LatestCommentFeed
from django_comments import LatestCommentFeed

from simple import views

Expand Down

0 comments on commit b9949b8

Please sign in to comment.