<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>racchai</author_name>
  <author_url>https://blog.hatena.ne.jp/racchai/</author_url>
  <blog_title>らっちゃいブログ</blog_title>
  <blog_url>https://racchai.hatenablog.com/</blog_url>
  <categories>
    <anon>django</anon>
    <anon>rest_framework</anon>
    <anon>python</anon>
  </categories>
  <description>みなさんお待ちかねの Django REST framework シリーズです。 バリデーションって大事なんだけど仕組みを作るのって地味にめんどくさいですよね。 Django REST framework ではそこそこ簡単に書けるようになってますので、ご紹介します。 事前準備 Serializer クラスを作成する 検証してみる バリデーションメッセージを取得する バリデーションメッセージをカスタマイズする 意図しないデータをフィルタリングする おまけ 最後に 事前準備 まずは簡単にプロジェクトを作成します。 詳しい手順と説明はこちらの記事をご参照ください。 racchai.hatenablo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fracchai.hatenablog.com%2Fentry%2F2016%2F04%2F15%2F113000&quot; title=&quot;Django REST framework でバリデーションしてみよう - らっちゃいブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-15 11:30:00</published>
  <title>Django REST framework でバリデーションしてみよう</title>
  <type>rich</type>
  <url>https://racchai.hatenablog.com/entry/2016/04/15/113000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
