Skip to content

Commit

Permalink
Hard code schema version to 0.2 as currently library only supports this
Browse files Browse the repository at this point in the history
  • Loading branch information
odscjames committed Jan 12, 2023
1 parent 066818b commit a26ac1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cove_ofds/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ def explore_ofds(request, pk):
for task in PROCESS_TASKS:
context.update(task.get_context())

# Currently hard coded because the library only supports this version,
# but in future this should come from one of the process tasks
context["schema_version_used"] = "0.2"

template = "cove_ofds/explore.html"

return render(request, template, context)

0 comments on commit a26ac1f

Please sign in to comment.