Skip to content
Snippets Groups Projects
Commit e69dc54b authored by Felix Blanke's avatar Felix Blanke
Browse files

Ignore pylint warning for adapted django upstream code

parent b9593848
No related branches found
No related tags found
No related merge requests found
Pipeline #279637 failed
......@@ -66,6 +66,8 @@ class AKJSONExportView(AdminViewMixin, DetailView):
return context
def get(self, request, *args, **kwargs):
# as this code is adapted from BaseDetailView::get
# pylint: disable=attribute-defined-outside-init
self.object = self.get_object()
context = self.get_context_data(object=self.object)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment