Private
Public Access
1
0

Oauth2 checks

This commit is contained in:
Sander Roosendaal
2016-11-24 13:40:29 +01:00
parent b8643ca897
commit 44b2145f2f
2 changed files with 20 additions and 1 deletions

View File

@@ -4455,7 +4455,8 @@ class JSONResponse(HttpResponse):
content = JSONRenderer().render(data)
kwargs['content_type'] = 'application/json'
super(JSONResponse, self).__init__(content, **kwargs)
@login_required()
def strokedatajson(request,id):
try:
row = Workout.objects.get(id=id)