Skip to content

Instantly share code, notes, and snippets.

@mitchtabian
Last active October 15, 2019 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitchtabian/20f99dcadfcde03346317519e1be384a to your computer and use it in GitHub Desktop.
Save mitchtabian/20f99dcadfcde03346317519e1be384a to your computer and use it in GitHub Desktop.
class ChangePasswordSerializer(serializers.Serializer):
old_password = serializers.CharField(required=True)
new_password = serializers.CharField(required=True)
confirm_new_password = serializers.CharField(required=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment