{"type":"rich","title":"Django \u306e\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u6c4e\u7528\u30d3\u30e5\u30fc\u3067 FormSet \u3092\u4f7f\u3046\u65b9\u6cd5","height":"190","image_url":null,"published":"2011-12-12 00:00:00","url":"https://tnakamura.hatenablog.com/entry/20111212/django_class_based_generic_view_with_formset","provider_url":"https://hatena.blog","blog_title":"present","blog_url":"https://tnakamura.hatenablog.com/","width":"100%","version":"1.0","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","author_url":"https://blog.hatena.ne.jp/griefworker/","categories":["Python"],"provider_name":"Hatena Blog","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>","author_name":"griefworker"}