Skip to content

Comments

Backend Assignment#1

Open
iishagupta wants to merge 12 commits intomasterfrom
develop
Open

Backend Assignment#1
iishagupta wants to merge 12 commits intomasterfrom
develop

Conversation

@iishagupta
Copy link
Owner

@iishagupta iishagupta commented Oct 15, 2019

Significance of choice field

image

Invalid email

image

Invalid phone number

image

return TeamMember.objects.create(**validated_data)

def update(self, instance, validated_data):
instance.firstName = validated_data.get('firstName', instance.firstName)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anyone can change data to any other user, there is not authorization here

Copy link

@taruntk taruntk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants