Skip to content

Commit

Permalink
Update export.rst to fix Python syntax (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullPrice authored Aug 26, 2024
1 parent d31e53d commit 04b5c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ If you must use a function view, you might use something like this::
export_format = request.GET.get("_export", None)
if TableExport.is_valid_format(export_format):
exporter = TableExport(export_format, table)
return exporter.response(f"table.{export_format})
return exporter.response(f"table.{export_format}")

return render(request, "table.html", {
"table": table
Expand Down

0 comments on commit 04b5c59

Please sign in to comment.