Django REST frameworkã§ã¹ããã¢ããªç¨ã®WebAPIãä½ã£ãã¨ãã®ã¡ã¢æ¸ããªã©ã ãã¼ã¯ã³ã使ç¨ããèªè¨¼å¦çã«ã¤ã㦠æåã«ã¦ã¼ã¶IDã¨ãã¹ã¯ã¼ãã§èªè¨¼ãè¡ã£ãã¨ãã«ãã¼ã¯ã³ãçºè¡ãã¦ã以éã¯ãã®ãã¼ã¯ã³ããªã¯ã¨ã¹ãã«å«ããå½¢å¼ã«ãããã£ãã®ã§ã以ä¸ã®ããã«å®è£ ãã(Djangoã®Userãã¼ãã«ã¨ãããã®ã¾ã¾ä½¿ç¨ãã)ã ã¦ã¼ã¶æ å ±ã®æ°è¦ç»é²å¦ç ã¦ã¼ã¶æ å ±ãUserãã¼ãã«ã«ç»é²ããéããã¹ã¯ã¼ãã ãDjangoã®ã©ã¤ãã©ãªã使ç¨ãã¦ããã·ã¥ãããã¦ç»é²ããããã«ããã https://docs.djangoproject.com/en/1.8/_modules/django/contrib/auth/hashers/#make_password class UserSerializer(serializers.HyperlinkedModelSerializer)
{{#tags}}- {{label}}
{{/tags}}