Skip to content

Commit

Permalink
Main fixes to make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
muratkaanmesum committed Mar 15, 2024
1 parent a270a1c commit e465a5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions API/API/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def create(self, validated_data):
)

user.set_password(validated_data['password'])
#sorulucak satır
#profile = Profile.objects.create(user=user, nickname=None, stats=Stats.objects.create())
user.save()

return user
Expand Down

0 comments on commit e465a5f

Please sign in to comment.