Skip to content

Commit

Permalink
Registering Users - in Core App
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmalshahabudeen committed Apr 10, 2023
1 parent f8bedbc commit 65309c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/serializers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from djoser.serializers import UserCreateSerializer as BaseUserCreateSerializer

class UserCreateSerializer(BaseUserCreateSerializer):
class Meta(BaseUserCreateSerializer.Meta):
fields = ['id', 'username', 'password','email', 'first_name', 'last_name']

0 comments on commit 65309c6

Please sign in to comment.