Commit 96393efd authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Allow to do requests to

Signed-off-by: Carl Schwan's avatarCarl Schwan <>
parent ee5d8378
......@@ -53,4 +53,6 @@ class EvMembersView(View):
users = []
for user in models.User.objects.filter(roles__name__exact="ev-active"):
return JsonResponse({"members": users})
response = JsonResponse({"members": users})
response["Access-Control-Allow-Origin"] = "*"
return response
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment