Skip to content

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
Copy Markdown
Owner

@iishagupta iishagupta commented Oct 15, 2019

Significance of choice field

image

Invalid email

image

Invalid phone number

image

Comment thread Team/teammembers/models.py Outdated
Comment thread Team/teammembers/serializers.py
Comment thread Team/teammembers/urls.py
return TeamMember.objects.create(**validated_data)

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

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

Comment thread Team/teammembers/views.py Outdated
Comment thread Team/teammembers/views.py
Comment thread Team/teammembers/views.py
Comment thread Team/teammembers/views.py
Comment thread Team/teammembers/views.py Outdated
Comment thread Team/teammembers/urls.py
Comment thread Team/teammembers/tests.py Outdated
Comment thread Team/teammembers/models.py
Copy link
Copy Markdown

@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