<?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>
  </categories>
  <description>Django Vanilla Views - Beautifully simple class based views DjangoのClass-Based-Viewは継承関係が複雑で、ちょっとソースを見てフックポイントを確認したいっていうときに結構めんどくさい。Django Vanilla Viewsは機能はそのままで実装をシンプルにして使いやすくしたもの。図を見ると、○○Mixinがなくなり、継承関係が浅くなっているのがわかる。 適当なサンプルを作って動きを比べてみた。 以下のコードでClassBasedViewを使った一覧表示、新規登録、更新、削除ができる。models.py from …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130927%2F1380292785&quot; title=&quot;Class Based Viewのシンプルな実装「Django Vanilla Views」 - メモ置き場&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuheiomori0718/20130927/20130927203128.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-09-27 23:39:45</published>
  <title>Class Based Viewのシンプルな実装「Django Vanilla Views」</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20130927/1380292785</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
