{"id":1984,"date":"2020-11-21T13:08:33","date_gmt":"2020-11-21T04:08:33","guid":{"rendered":"https:\/\/www.nblog09.com\/w\/?page_id=1984"},"modified":"2025-09-22T18:05:37","modified_gmt":"2025-09-22T09:05:37","slug":"django-tutorial","status":"publish","type":"page","link":"https:\/\/www.nblog09.com\/w\/django-tutorial\/","title":{"rendered":"0\u304b\u3089\u5b66\u3076Django\u5165\u9580\u8b1b\u5ea7"},"content":{"rendered":"<a href=\"https:\/\/www.udemy.com\/course\/flaskpythonweb\/?couponCode=20260400_NM_DJANGO\" target=\"_blank\"><div class=\"affiliate-box\"><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/09\/Python_and_Django.png\" alt=\"Django\u8b1b\u5ea7\" class=\"affiliate-img\"><div class=\"affiliate-text\"><h3 class=\"affiliate-title\">\u3010Udemy\u3011Django\u5165\u9580\u8b1b\u5ea7(0\u304b\u3089Django\u3092\u5b66\u7fd2: Python\u8b1b\u5ea7\u3064\u304d\uff09<\/h3><p class=\"affiliate-desc\">\u53d7\u8b1b\u751f6500\u4eba\u307b\u3069\u306e\u4eba\u6c17\u8b1b\u5ea7\u3002<strong>View, Template, Model, Class Base View<\/strong>\u306a\u3069\u3092\u6f14\u7fd2\u3092\u53d6\u308a\u5165\u308c\u3064\u3064\u5b66\u3073\u307e\u3059\u3002\u696d\u52d9\u3067\u6d3b\u304b\u305b\u308bDjango\u306e\u57fa\u790e\u77e5\u8b58\u304c\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u3064\u304d\u307e\u3059\u3002<\/p><\/div><\/div><\/a>\n<ol>\n<li><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><br \/>\n1-1. <a href=\"https:\/\/www.nblog09.com\/w\/2020\/11\/23\/windows-django\/\">Anaconda\u3068VSCode\u3092\u7528\u3044\u305fDjango\u958b\u767a\u7528\u306e\u74b0\u5883\u69cb\u7bc9(Windows)<\/a><br \/>\n1-2. <a href=\"https:\/\/www.nblog09.com\/w\/2020\/11\/21\/anaconda-django\/\">Anaconda\u3068VSCode\u3092\u7528\u3044\u305fDjango\u958b\u767a\u7528\u306e\u74b0\u5883\u69cb\u7bc9(Mac)<\/a><\/p>\n<li><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6a5f\u80fd\u306e\u5b9f\u88c5<\/strong><br \/>\n2-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/15\/django-setting-file\/\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u3068\u521d\u671f\u30d5\u30a1\u30a4\u30eb\u306e\u610f\u5473<\/a><br \/>\n2-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/15\/django-first-app\/\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210\u3068\u521d\u671f\u30d5\u30a1\u30a4\u30eb\u306e\u610f\u5473<\/a><br \/>\n2-3. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/20\/django-mapping\/\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3054\u3068\u306eURL\u30de\u30c3\u30d4\u30f3\u30b0<\/a><br \/>\n2-4. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/20\/djngo-template\/\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u914d\u7f6e\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5909\u66f4<\/a><br \/>\n2-5. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/20\/django-view-template\/\">\u30d3\u30e5\u30fc\u304b\u3089\u6e21\u3055\u308c\u305f\u5909\u6570\u3092\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u8868\u793a<\/a><br \/>\n2-6. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/21\/django-static\/\">\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u7f6e\u5148\u8a2d\u5b9a<\/a><br \/>\n2-7. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/09\/django-template-url\/\">{% url %}\u3092\u7528\u3044\u305f\u753b\u9762\u9077\u79fb<\/a><br \/>\n2-8. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/09\/django-common-template\/\">{% extends %}\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e00\u90e8\u3092\u5171\u901a\u5316\u3059\u308b<\/a><br \/>\n2-9. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/10\/django-template-tag\/\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u81ea\u4f5c\u3059\u308b<\/a><br \/>\n2-10. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/08\/django-time\/\">\u6642\u523b\u3092\u6271\u3046\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc<\/a><\/p>\n<li><strong>\u30e2\u30c7\u30eb\u6a5f\u80fd\u306e\u5b9f\u88c5<\/strong><br \/>\n3-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/23\/django-model-migrate\/\">\u30e2\u30c7\u30eb\u306e\u8a18\u8ff0\u30fb\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3<\/a><br \/>\n3-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/03\/django-loop\/\">all\u3067\u30ec\u30b3\u30fc\u30c9\u3092\u5168\u3066\u53d6\u5f97\u3059\u308b<\/a><br \/>\n3-3. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/03\/django-limit\/\">limit, filter\u3067\u5024\u3092\u7d5e\u308a\u8fbc\u3080<\/a><br \/>\n3-4. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/03\/django-get-or-create\/\">\u30e2\u30c7\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u767b\u9332(get_or_create)<\/a><br \/>\n3-5. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/03\/django-order-by\/\">\u30e2\u30c7\u30eb\u306e\u4e26\u3073\u66ff\u3048(order_by)<\/a><br \/>\n3-6. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/01\/23\/django_on_delete\/\">\u5916\u90e8\u30ad\u30fc\u3068on_delete<\/a><br \/>\n3-7. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/04\/13\/django-encrypt\/\">bcrypt, argon2\u3067\u6697\u53f7\u5316\u3059\u308b<\/a><br \/>\n3-8. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/14\/django-field\/\">\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u3064\u3044\u3066\u307e\u3068\u3081<\/a><br \/>\n3-9. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/15\/django-slug\/\">SlugField\u306e\u5229\u7528\u65b9\u6cd5<\/a><br \/>\n3-10. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/17\/django-save\/\">Signal\u306e\u5b9f\u88c5\u65b9\u6cd5<\/a><\/p>\n<li><strong>\u30d3\u30e5\u30fc\u6a5f\u80fd\u306e\u5b9f\u88c5<\/strong><br \/>\n4-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/04\/07\/django-query\/\">GET\u30ea\u30af\u30a8\u30b9\u30c8\u3092View\u3067\u53d6\u5f97\u3057\u3066\u8868\u793a<\/a><br \/>\n4-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/01\/django-redirect\/\">View\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/a><br \/>\n4-3. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/11\/django_or_404\/\">get_object_or_404, get_list_or_404\u3067\u306e\u30ec\u30b3\u30fc\u30c9\u306e\u53d6\u5f97<\/a><\/p>\n<li><strong>\u30d5\u30a9\u30fc\u30e0\u6a5f\u80fd\u306e\u5b9f\u88c5<\/strong><br \/>\n5-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/04\/django-form\/\">\u30d5\u30a9\u30fc\u30e0\u306e\u8868\u793a\u3068POST\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b<\/a><br \/>\n5-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/04\/09\/django_form\/\">as_p, as_ul, as_table\u3067\u306e\u753b\u9762\u8868\u793a<\/a><br \/>\n5-3. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/18\/django-form-initial\/\">\u30d5\u30a9\u30fc\u30e0\u306e\u521d\u671f\u5024\u8a2d\u5b9a<\/a><br \/>\n5-4. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/01\/django-forms-basic\/\">POST\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u5024\u3092\u53d6\u5f97<\/a><br \/>\n5-5. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/06\/django-form-validation\/\">\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c<\/a><br \/>\n5-6. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/06\/django-form-class\/\">\u30d5\u30a9\u30fc\u30e0\u306b\u30af\u30e9\u30b9\u540d\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><br \/>\n5-7. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/02\/06\/django-form-2\/\">ModelForm\u3067\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58<\/a><br \/>\n5-8. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/04\/09\/django_help_text\/\">\u30d2\u30f3\u30c8\u6587\u306e\u8868\u793a<\/a><br \/>\n5-9. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/01\/django-modelform\/\">ModelForm\u3067\u30c7\u30fc\u30bf\u306e\u633f\u5165\u30fb\u66f4\u65b0\u3092\u884c\u3046<\/a><\/p>\n<li><strong>Class Base View\u306e\u5b9f\u88c5<\/strong><br \/>\n6-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/04\/django-class-base-view\/\">\u30af\u30e9\u30b9\u30d9\u30fc\u30b9\u30d3\u30e5\u30fc\u306e\u57fa\u672c\u3068\u4e00\u89a7<\/a><br \/>\n6-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/04\/django_template_view\/\">TemplateView\u306e\u57fa\u672c<\/a><br \/>\n6-3. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/04\/django-list-detail\/\">ListView, DetailView\u306e\u57fa\u672c<\/a><br \/>\n6-4. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/05\/django-crud\/\">CreateView, UpdateView, DeleteView\u306e\u57fa\u672c<\/a><br \/>\n6-5. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/06\/django-listview\/\">ListView\u306e\u5024\u306e\u7d5e\u308a\u8fbc\u307f\u7b49\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a><\/p>\n<li><strong>\u305d\u306e\u4ed6<\/strong><br \/>\n7-1. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/06\/django-debug\/\">debug tool bar\u3092\u5229\u7528\u3057\u305f\u30c7\u30d0\u30c3\u30b0<\/a><br \/>\n7-2. <a href=\"https:\/\/www.nblog09.com\/w\/2019\/05\/10\/django-admin\/\">\u7ba1\u7406\u753b\u9762\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb 1-1. Anaconda\u3068VSCode\u3092\u7528\u3044\u305fDjango\u958b\u767a\u7528\u306e\u74b0\u5883\u69cb\u7bc9(Windows) 1-2. Anaconda\u3068VSCode\u3092\u7528\u3044\u305fDjango\u958b\u767a\u7528\u306e\u74b0\u5883\u69cb\u7bc9(Mac) \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6a5f\u80fd\u306e\u5b9f\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_uag_custom_page_level_css":"","_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"class_list":{"0":"post-1984","1":"page","2":"type-page","3":"status-publish","5":"entry"},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"home-middle":false,"home-top":false,"sidebar-thumbnail":false},"uagb_author_info":{"display_name":"9nmatsumoto","author_link":"https:\/\/www.nblog09.com\/w\/author\/9nmatsumoto\/"},"uagb_comment_info":0,"uagb_excerpt":"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb 1-1. Anaconda\u3068VSCode\u3092\u7528\u3044\u305fDjango\u958b\u767a\u7528\u306e\u74b0\u5883\u69cb\u7bc9(Windows) &hellip;","_links":{"self":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/pages\/1984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/comments?post=1984"}],"version-history":[{"count":30,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/pages\/1984\/revisions"}],"predecessor-version":[{"id":4947,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/pages\/1984\/revisions\/4947"}],"wp:attachment":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/media?parent=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}