{"id":2797,"date":"2023-08-12T20:11:28","date_gmt":"2023-08-12T11:11:28","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=2797"},"modified":"2023-08-12T20:11:29","modified_gmt":"2023-08-12T11:11:29","slug":"2797","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=2797","title":{"rendered":""},"content":{"rendered":"\n<p><code>DEFAULT_AUTO_FIELD<\/code>\u306fDjango 3.2\u3067\u5c0e\u5165\u3055\u308c\u3001\u65b0\u3057\u304f\u4f5c\u6210\u3055\u308c\u308b\u30e2\u30c7\u30eb\u306eID\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3067\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u8a2d\u5b9a\u306b\u57fa\u3065\u3044\u3066ID\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u81ea\u52d5\u3067\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6307\u5b9a\u3055\u308c\u305f2\u3064\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u306e\u9055\u3044\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>django.db.models.AutoField<\/code>:\n<ul class=\"wp-block-list\">\n<li>\u901a\u5e38\u306e\u6574\u6570\u578b\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5fdc\u3058\u3066\u300132\u30d3\u30c3\u30c8\u304b64\u30d3\u30c3\u30c8\u306e\u6574\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u5927\u62b5\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u306f32\u30d3\u30c3\u30c8\u306e\u6574\u6570\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u305d\u306e\u7d50\u679c\u30011\u304b\u30892,147,483,647\u307e\u3067\u306e\u5024\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>django.db.models.BigAutoField<\/code>:\n<ul class=\"wp-block-list\">\n<li>\u9577\u3044\u6574\u6570\u578b\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5e38\u306b64\u30d3\u30c3\u30c8\u306e\u6574\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>1\u304b\u30899,223,372,036,854,775,807\u307e\u3067\u306e\u5024\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>\u3069\u3061\u3089\u3092\u9078\u629e\u3059\u308b\u304b\u306f\u3001\u5c06\u6765\u7684\u306b\u3069\u308c\u3060\u3051\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u304b\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002<code>BigAutoField<\/code>\u306f\u975e\u5e38\u306b\u5927\u91cf\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u6301\u3064\u3053\u3068\u304c\u4e88\u671f\u3055\u308c\u308b\u5834\u5408\u3084\u3001\u5c06\u6765\u7684\u306b\u30ec\u30b3\u30fc\u30c9\u306e\u6570\u304c\u6025\u5897\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001Django 3.2\u4ee5\u964d\u3067\u306f\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u304c<code>BigAutoField<\/code>\u306b\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u5c06\u6765\u7684\u306a\u62e1\u5f35\u6027\u306e\u305f\u3081\u306e\u4e88\u9632\u7b56\u3068\u3057\u3066\u3001\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u53ef\u80fd\u6027\u306b\u5099\u3048\u3066\u306e\u5909\u66f4\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DEFAULT_AUTO_FIELD\u306fDjango 3.2\u3067\u5c0e\u5165\u3055\u308c\u3001\u65b0\u3057\u304f\u4f5c\u6210\u3055\u308c\u308b\u30e2\u30c7\u30eb\u306eID\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3067\u3059\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u8a2d\u5b9a\u306b\u57fa\u3065\u3044\u3066ID\u30d5\u30a3\u30fc\u30eb\u30c9\u304c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2797","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2797"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2797\/revisions"}],"predecessor-version":[{"id":2798,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2797\/revisions\/2798"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}