{"width":"100%","url":"https://y0m0r.hateblo.jp/entry/20140402/1396454738","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20140402%2F1396454738\" title=\"django shell\u3067\u5b9f\u884c\u3055\u308c\u308bsql\u3092\u8868\u793a\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"QuerySet\u3067\u3061\u3087\u3063\u3068\u8907\u96d1\u306a\u6761\u4ef6\u3092\u66f8\u3044\u3066\u308b\u3068\u304d\u3068\u304b\u3001sql\u304c\u3069\u3046\u306a\u3063\u3066\u308b\u306e\u304b\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u304c\u3042\u308b\u3002 \u305d\u3093\u306a\u3068\u304d\u306fdjango-extensions\u306eshell_plus\u306e--print-sql\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3068\u4fbf\u5229\u3002 \u30e2\u30c7\u30eb\u3082preload\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3044\u3061\u3044\u3061import\u3057\u306a\u304f\u3066\u3044\u3044 python manage.py shell_plus --bpython --print-sql$ python manage.py help shell_plus Usage: manage.py shell_plus [options] Like the 'shell' command but aut\u2026","title":"django shell\u3067\u5b9f\u884c\u3055\u308c\u308bsql\u3092\u8868\u793a\u3059\u308b","author_name":"yuheiomori0718","provider_url":"https://hatena.blog","published":"2014-04-02 01:05:38","height":"190","type":"rich","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","image_url":null,"provider_name":"Hatena Blog","blog_url":"https://y0m0r.hateblo.jp/","categories":["django"],"version":"1.0"}