<filename>account/serializers/password.py<gh_stars>1-10
from rest_framework import serializers


class PasswordSerializer(serializers.Serializer):
    old_password = serializers.CharField(required=True)
    new_password = serializers.CharField(required=True)
