<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Python</anon>
  </categories>
  <description>DjangoにてDBのNOT NULL 制約を外したい場合、nullとblankのどちらを使えばよいのか忘れることがあるため、メモしておきます。 目次 環境 違い 確認 Model マイグレーションファイルの作成 sqlmigrateで、発行されるSQLを確認 マイグレーションファイルを適用 データの投入 SQLiteのCLIでデータを確認 ソースコード 環境 Python 3.6.5 Django 2.0.5 違い stackoverflowにありました。 python - differentiate null=True, blank=True in django - Stack Overf…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2018%2F06%2F21%2F082731&quot; title=&quot;DjangoのModelのFieldのオプション 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>2018-06-21 08:27:31</published>
  <title>DjangoのModelのFieldのオプション null と blank の違いについて</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2018/06/21/082731</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
