Commit 1c044dd9 authored by John Red Medrano's avatar John Red Medrano

replace slug at request to authenticator group

parent c6da8956
...@@ -67,7 +67,8 @@ class ApplicationViewSet(viewsets.ModelViewSet): ...@@ -67,7 +67,8 @@ class ApplicationViewSet(viewsets.ModelViewSet):
serializer = self.get_serializer(page, many=True) serializer = self.get_serializer(page, many=True)
results = [] results = []
for item in serializer.data: for item in serializer.data:
ids = item['id'] # print(item['code'])
ids = item['code']
# headers = { # headers = {
# 'content-type': 'application/json', # 'content-type': 'application/json',
# 'Authorization': request.META['HTTP_AUTHORIZATION'] # 'Authorization': request.META['HTTP_AUTHORIZATION']
......
Markdown is supported
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