<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>Django</anon>
  </categories>
  <description>Django でアプリ作ってて、ふと気になったのでまとめてみた。ざっくり、こんな感じ？ 機能 Model &amp; Form ModelForm validation 指示 Model &amp; Form の両方で定義 Model で定義 フォーム上の項目 Form で定義 Model の定義から、ModelForm が自動決定 *対応表 フォームで表示する項目 Form で定義 ModelForm で定義 save メソッド Model.save() ModelForm.save() （Model.save() も使える） DB の カラム以上のフィールドが不要なフォームでは、ModelForm を使う…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2016%2F12%2F26%2F221016&quot; title=&quot;forms.Model と forms.ModelForm の 違いって - AWS / PHP / Python ちょいメモ&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>2016-12-26 22:10:16</published>
  <title>forms.Model と forms.ModelForm の 違いって</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2016/12/26/221016</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
