<?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>これは JSL(日本システム技研) Advent Calendar 2020 - Qiita の12/21分の記事です。 ちょっとしたDjangoアプリを作る中で、 モデルのデータソースはYAMLにしたい YAMLはマスタ的存在 モデル間のリレーションは存在しない YAMLを書き換えた場合、Djangoアプリを再起動するだけで、データが反映されるようにしたい migrateやfixtureのようなコマンドを使いたくない YAMLに対して、QuerySetの抽出系メソッドを使いたい ということがありました。 DBの代わりに、YAMLをモデルと紐付けられないかを調べましたが、標準ではそれらしいもの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2020%2F12%2F22%2F083107&quot; title=&quot;Djangoとyamdlにより、fixtureを使わずにYAMLとモデルを紐付ける - メモ的な思考的な&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>2020-12-22 08:31:07</published>
  <title>Djangoとyamdlにより、fixtureを使わずにYAMLとモデルを紐付ける</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2020/12/22/083107</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
