Skip to content
Snippets Groups Projects
Commit 82fe92e7 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

fixup! Update to use submission as variable name instead of application

parent fc116337
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ from .models import Activity ...@@ -7,7 +7,7 @@ from .models import Activity
class CommentContextMixin: class CommentContextMixin:
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
extra = { extra = {
'comments': Activity.objects.filter(application=self.object), 'comments': Activity.objects.filter(submission=self.object),
CommentFormView.context_name: CommentFormView.form_class(), CommentFormView.context_name: CommentFormView.form_class(),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment