py27-lint test fix

This commit is contained in:
Gagandeep Singh 2018-11-28 00:10:16 +05:30
parent 1dc6d473ff
commit 3993038f95

View file

@ -260,7 +260,7 @@ class TreeEditor(admin.ModelAdmin):
})
else:
context['opts'] = self.model._meta
context.update(extra_context or {})
return render_to_response(self.change_list_template or [
'admin/%s/%s/change_list.html' % (app_label, opts.object_name.lower()),