{"url":"https://tnakamura.hatenablog.com/entry/20111212/django_class_based_generic_view_with_formset","categories":["Python"],"image_url":null,"author_name":"griefworker","blog_url":"https://tnakamura.hatenablog.com/","title":"Django \u306e\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u6c4e\u7528\u30d3\u30e5\u30fc\u3067 FormSet \u3092\u4f7f\u3046\u65b9\u6cd5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F20111212%2Fdjango_class_based_generic_view_with_formset\" title=\"Django \u306e\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u6c4e\u7528\u30d3\u30e5\u30fc\u3067 FormSet \u3092\u4f7f\u3046\u65b9\u6cd5 - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_name":"Hatena Blog","version":"1.0","type":"rich","provider_url":"https://hatena.blog","published":"2011-12-12 00:00:00","author_url":"https://blog.hatena.ne.jp/griefworker/","blog_title":"present","description":"Django \u306e\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u6c4e\u7528\u30d3\u30e5\u30fc\u306e CreateView \u3084 UpdateView \u3067\u3001\u4e0b\u306e\u3088\u3046\u306a FormSet \u3092\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u3002 from django.forms import ModelForm from django.forms.models import inlineformset_factory from receipts.models import Receipt, Detail class ReceiptForm(ModelForm): class Meta: model = Receipt exclude = (\"user\", \"created\") Detail\u2026","width":"100%"}