Skip to content

Commit

Permalink
Merge pull request #81 from Open-Telecoms-Data/2023-01-12
Browse files Browse the repository at this point in the history
Hard code schema version to 0.2 as currently library only supports this
  • Loading branch information
odscjames authored Jan 12, 2023
2 parents 066818b + a26ac1f commit 16a7d6d
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 16a7d6d

Please sign in to comment.