<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a2c</author_name>
  <author_url>https://blog.hatena.ne.jp/a2c/</author_url>
  <blog_title>When it’s ready.</blog_title>
  <blog_url>https://a2c.hatenablog.com/</blog_url>
  <categories>
    <anon>GAE</anon>
  </categories>
  <description>codereposを覗いてみたら、mattn氏がblogのソースを上げていたのでそれを眺めていたら、モデルの中にメソッドを追加しているところを発見。どーやら、selfのhashを返すメソッドを追加指定ルポイ。そこで、ピーンと来たので逆参照して、ヒモづいているTagのListを返すメソッドを追加してみた。 class Core(db.Model): body = db.StringProperty(required = True) create_at = db.DateTimeProperty(auto_now_add = True) というモデルに def getTags(self): ret…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa2c.hatenablog.com%2Fentry%2F20080417%2F1208439638&quot; title=&quot; モデルに逆参照のメソッド追加すれば楽チンだよ - When it’s ready.&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>2008-04-17 22:40:38</published>
  <title> モデルに逆参照のメソッド追加すれば楽チンだよ</title>
  <type>rich</type>
  <url>https://a2c.hatenablog.com/entry/20080417/1208439638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
