X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/6c9978c5bf8b1ef20871557c22b8b02df647d700..7f93b123c983c7ca2a2bf7010e4be921cba9a8fa:/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())