<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>Django</anon>
  </categories>
  <description>DjangoのModelを定義するけど、フィールド名を取得したいなと思ったときの備忘録。 &lt;Model&gt;._meta.fiedlsでフィールド名が取得できるらしい 使い方 from django.db import models class Group(models.Model): name = models.CharField(max_length=200) class Member(models.Model): name = models.CharField(max_length=200) group = models.ForeignKey(Group, related_name='mem…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2020%2F05%2F18%2F144153&quot; title=&quot;Djangoのモデルでフィールド名を取得する - くらげになりたい。&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-05-18 14:41:53</published>
  <title>Djangoのモデルでフィールド名を取得する</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2020/05/18/144153</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
