<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>django</anon>
    <anon>mysql</anon>
  </categories>
  <description>MySQLの場合はmediumtextにしたい。他にsqlite3を使うことが考えられるが、その場合はtextでいい。こんな感じ？ class MediumTextField(models.TextField): def db_type(self, connection): if connection.settings_dict['ENGINE'] == 'django.db.backends.mysql': return &quot;mediumtext&quot; else: return super(MediumTextField, self).db_type(connection=connection) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120723%2F1343048776&quot; title=&quot;DjangoのモデルでDBカラムにmediumtextを指定する - メモ置き場&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>2012-07-23 22:06:16</published>
  <title>DjangoのモデルでDBカラムにmediumtextを指定する</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120723/1343048776</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
