{"id":293,"date":"2019-08-15T16:30:48","date_gmt":"2019-08-15T07:30:48","guid":{"rendered":"http:\/\/snow-cat.net\/?p=293"},"modified":"2020-04-01T21:06:37","modified_gmt":"2020-04-01T12:06:37","slug":"%e3%83%a6%e3%83%bc%e3%82%b6%e6%8b%a1%e5%bc%b5","status":"publish","type":"post","link":"http:\/\/snow-cat.net\/?p=293","title":{"rendered":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u3086\u304d\u306d\u3053\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u524ddjango\u306e\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u306e\u62e1\u5f35\u65b9\u6cd5\u3092\u8abf\u3079\u3066\u7d50\u69cb\u82e6\u52b4\u3057\u305f\u306e\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u306e\u62e1\u5f35\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a18\u8ff0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30e6\u30fc\u30b6\u3092\u62e1\u5f35\u3059\u308b\u305f\u3081\u306b\u306f\u6700\u521d\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u524d\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u30e6\u30fc\u30b6\u7528\u306e\u30a2\u30d7\u30ea\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">python manage.py startapp users<\/pre>\n<p>\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306emodels\u3067user\u3092\u62e1\u5f35\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>models\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e2\u901a\u308a\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>AbstractUser\u3092\u62e1\u5f35\u3059\u308b<\/li>\n<li>\n<div>\n<div>AbstractBaseUser\u3092\u62e1\u5f35\u3059\u308b<\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p>AbstractUser\u3092\u62e1\u5f35\u3059\u308b\u5834\u5408\u306f\u7d99\u627f\u3057\u3066\u8ffd\u8a18\u3057\u3066\u3044\u304f\u3060\u3051\u3067\u3044\u3044\u306e\u3067\u3059\u304c\u3001AbstractBaseUser\u306f<span style=\"font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">PermissionsMixin\u3082\u7d99\u627f\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u307e\u305a\u3001AbstractUse\u306e\u62e1\u5f35\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"users\/models.py\">from django.db import models\r\nfrom django.contrib.auth.models import AbstractUser\r\n\r\nclass User(AbstractUser):\r\n    country = models.CharField(verbose_name='country', max_length=255)\r\n<\/pre>\n<p>AbstractBaseUser\u306e\u62e1\u5f35\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">from django.db import models\r\nfrom django.contrib.auth.base_user import AbstractBaseUser\r\nfrom django.contrib.auth.models import PermissionsMixin\r\n\r\nfrom django.utils.translation import gettext_lazy as _\r\n\r\nclass User(AbstractBaseUser, PermissionsMixin):\r\n    username = models.CharField(\r\n        _('username'),\r\n        max_length=150,\r\n        unique=True,\r\n        help_text=_('Required. 150 characters or fewer. Letters, digits and @\/.\/+\/-\/_ only.'),\r\n        error_messages={\r\n            'unique': _(\"A user with that username already exists.\"),\r\n        },\r\n    )\r\n\r\n    is_active = models.BooleanField(\r\n        _('active'),\r\n        default=True,\r\n        help_text=_(\r\n            'Designates whether this user should be treated as active. '\r\n            'Unselect this instead of deleting accounts.'\r\n        ),\r\n    )\r\n    USERNAME_FIELD = 'username'\r\n\r\n    country = models.CharField(verbose_name='country', max_length=255)<\/pre>\n<p>AbstractBaseUser\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5\u306f\u81ea\u7531\u5ea6\u304c\u5927\u304d\u3044\u3067\u3059\u304c\u3001\u5fc5\u9808\u9805\u76ee\u304c\u3061\u3087\u3063\u3068\u3081\u3093\u3069\u304f\u3055\u3044\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u306b\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u5185\u306bform\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"\/users\/forms.py\">from django import forms\r\nfrom django.utils.translation import ugettext_lazy as _\r\n\r\nfrom wagtail.users.forms import UserEditForm, UserCreationForm\r\n\r\nclass CustomUserEditForm(UserEditForm):\r\n    country = forms.CharField(required=True, label=_(\"Country\"))\r\n\r\n\r\nclass CustomUserCreationForm(UserCreationForm):\r\n    country = forms.CharField(required=True, label=_(\"Country\"))<\/pre>\n<p>\u305d\u3057\u3066\u62e1\u5f35\u3057\u305fmodel\u3068forms\u3092\u8a8d\u8b58\u3055\u305b\u308b\u305f\u3081\u306bmysite\/settings\/base.py\u306b\u4ee5\u4e0b\u3092\u52a0\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">INSTALLED_APPS = [\r\n...\r\n    'users',\r\n...\r\n]\r\n.\r\n.\r\n.\r\nAUTH_USER_MODEL = 'users.User'\r\n\r\nWAGTAIL_USER_EDIT_FORM = 'users.forms.CustomUserEditForm'\r\nWAGTAIL_USER_CREATION_FORM = 'users.forms.CustomUserCreationForm'\r\nWAGTAIL_USER_CUSTOM_FIELDS = ['country']\r\n<\/pre>\n<p>\u305f\u3060\u3001\u3053\u306e\u307e\u307e\u3067\u306f\u7ba1\u7406\u753b\u9762\u306b\u5909\u5316\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b\u3053\u3068\u3067\u5909\u66f4\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\/users\/templates\/wagtailusers\/users\/create.html<\/p>\n<p>\/users\/templates\/wagtailusers\/users\/edit.html<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306f\u3053\u3093\u306a\u611f\u3058\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"create.html\">{% extends \"wagtailusers\/users\/create.html\" %}\r\n\r\n{% block extra_fields %}\r\n    {% include \"wagtailadmin\/shared\/field_as_li.html\" with field=form.country %}\r\n{% endblock extra_fields %}<\/pre>\n<pre class=\"lang:default decode:true\" title=\"edit.html\">{% extends \"wagtailusers\/users\/edit.html\" %}\r\n\r\n{% block extra_fields %}\r\n    {% include \"wagtailadmin\/shared\/field_as_li.html\" with field=form.country %}\r\n{% endblock extra_fields %}<\/pre>\n<p>\u3053\u308c\u3067\u30e6\u30fc\u30b6\u306e\u767b\u9332\u3001\u5909\u66f4\u753b\u9762\u306bcountry\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u4ee5\u524ddjango\u306e\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u306e\u62e1\u5f35\u65b9\u6cd5\u3092\u8abf\u3079\u3066\u7d50\u69cb\u82e6\u52b4\u3057\u305f\u306e\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u306e\u62e1\u5f35\u65b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-1"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiro\"\/>\n\t<meta name=\"keywords\" content=\"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/snow-cat.net\/?p=293\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u3086\u304d\u306d\u3053 | \u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/snow-cat.net\/?p=293\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-08-15T07:30:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-01T12:06:37+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#article\",\"name\":\"django\\u3067\\u30e6\\u30fc\\u30b6\\u30e2\\u30c7\\u30eb\\u3092\\u62e1\\u5f35\\u3059\\u308b\\u65b9\\u6cd5 | \\u3086\\u304d\\u306d\\u3053\",\"headline\":\"django\\u3067\\u30e6\\u30fc\\u30b6\\u30e2\\u30c7\\u30eb\\u3092\\u62e1\\u5f35\\u3059\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\"},\"datePublished\":\"2019-08-15T16:30:48+09:00\",\"dateModified\":\"2020-04-01T21:06:37+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#webpage\"},\"articleSection\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/snow-cat.net\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"position\":2,\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\",\"item\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#listItem\",\"name\":\"django\\u3067\\u30e6\\u30fc\\u30b6\\u30e2\\u30c7\\u30eb\\u3092\\u62e1\\u5f35\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#listItem\",\"position\":3,\"name\":\"django\\u3067\\u30e6\\u30fc\\u30b6\\u30e2\\u30c7\\u30eb\\u3092\\u62e1\\u5f35\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?cat=1#listItem\",\"name\":\"\\u305d\\u306e\\u4ed6\\u3082\\u308d\\u3082\\u308d\"}}]},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\",\"name\":\"\\u3086\\u304d\\u306d\\u3053\",\"description\":\"\\u90fd\\u5185\\u3067\\u50cd\\u3044\\u3066\\u3044\\u308b\\u6587\\u7cfbSE\\u3067\\u3059\\u3002\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/?author=1\",\"name\":\"hiro\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0266890b4dc540ca6de4dffdc44dcc19158ff74388ab5c362eb814f5ba8b5816?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiro\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#webpage\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/?p=293\",\"name\":\"django\\u3067\\u30e6\\u30fc\\u30b6\\u30e2\\u30c7\\u30eb\\u3092\\u62e1\\u5f35\\u3059\\u308b\\u65b9\\u6cd5 | \\u3086\\u304d\\u306d\\u3053\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?p=293#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/?author=1#author\"},\"datePublished\":\"2019-08-15T16:30:48+09:00\",\"dateModified\":\"2020-04-01T21:06:37+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#website\",\"url\":\"http:\\\/\\\/snow-cat.net\\\/\",\"name\":\"\\u3086\\u304d\\u306d\\u3053\",\"description\":\"\\u90fd\\u5185\\u3067\\u50cd\\u3044\\u3066\\u3044\\u308b\\u6587\\u7cfbSE\\u3067\\u3059\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"http:\\\/\\\/snow-cat.net\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053","description":"","canonical_url":"http:\/\/snow-cat.net\/?p=293","robots":"max-image-preview:large","keywords":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/snow-cat.net\/?p=293#article","name":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053","headline":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5","author":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"publisher":{"@id":"http:\/\/snow-cat.net\/#organization"},"datePublished":"2019-08-15T16:30:48+09:00","dateModified":"2020-04-01T21:06:37+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"http:\/\/snow-cat.net\/?p=293#webpage"},"isPartOf":{"@id":"http:\/\/snow-cat.net\/?p=293#webpage"},"articleSection":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"},{"@type":"BreadcrumbList","@id":"http:\/\/snow-cat.net\/?p=293#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/snow-cat.net#listItem","position":1,"name":"Home","item":"http:\/\/snow-cat.net","nextItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"}},{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","position":2,"name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","item":"http:\/\/snow-cat.net\/?cat=1","nextItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?p=293#listItem","name":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?p=293#listItem","position":3,"name":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"http:\/\/snow-cat.net\/?cat=1#listItem","name":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d"}}]},{"@type":"Organization","@id":"http:\/\/snow-cat.net\/#organization","name":"\u3086\u304d\u306d\u3053","description":"\u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","url":"http:\/\/snow-cat.net\/"},{"@type":"Person","@id":"http:\/\/snow-cat.net\/?author=1#author","url":"http:\/\/snow-cat.net\/?author=1","name":"hiro","image":{"@type":"ImageObject","@id":"http:\/\/snow-cat.net\/?p=293#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0266890b4dc540ca6de4dffdc44dcc19158ff74388ab5c362eb814f5ba8b5816?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiro"}},{"@type":"WebPage","@id":"http:\/\/snow-cat.net\/?p=293#webpage","url":"http:\/\/snow-cat.net\/?p=293","name":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053","inLanguage":"ja","isPartOf":{"@id":"http:\/\/snow-cat.net\/#website"},"breadcrumb":{"@id":"http:\/\/snow-cat.net\/?p=293#breadcrumblist"},"author":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"creator":{"@id":"http:\/\/snow-cat.net\/?author=1#author"},"datePublished":"2019-08-15T16:30:48+09:00","dateModified":"2020-04-01T21:06:37+09:00"},{"@type":"WebSite","@id":"http:\/\/snow-cat.net\/#website","url":"http:\/\/snow-cat.net\/","name":"\u3086\u304d\u306d\u3053","description":"\u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","inLanguage":"ja","publisher":{"@id":"http:\/\/snow-cat.net\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u3086\u304d\u306d\u3053 | \u90fd\u5185\u3067\u50cd\u3044\u3066\u3044\u308b\u6587\u7cfbSE\u3067\u3059\u3002","og:type":"article","og:title":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053","og:url":"http:\/\/snow-cat.net\/?p=293","article:published_time":"2019-08-15T07:30:48+00:00","article:modified_time":"2020-04-01T12:06:37+00:00","twitter:card":"summary","twitter:title":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5 | \u3086\u304d\u306d\u3053"},"aioseo_meta_data":{"post_id":"293","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 04:05:55","updated":"2025-06-04 04:40:15","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/snow-cat.net\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/snow-cat.net\/?cat=1\" title=\"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d\">\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tdjango\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/snow-cat.net"},{"label":"\u305d\u306e\u4ed6\u3082\u308d\u3082\u308d","link":"http:\/\/snow-cat.net\/?cat=1"},{"label":"django\u3067\u30e6\u30fc\u30b6\u30e2\u30c7\u30eb\u3092\u62e1\u5f35\u3059\u308b\u65b9\u6cd5","link":"http:\/\/snow-cat.net\/?p=293"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pattVc-4J","jetpack-related-posts":[{"id":320,"url":"http:\/\/snow-cat.net\/?p=320","url_meta":{"origin":293,"position":0},"title":"\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30e1\u30cb\u30e5\u30fc\u306b\u9805\u76ee\u3092\u8ffd\u52a0\u3059\u308b","author":"hiro","date":"2019\u5e748\u670816\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u308f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u5f15\u304d\u7d9a\u304d\u3001wagtail\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002 \u30b3\u30f3\u30c6\u30f3\u30c4\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"http:\/\/snow-cat.net\/?cat=18"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2019\/08\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2019-08-16-22.41.07-159x300.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1348,"url":"http:\/\/snow-cat.net\/?p=1348","url_meta":{"origin":293,"position":1},"title":"firestore\u306e\u8003\u5bdf","author":"hiro","date":"2022\u5e743\u670819\u65e5","format":false,"excerpt":"\u6700\u8fd1firestore\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u305f\u306e\u3067\u8003\u5bdf\u3067\u3059\u3002 \u8003\u5bdf\u306e\u307e\u3068\u3081 \u8003\u5bdf\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u2026","rel":"","context":"DB\u8a2d\u8a08","block_context":{"text":"DB\u8a2d\u8a08","link":"http:\/\/snow-cat.net\/?cat=19"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":403,"url":"http:\/\/snow-cat.net\/?p=403","url_meta":{"origin":293,"position":2},"title":"Django\u5b66\u7fd2\u306e\u30b9\u30b9\u30e1","author":"hiro","date":"2020\u5e744\u67081\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u9000\u8077\u3057\u3066\u304b\u3089\u3057\u3070\u3089\u304fDjango\u3092\u3044\u3058\u3063\u3066\u305f\u306e\u3067\u3001\u3069\u3093\u306a\u5b66\u7fd2\u306e\u9032\u3081\u65b9\u304c\u3044\u2026","rel":"","context":"Python","block_context":{"text":"Python","link":"http:\/\/snow-cat.net\/?cat=18"},"img":{"alt_text":"","src":"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=snowcat043-22&language=ja_JP&l=li3&o=9&a=B07NG9BCKG","width":350,"height":200},"classes":[]},{"id":959,"url":"http:\/\/snow-cat.net\/?p=959","url_meta":{"origin":293,"position":3},"title":"heroku\u306bdocker-compose\u3092\u4f7f\u3063\u3066Laravel\u88fd\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","author":"hiro","date":"2021\u5e745\u67082\u65e5","format":false,"excerpt":"\u6700\u8fd1\u500b\u4eba\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30d5\u30e9\u3069\u3046\u3057\u3088\u3046\u304b\u306a\u3068\u601d\u3063\u3066\u3068\u308a\u3042\u3048\u305aheroku\u3067\u884c\u3053\u3046\u3068\u2026","rel":"","context":"heroku","block_context":{"text":"heroku","link":"http:\/\/snow-cat.net\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1050%2C600 3x, https:\/\/i0.wp.com\/snow-cat.net\/wp-content\/uploads\/2021\/04\/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2021-04-30-12.40.46.png?resize=1400%2C800 4x"},"classes":[]},{"id":993,"url":"http:\/\/snow-cat.net\/?p=993","url_meta":{"origin":293,"position":4},"title":"Laravel8\u306bvue.js\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5","author":"hiro","date":"2021\u5e745\u67083\u65e5","format":false,"excerpt":"\u73fe\u5728\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9032\u3081\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001vue\u3092\u5c0e\u5165\u3059\u308b\u65b9\u6cd5\u306f\u666e\u901a\u306bSPA\u3067\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3068\u306f\u82e5\u5e72\u7570\u306a\u308b\u2026","rel":"","context":"JavaScript","block_context":{"text":"JavaScript","link":"http:\/\/snow-cat.net\/?cat=11"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"http:\/\/snow-cat.net\/?p=137","url_meta":{"origin":293,"position":5},"title":"DynamoDB\u306e\u30e6\u30fc\u30b6\u60c5\u5831","author":"hiro","date":"2019\u5e741\u670821\u65e5","format":false,"excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001\u3086\u304d\u306d\u3053\u3067\u3059\u3002 \u8ee2\u8077\u3057\u3066\u304b\u3089\u57fa\u672c\u7684\u306b\u30d5\u30ed\u30f3\u30c8\u3092\u3084\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u624b\u304c\u4f59\u3063\u3066\u30b5\u30fc\u30d0\u30b5\u30a4\u2026","rel":"","context":"AWS","block_context":{"text":"AWS","link":"http:\/\/snow-cat.net\/?cat=16"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":10,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":405,"href":"http:\/\/snow-cat.net\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions\/405"}],"wp:attachment":[{"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/snow-cat.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}