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