<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>親バカエンジニアのナレッジ帳</blog_title>
  <blog_url>https://ti-tomo-knowledge.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Python</anon>
  </categories>
  <description>Djangoのモデルでlist_displayってありますよね。 変更リストページでどの項目を表示させるかを選択するオプションです。これを書く時、以下のように書いた結果、 list_display = ('title') こんなエラーが出ました。 django.core.exceptions.ImproperlyConfigured: 'voteadmin.list_display' must be a list or tuple. list_displayはリスト型かタプル型で書けと怒られてます。これの解決方法は至って簡単でした。 以下のように書けばよかったんですね。 list_displa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fti-tomo-knowledge.hatenablog.com%2Fentry%2F2018%2F05%2F24%2F211038&quot; title=&quot;list_displayのエラー「〜must be a list or tuple.」 - 親バカエンジニアのナレッジ帳&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-05-24 21:10:38</published>
  <title>list_displayのエラー「〜must be a list or tuple.」</title>
  <type>rich</type>
  <url>https://ti-tomo-knowledge.hatenablog.com/entry/2018/05/24/211038</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
