Commit 516f04e3 authored by Gladys Forte's avatar Gladys Forte

Merge branch 'RMSv2' of http://42.61.118.105:7990/scm/rms/api-main-service into gladys-dev2

parents 202b9bf5 7de48098
......@@ -149,6 +149,16 @@ class UserViewSet(viewsets.ModelViewSet):
old_instance = model_to_dict(instance)
self.perform_update(serializer)
app = Application.objects.filter(
code__in=request.data['application']
)
instance2 = User.objects.get(
id=serializer.data['id']
)
instance.application.set(app)
new_instance = serializer.data
log_save(
......
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