ft_transcendence/srcs/accounts/serializers/change_password.py

7 lines
178 B
Python
Raw Permalink Normal View History

2023-11-23 10:43:30 -05:00
from rest_framework.serializers import Serializer, CharField
class ChangePasswordSerializer(Serializer):
current_password = CharField()
new_password = CharField()