diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-03-18 16:49:48 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-21 12:10:18 -0400 |
commit | ec5a385ada3401d6aab65c334b44ce5492ad032a (patch) | |
tree | ad2cee2007712344b77feed7da2960b0420d5c97 /mediagoblin/views.py | |
parent | 2dd966b5e2c6c406d153e2d4cdf886e30198a1d3 (diff) | |
download | mediagoblin-ec5a385ada3401d6aab65c334b44ce5492ad032a.tar.lz mediagoblin-ec5a385ada3401d6aab65c334b44ce5492ad032a.tar.xz mediagoblin-ec5a385ada3401d6aab65c334b44ce5492ad032a.zip |
Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.
Diffstat (limited to 'mediagoblin/views.py')
-rw-r--r-- | mediagoblin/views.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mediagoblin/views.py b/mediagoblin/views.py index 009e48e4..1ed71473 100644 --- a/mediagoblin/views.py +++ b/mediagoblin/views.py @@ -62,3 +62,9 @@ def terms_of_service(request): return render_to_response(request, 'mediagoblin/terms_of_service.html', {}) + +def metadata_context_view(request): + version = request.matchdict['version_number'] + return render_to_response(request, + 'mediagoblin/metadata_contexts/v{version}'.format( + version=version), {}) |