AiC and REST login
[myslice.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")