<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoheiwatanabe0606</author_name>
  <author_url>https://blog.hatena.ne.jp/yoheiwatanabe0606/</author_url>
  <blog_title>疑念は探究の動機であり、探究の唯一の目的は信念の確定である。</blog_title>
  <blog_url>https://ywatanabevltmathscilogic.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Django REST Framework</anon>
    <anon>DRF</anon>
  </categories>
  <description>概要 Djangoモデルのフィールドにはnullとblankのオプションがある。nullはデータベースに関するオプションであり、blankはアプリケーションのバリデーションに関するオプションである。 オプションそれぞれの場合について、どのような動作をするのか確認する。また、Djano REST Framework(DRF)の場合、APIを実行するとどのようになるのかも確認する。 要約 文字列のフィールド場合(CharField, TextField)、空文字可能にするためには原則blank=Trueのみでいい。 それ以外のフィールドの場合(e.g.BooleanField, DateTimeF…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fywatanabevltmathscilogic.hatenablog.com%2Fentry%2F2023%2F02%2F15%2F021151&quot; title=&quot;Django モデルのフィールドのnullとblankについて - 疑念は探究の動機であり、探究の唯一の目的は信念の確定である。&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-02-15 02:11:51</published>
  <title>Django モデルのフィールドのnullとblankについて</title>
  <type>rich</type>
  <url>https://ywatanabevltmathscilogic.hatenablog.com/entry/2023/02/15/021151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
