git://git.onelab.eu
/
unfold.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ASAP plugin added to the Slice page
[unfold.git]
/
rest
/
portal_version.py
1
from django.http import HttpResponse
2
from portal.actions import clear_user_creds
3
4
from myslice.settings import PORTAL_VERSION
5
6
import json
7
8
def dispatch(request):
9
10
ret = PORTAL_VERSION.replace('\n','')
11
12
return HttpResponse(json.dumps(ret), content_type="application/json")