Commit c8859f7c authored by John Red Medrano's avatar John Red Medrano

align current user from core-demo to product-dev

parent 2c6d5c39
...@@ -96,6 +96,13 @@ class UserManagementRetreiveSerializer(serializers.ModelSerializer): ...@@ -96,6 +96,13 @@ class UserManagementRetreiveSerializer(serializers.ModelSerializer):
if test.count() >= 1: if test.count() >= 1:
return {**test.values("create_form","create_template")[0]} return {**test.values("create_form","create_template")[0]}
else:
print('dddd')
return {
"create_form": False,
"create_template": False
}
def get_image(self, user): def get_image(self, user):
......
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