Skip to content

Commit

Permalink
Add user serializer (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh authored Dec 19, 2023
1 parent 0143146 commit 21bc0b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/users/serializers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from rest_framework import serializers

from apps.users.models import User


class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = '__all__'
Empty file removed apps/users/serializers.py.py
Empty file.

0 comments on commit 21bc0b9

Please sign in to comment.