Skip to content

Commit

Permalink
* Fix bug in export download view.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Nov 1, 2018
1 parent bf7aee0 commit a75727d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_kala/auth/views/export_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class ExportView(View):

@method_decorator(login_required)
def get(self, request, token, *args, **kwargs):
export = get_object_or_404(Export.objects.active(), pk=pk)
export = get_object_or_404(Export, key=token)
manager = settings.PLATFORM_MANAGER()
return redirect(manager.get_export_url(export))

0 comments on commit a75727d

Please sign in to comment.