{"blog_title":"\u61a7\u308c\u99c6\u52d5\u958b\u767a","image_url":null,"url":"https://atasatamatara.hatenablog.jp/entry/20120723/1343044296","blog_url":"https://atasatamatara.hatenablog.jp/","categories":["Django"],"title":"form\u306eclean\u3059\u308b\u3068\u304d\u306fcleaned_data\u8fd4\u305b\u3070\u826f\u3044&forms.ModelForm\u306f\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3063\u307d\u304f\u3067\u304d\u308b","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatasatamatara.hatenablog.jp%2Fentry%2F20120723%2F1343044296\" title=\"form\u306eclean\u3059\u308b\u3068\u304d\u306fcleaned_data\u8fd4\u305b\u3070\u826f\u3044&amp;forms.ModelForm\u306f\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3063\u307d\u304f\u3067\u304d\u308b - \u61a7\u308c\u99c6\u52d5\u958b\u767a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","height":"190","description":"\u307e\u3042\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u8aad\u3081\u3070\u3044\u3044 \u53c2\u8003::\u30d5\u30a9\u30fc\u30e0\u3084\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3 \u2014 Django v1.0 documentation \u5177\u4f53\u4f8b class HogeForm(forms.ModelForm): # int\u306e\u30d5\u30a3\u30fc\u30eb\u30c9 hoge_int = forms.IntegerField(label=u'\u756a\u53f7', required=False) # char \u306e\u30d5\u30a3\u30fc\u30eb\u30c9 moge_char = forms.CharField(label=u'\u6587\u5b57\u5217', max_length=100, required=False) #\u5358\u4e00\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30c1\u30a7\u30c3\u30af\u3092\u3059\u308b def clean_hog\u2026","published":"2012-07-23 20:51:36","author_url":"https://blog.hatena.ne.jp/atasatamatara/","author_name":"atasatamatara"}