shared_account app olib tashlandi

This commit is contained in:
behruz-dev
2025-12-07 18:10:04 +05:00
parent f0bbb4c28a
commit 8b832f8e15
24 changed files with 213 additions and 133 deletions

View File

@@ -0,0 +1,22 @@
# rest framework
from rest_framework import serializers
# accounts
from core.apps.accounts.models import User
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = [
'id',
'first_name',
'last_name',
'username',
'phone_number',
'profile_image',
'created_at',
'updated_at',
]