X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6c9978c5bf8b1ef20871557c22b8b02df647d700..0c7887c5e358a6af808e9bf5f86efb56465e3605:/comment/views.py diff --git a/comment/views.py b/comment/views.py index c7bd9fb..40db4b0 100644 --- a/comment/views.py +++ b/comment/views.py @@ -9,7 +9,7 @@ from .models import CommentDocument as CommentDocumentModel class CommentDocumentList(ListView): - model = CommentDocument + model = CommentDocumentModel def get_queryset(self): return super(CommentDocumentList, self).get_queryset().filter(language_code=get_language())