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