{"id":10212,"date":"2020-04-12T15:24:12","date_gmt":"2020-04-12T06:24:12","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=10212"},"modified":"2020-06-07T16:45:17","modified_gmt":"2020-06-07T07:45:17","slug":"django-django-allauth%e3%81%a7%e3%80%81%e3%82%b5%e3%82%af%e3%83%83%e3%81%a8%e3%82%bd%e3%83%bc%e3%82%b7%e3%83%a3%e3%83%ab%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e6%a9%9f%e8%83%bd%e3%82%92%e5%ae%9f","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=10212","title":{"rendered":"Django django-allauth\u3067\u3001\u30b5\u30af\u30c3\u3068\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u5b9f\u88c5"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-full wp-image-10252\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d17fb3e60f0c8b6b4cd0c00a57927e28.png\" alt=\"\" width=\"450\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d17fb3e60f0c8b6b4cd0c00a57927e28.png 319w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d17fb3e60f0c8b6b4cd0c00a57927e28-300x58.png 300w\" sizes=\"(max-width: 319px) 100vw, 319px\" \/><\/p>\n<p>\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>\u4e45\u3005\u306b\u3001Django\u3092\u89e6\u308a\u3060\u3059\u3068\u3001\u300c\u3042\u308c\u3001\u3053\u308c\u3069\u3046\u3060\u3063\u305f\u3051\uff1f\u300d\u304c\u767a\u751f\u3057\u3061\u3083\u3063\u305f\u306e\u3067\u3001<\/p>\n<p>\u3059\u3053\u3057\u307e\u3068\u3081\u3066\u304a\u3053\u3046\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u4e8b\u3067\u3001\u4eca\u56de\u306f\u3001django-allauth\u7528\u3044\u305f\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u5b9f\u88c5\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001DRF\uff08Django REST Framework\uff09\u3067\u306f\u306a\u304f\u3001\u901a\u5e38\u306e\u30e2\u30ce\u30ea\u30b7\u30c3\u30af\u306a\u69cb\u9020\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>DRF\u306b\u95a2\u3057\u3066\u306f\u3001\u6b21\u56de\u306b\u3067\u3082\u8a18\u8ff0\u3067\u304d\u308c\u3070\u306a\u3068\u3002<\/p>\n<h4>\u30d0\u30fc\u30b8\u30e7\u30f3<\/h4>\n<ul>\n<li>django 2.2.10<\/li>\n<li>python 3.7<\/li>\n<\/ul>\n<p>2020 4\u670812\u65e5\u73fe\u5728\u3001\u901a\u5e38\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u3066\u3057\u307e\u3046\u3068 Django\u306e\u30d0\u30fc\u30b8\u30e7\u30f33\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3057\u307e\u3044\u3001<\/p>\n<p>admin\u5074\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3068\u3044\u3046\u4e8b\u614b\u304c\u8d77\u3053\u308a\u307e\u3057\u305f\u306e\u3067\u3001LTS\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b\u3001\u30d0\u30fc\u30b8\u30e7\u30f32.2.10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30bd\u30fc\u30b9\u3060\u3051\u898b\u305f\u3044\u65b9\u306f\u3001\u3053\u3061\u3089\u304b\u3089<\/p>\n<p><strong>GitHub<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/webcyou-org\/django-allauth-sample\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/webcyou-org\/django-allauth-sample<\/a><\/p>\n<h4>\u74b0\u5883\u4f5c\u6210<\/h4>\n<p>\u307e\u305a\u306f\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ mkdir django-auth-test && cd django-auth-test<\/pre>\n<p>pipenv\u7528\u3044\u3066\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ pipenv install django==2.2.10 django-allauth\r\n$ pipenv shell<\/pre>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u5206\u5225\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u5206\u304b\u308a\u3084\u3059\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u6210\u306b\u3059\u308b\u305f\u3081\u3001\u300c<strong>config<\/strong>\u300d\u3068\u3044\u3046\u540d\u524d\u3067startproject\u30b3\u30de\u30f3\u30c9\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>startapp\u3067\u306f\u300caccounts\u300d\u306e\u540d\u524d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(django-auth-test) $ django-admin startproject config .\r\n(django-auth-test) $ python manage.py startapp accounts<\/pre>\n<h4>django-allauth\u306e\u7279\u5fb4<\/h4>\n<p>django-allauth\u306f\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3001\u4ee5\u4e0b\u306e\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u82e6\u52b4\u3059\u308b\u3053\u3068\u306a\u304f\u8a8d\u8a3c\u8a8d\u53ef\u5468\u308a\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<ul class=\"simple\">\n<li>\u30ed\u30b0\u30a4\u30f3<\/li>\n<li>\u30ed\u30b0\u30a2\u30a6\u30c8<\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4<\/li>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9\u518d\u8a2d\u5b9a<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u767b\u9332<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u6642\u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u767b\u9332\u78ba\u8a8d<\/li>\n<li>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3<\/li>\n<li>\u30ed\u30b0\u30a4\u30f3\u5931\u6557\u56de\u6570\u5236\u9650<\/li>\n<li>\u30bd\u30fc\u30b7\u30e3\u30eb\u9023\u643a\u8a8d\u8a3c<\/li>\n<li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u7528\u610f<\/li>\n<\/ul>\n<h5>django-allauth\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/h5>\n<p><a href=\"https:\/\/django-allauth.readthedocs.io\/en\/latest\/installation.html\" target=\"_blank\" rel=\"noopener\">https:\/\/django-allauth.readthedocs.io\/en\/latest\/installation.html<\/a><\/p>\n<p><strong>\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3<\/strong><\/p>\n<p><a href=\"https:\/\/django-allauth.readthedocs.io\/en\/latest\/providers.html\" target=\"_blank\" rel=\"noopener\">https:\/\/django-allauth.readthedocs.io\/en\/latest\/providers.html<\/a><\/p>\n<h4>allauth\u8ffd\u52a0<\/h4>\n<p>\u300c<strong>config\/settings.py<\/strong>\u300d\u3092\u4fee\u6b63\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001django-allauth\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8ffd\u52a0\u3092\u884c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><strong>config\/settings.py<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">'django.contrib.sites',\r\n'allauth',\r\n'allauth.account',\r\n'allauth.socialaccount',\r\n'allauth.socialaccount.providers.github',\r\n'allauth.socialaccount.providers.twitter',\r\n'allauth.socialaccount.providers.google',<\/pre>\n<p>\u300callauth.socialaccount.providers.\u3007\u3007\u3007\u3007\u300d\u306f\u3001\u5229\u7528\u3057\u305f\u3044provider\u6bce\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u300c<strong>GitHub\u3001Twitter\u3001Google<\/strong>\u300d\u306e3\u3064\u3092\u884c\u3063\u3066\u3044\u304d\u307e\u3059\u3002\uff08Facebook\u306f\u7533\u8acb\u304c\u9762\u5012\u304f\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u3002\u3002\uff09<\/p>\n<p><strong>TEMPLATES<\/strong>\u306e\u7b87\u6240\u306b\u306f\u3001\u4ee5\u4e0b\u3092\u8ffd\u52a0<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">'BACKEND': 'django.template.backends.django.DjangoTemplates',\r\n'DIRS': &#x5B;os.path.join(BASE_DIR, 'templates')],<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">TEMPLATES = &#x5B;\r\n    {\r\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\r\n        'DIRS': &#x5B;os.path.join(BASE_DIR, 'templates')],\r\n        'APP_DIRS': True,\r\n        'OPTIONS': {\r\n            'context_processors': &#x5B;\r\n                'django.template.context_processors.debug',\r\n                'django.template.context_processors.request',\r\n                'django.contrib.auth.context_processors.auth',\r\n                'django.contrib.messages.context_processors.messages',\r\n            ],\r\n        },\r\n    },\r\n]<\/pre>\n<p>AUTHENTICATION_BACKENDS\u306f\u3001<\/p>\n<p>\u300c&#8217;django.contrib.auth.backends.ModelBackend&#8217;\u300d<\/p>\n<p>\u300c&#8217;allauth.account.auth_backends.AuthenticationBackend&#8217;\u300d<\/p>\n<p>\u3092\u8ffd\u52a0\u3002<\/p>\n<p>\u7ba1\u7406\u753b\u9762\u306f\u30e6\u30fc\u30b6\u30fc\u540d\/\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u8a8d\u8a3c\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">AUTHENTICATION_BACKENDS = (\r\n    'django.contrib.auth.backends.ModelBackend',\r\n    'allauth.account.auth_backends.AuthenticationBackend',  # django-allauth \u3092\u8ffd\u52a0\r\n)<\/pre>\n<p># 1: \u8a8d\u8a3c\u2f45\u5f0f\u3092 \u300c\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u300d \u306b\u5909\u66f4\u3057\u30e6\u30fc\u30b6\u30fc\u540d\u306f\u4f7f\u2f64\u3057\u306a\u3044\u8a2d\u5b9a\u306b\u3057\u307e\u3059\u3002<br \/>\n# 2: django-allauth\u306b\u5fc5\u8981\u8a18\u8ff0<br \/>\n# 3: \u30ed\u30b0\u30a4\u30f3\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8URL\u306e\u8a2d\u5b9a<br \/>\n# 4: \u30ed\u30b0\u30a2\u30a6\u30c8\u30ea\u30f3\u30af\u306e\u8a2d\u5b9a<br \/>\n# 5: \u30e6\u30fc\u30b6\u30fc\u767b\u9332\u6642\u306b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u78ba\u8a8d\u3002\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u753b\u9762\u3067\u306bEmail\u3092\u5fc5\u9808\u9805\u76ee<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\"># 1\r\nACCOUNT_AUTHENTICATION_METHOD = 'email'\r\nACCOUNT_USERNAME_REQUIRED = False\r\n\r\n# 2\r\nSITE_ID = 1\r\n\r\n# 3\r\nLOGIN_REDIRECT_URL = 'home'\r\nACCOUNT_LOGOUT_REDIRECT_URL = '\/accounts\/login\/'\r\n\r\n# 4\r\nACCOUNT_LOGOUT_ON_GET = True\r\n\r\n# 5\r\nACCOUNT_EMAIL_VARIFICATION = 'mandatory'\r\nACCOUNT_EMAIL_REQUIRED = True<\/pre>\n<p>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u78ba\u8a8d\u306e\u70ba\u3001\u30e1\u30fc\u30eb\u914d\u4fe1\u3092\u884c\u3046\u306e\u3067\u3059\u304c\u3001\u8a2d\u5b9a\u304c\u624b\u9593\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u958b\u767a\u4e2d\u306f\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u305b\u308b\u8a2d\u5b9a\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'<\/pre>\n<h4>templates\u4f5c\u6210<\/h4>\n<p>\u300ctemplates\/home.html\u300d \u306ehtml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u3001\u30ed\u30b0\u30a2\u30a6\u30c8\u306a\u3069\u304c\u884c\u3048\u308b\u30da\u30fc\u30b8\u3092\u7528\u610f\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">{% extends &quot;base.html&quot; %}\r\n\r\n{% block title %}\u30db\u30fc\u30e0{% endblock %}\r\n\r\n{% block content %}\r\n&lt;h2&gt;\u30db\u30fc\u30e0&lt;\/h2&gt;\r\n{% if user.is_authenticated %}\r\n\u3088\u3046\u3053\u305d {{ user.get_username }} \u3055\u3093\r\n&lt;p&gt;&lt;a href=&quot;{% url 'account_logout' %}&quot;&gt;\u30ed\u30b0\u30a2\u30a6\u30c8&lt;\/a&gt;&lt;\/p&gt;\r\n{% else %}\r\n&lt;p&gt;&lt;a href=&quot;{% url 'account_login' %}&quot;&gt;\u30ed\u30b0\u30a4\u30f3&lt;\/a&gt;&lt;\/p&gt;\r\n{% endif %}\r\n{% endblock %}<\/pre>\n<h4>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(django-auth-test)$ python manage.py migrate<\/pre>\n<p>\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210<\/h4>\n<p>\u7ba1\u7406\u753b\u9762\u3092\u5229\u7528\u3067\u304d\u308b\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc (\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc) \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u7ba1\u7406\u30b3\u30de\u30f3\u30c9\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(django-auth-test) $ python manage.py createsuperuser<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(django-auth-test)$ python manage.py createsuperuser\r\nUsername (leave blank to use 'user1'): admin\r\nEmail address: admin@webcyou.com\r\nPassword: # \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\r\nPassword (again): \r\nThis password is too common. # \u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5358\u7d14\u904e\u304e\u308b\u5834\u5408\u306f\u30a8\u30e9\u30fc\u767a\u751f\r\nPassword: \r\nPassword (again): \r\nSuperuser created successfully.<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u3053\u307e\u3067\u3001\u5b8c\u4e86\u3057\u305f\u3089\u30bd\u30fc\u30b7\u30e3\u30eb\u9023\u643a\u8a8d\u8a3c\u3092\u884c\u3046\u305f\u3081\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u3067\u306eOAuth \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>GitHub\u3001Twitter\u3001Google\u306e\u8a2d\u5b9a<\/h4>\n<p>\u4eca\u56de\u306f\u300c<strong>GitHub\u3001Twitter\u3001Google<\/strong>\u300d\u3067\u30ed\u30b0\u30a4\u30f3\u3092\u884c\u3044\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u3066\u00a0OAuth \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h5>github<\/h5>\n<p>Settings &gt;\u00a0Developer settings<\/p>\n<p><a href=\"https:\/\/github.com\/settings\/developers\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/settings\/developers<\/a><\/p>\n<p>\u300c<strong>New OAuth App<\/strong>\u300d\u30dc\u30bf\u30f3\u62bc\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10227\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/5eecef6352174849f8da42bf387e146e.png\" alt=\"\" width=\"247\" height=\"151\" \/><\/p>\n<p>Application name: \u4efb\u610f<\/p>\n<p>Homepage URL: \u4efb\u610f<\/p>\n<p>Authorization callback URL: http:\/\/localhost:8000\/accounts\/github\/login\/callback\/<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10226\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/34b3bda310f1c0f45003891c00f11c99.png\" alt=\"\" width=\"435\" height=\"329\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/34b3bda310f1c0f45003891c00f11c99.png 551w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/34b3bda310f1c0f45003891c00f11c99-300x227.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/p>\n<p>\u5165\u529b\u3057\u3001\u4fdd\u5b58\u3002<\/p>\n<p>\u300c<strong>Client ID<\/strong>\u300d\u3068\u300c<strong>Client Secret<\/strong>\u300d\u304c\u767a\u884c\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u5f8c\u307b\u3069\u5229\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10228\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/618afbaa5f5b98f4c08eb64bfef326e2.png\" alt=\"\" width=\"365\" height=\"149\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/618afbaa5f5b98f4c08eb64bfef326e2.png 412w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/618afbaa5f5b98f4c08eb64bfef326e2-300x122.png 300w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/p>\n<h5>google<\/h5>\n<p><strong>Google Cloud Platform<\/strong><\/p>\n<p><a href=\"https:\/\/console.developers.google.com\/apis\" target=\"_blank\" rel=\"noopener\">https:\/\/console.developers.google.com\/apis<\/a><\/p>\n<p>\u4e0a\u8a18\u306e\u30ea\u30f3\u30af\u3088\u308a\u767b\u9332\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>Google Cloud Platform\u306b\u767b\u9332\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u5de6\u4e0a\u306e\u300c<strong>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9078\u629e<\/strong>\u300d\u3092\u62bc\u4e0b\u3001\u30e2\u30fc\u30c0\u30eb\u304c\u8868\u793a\u3059\u308b\u306e\u3067\u53f3\u4e0a\u306e\u300c<strong>\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong>\u300d\u3092\u62bc\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10232\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/19aa98817c4e8d32e390026b47541a46.png\" alt=\"\" width=\"599\" height=\"113\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/19aa98817c4e8d32e390026b47541a46.png 763w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/19aa98817c4e8d32e390026b47541a46-300x57.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>\u300c\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u753b\u9762\u304c\u8868\u793a\u3057\u307e\u3059\u306e\u3067\u3001\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u300d\u306b\u4efb\u610f\u306e\u540d\u524d\u3092\u5165\u529b\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u5165\u529b\u3057\u305f\u3089\u300c\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u62bc\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10234\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/80092af6a28ca4c098171b6fcbd6e7b2-1.png\" alt=\"\" width=\"561\" height=\"245\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/80092af6a28ca4c098171b6fcbd6e7b2-1.png 561w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/80092af6a28ca4c098171b6fcbd6e7b2-1-300x131.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/p>\n<p>\u30e1\u30cb\u30e5\u30fc\u300c<strong>\u8a8d\u8a3c\u60c5\u5831<\/strong>\u300d\u3092\u62bc\u4e0b\u3001\u300c<strong>\u8a8d\u8a3c\u60c5\u5831\u3092\u4f5c\u6210<\/strong>\u300d\u3092\u62bc\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10236\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/2ab972c12448f86184293eb7273b5c5c.png\" alt=\"\" width=\"433\" height=\"238\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/2ab972c12448f86184293eb7273b5c5c.png 536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/2ab972c12448f86184293eb7273b5c5c-300x165.png 300w\" sizes=\"auto, (max-width: 433px) 100vw, 433px\" \/><\/p>\n<p>\u300c<strong>OAuth \u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID<\/strong>\u300d\u3092\u9078\u629e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10237\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/004460e4600a3ee0d722d9a6645c9012.png\" alt=\"\" width=\"492\" height=\"482\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/004460e4600a3ee0d722d9a6645c9012.png 641w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/004460e4600a3ee0d722d9a6645c9012-300x293.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/p>\n<p>\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3002<\/p>\n<p class=\"cfc-space-above-plus-4\">\u627f\u8a8d\u6e08\u307f\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 URI\u306b\u3001\u300chttp:\/\/localhost:8000\/accounts\/google\/login\/callback\/\u300d\u3092\u5165\u529b\u3057\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10238\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a5ad6498d9bdbffd1791fc93adc87878.png\" alt=\"\" width=\"565\" height=\"428\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a5ad6498d9bdbffd1791fc93adc87878.png 978w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a5ad6498d9bdbffd1791fc93adc87878-300x227.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a5ad6498d9bdbffd1791fc93adc87878-768x582.png 768w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/p>\n<p>\u300c<strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID<\/strong>\u300d\u300c<strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b7\u30fc\u30af\u30ec\u30c3\u30c8<\/strong>\u300d\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u5f8c\u307b\u3069\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<h5>twitter<\/h5>\n<p><strong>twitter\u00a0developer\u00a0<\/strong><\/p>\n<p><a href=\"https:\/\/developer.twitter.com\/en\/apps\" target=\"_blank\" rel=\"noopener\">https:\/\/developer.twitter.com\/en\/apps<\/a><\/p>\n<p>\u3053\u3053\u3067\u30a2\u30d7\u30ea\u3001\u30b5\u30a4\u30c8\u306e\u767b\u9332\u3092\u884c\u3044\u307e\u3059\u3002\u300c<strong>Create an App<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p>twitter\u306eAPI\u767b\u9332\u306b\u95a2\u3057\u3066\u306f\u3001\u5c11\u3005\u9577\u304f\u306a\u308a\u307e\u3059\u306e\u3067\u5272\u611b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<p>\uff08\u3044\u3064\u304b\u307e\u3068\u3081\u307e\u3059\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10241\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/b0c1c24aaadba89b944d4353a3012824.png\" alt=\"\" width=\"673\" height=\"343\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/b0c1c24aaadba89b944d4353a3012824.png 1049w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/b0c1c24aaadba89b944d4353a3012824-300x153.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/b0c1c24aaadba89b944d4353a3012824-768x392.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/b0c1c24aaadba89b944d4353a3012824-1024x522.png 1024w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><\/p>\n<p>\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea \uff1e Key and tokens<\/p>\n<p>\u306b\u3001\u300c<strong>API key<\/strong>\u300d\u300c<strong>API secret key<\/strong>\u300d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u5f8c\u307b\u3069\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>TwitterAPI\u3067\u6c17\u3092\u3064\u3051\u306a\u3044\u3068\u884c\u3051\u306a\u3044\u70b9\u306f\u3001\u521d\u671f\u3067\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3067\u304d\u305a\u3001\u5225\u9014\u7533\u8acb\u304c\u5fc5\u8981\u3068\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\uff08\u3053\u3061\u3089\u3082\u3069\u3053\u304b\u3067\u307e\u3068\u3081\u3089\u308c\u308c\u3070\u3068\u3002\uff09<\/p>\n<p>\u3068\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u306e\u300c<strong>API key<\/strong>\u300d\u300c<strong>API secret key<\/strong>\u300d\u304c\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u306e\u3067\u3001Django\u30a2\u30d7\u30ea\u306e\u65b9\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>callbackURL\u306f\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u30d1\u30bf\u30fc\u30f3\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>http:\/\/localhost:8000\/accounts\/{provider\u540d}\/login\/callback\/<\/p>\n<h4>\u958b\u767a\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5<\/h4>\n<p>\u305d\u308c\u3067\u306f\u3001\u8d77\u52d5\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">(django-auth-test)$ python manage.py runserver 0.0.0.0:8000<\/pre>\n<p>\u300chttp:\/\/localhost:8000\/admin\/\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u4e0a\u8a18\u3067\u4f5c\u6210\u3057\u305f\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10243\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/0b1e006cdb09545c72defb221f8f2e99.png\" alt=\"\" width=\"484\" height=\"421\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/0b1e006cdb09545c72defb221f8f2e99.png 637w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/0b1e006cdb09545c72defb221f8f2e99-300x261.png 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/p>\n<p>\u300c<strong>Social applications<\/strong>\u300d\u3092\u62bc\u4e0b\u3057\u3001\u53f3\u4e0a\u306e\u300c<strong>SOCIAL APPLICATION\u3092\u8ffd\u52a0<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10244\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/2154d4106340fcc3a16539d2ec80588e.png\" alt=\"\" width=\"247\" height=\"71\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10245\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/375f544b71c9a43e1ef26467007e255a.png\" alt=\"\" width=\"577\" height=\"200\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/375f544b71c9a43e1ef26467007e255a.png 842w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/375f544b71c9a43e1ef26467007e255a-300x104.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/375f544b71c9a43e1ef26467007e255a-768x266.png 768w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<p>\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306b\u3001\u300c<strong>config\/settings.py<\/strong>\u300d\u3067\u8ffd\u52a0\u3057\u305fprovider\u304c\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u3057\u305fprovider\u3092\u9078\u629e\u3057\u3001\u4e0a\u8a18\u3067\u767a\u884c\u3057\u305f\u300cClient id\u300d\u300cSecret key\u300d\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10246\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d3988435f97fe06c4ad4e2e3d77aaf78.png\" alt=\"\" width=\"545\" height=\"227\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d3988435f97fe06c4ad4e2e3d77aaf78.png 845w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d3988435f97fe06c4ad4e2e3d77aaf78-300x125.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/d3988435f97fe06c4ad4e2e3d77aaf78-768x320.png 768w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/p>\n<p>sites\u3082\u9078\u629e\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u4e00\u901a\u308a\u5b8c\u4e86\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u767b\u9332\u3001\u30ed\u30b0\u30a4\u30f3\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>\u767b\u9332\u30c6\u30b9\u30c8<\/h4>\n<p><a href=\"http:\/\/localhost:8000\/accounts\/login\/\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost:8000\/accounts\/login\/<\/a><\/p>\n<p>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u3059\u308b\u3068\u767b\u9332\u3057\u305fprovider\u304c\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u5404\u30b5\u30fc\u30d3\u30b9\u306b\u975e\u30ed\u30b0\u30a4\u30f3\u6642\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306bID\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u753b\u9762\u304c\u8868\u793a\u3057\u307e\u3059\u306e\u3067\u3001\u5165\u529b\u3057\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p>\uff08\u753b\u50cf\u306fGitHub\u306e\u4f8b\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10247\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a67f0f9856e525fa33f0a5397a10601f.png\" alt=\"\" width=\"263\" height=\"451\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a67f0f9856e525fa33f0a5397a10601f.png 370w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a67f0f9856e525fa33f0a5397a10601f-175x300.png 175w\" sizes=\"auto, (max-width: 263px) 100vw, 263px\" \/><\/p>\n<p>\u767b\u9332\u3001\u30ed\u30b0\u30a4\u30f3\u6210\u529f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10248\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a19a33d6f87d515ee93bce581e73cdfa.png\" alt=\"\" width=\"216\" height=\"123\" \/><\/p>\n<p>Twitter\u306b\u95a2\u3057\u3066\u306f\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u53d6\u5f97\u306e\u7533\u8acb\u3092\u3057\u3066\u3044\u306a\u3044\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5165\u529b\u9805\u76ee\u304c\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u540c\u3058\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3067\u767b\u9332\u3057\u3066\u3044\u308b\u5834\u5408\u3082\u540c\u3058\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10249\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a780134d8e6486e5cd5d52213efdfd2e.png\" alt=\"\" width=\"284\" height=\"195\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a780134d8e6486e5cd5d52213efdfd2e.png 371w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/a780134d8e6486e5cd5d52213efdfd2e-300x206.png 300w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/p>\n<h4>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u8a8d\u8a3c<\/h4>\n<p>\u30bd\u30fc\u30b7\u30e3\u30eb\u9023\u643a\u3067\u306e\u767b\u9332\u4ee5\u5916\u306b\u3082\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u306e\u767b\u9332\u3082\u53ef\u80fd\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u300c<strong>config\/settings.py<\/strong>\u300d\u306b\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'<\/pre>\n<p>\u3092\u8ffd\u52a0\u3057\u305f\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30e1\u30fc\u30eb\u5185\u5bb9\u304c\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u767b\u9332\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10250\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/aca15c7c5a223c8d26823efd467671e6.png\" alt=\"\" width=\"425\" height=\"248\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/aca15c7c5a223c8d26823efd467671e6.png 581w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2020\/04\/aca15c7c5a223c8d26823efd467671e6-300x175.png 300w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/p>\n<p>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u78ba\u8a8d\u3092\u5165\u529b\u3057\u3066\u767b\u9332\u3059\u308b\u3068\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u9001\u4fe1\u3055\u308c\u308b\u30e1\u30fc\u30eb\u5185\u5bb9\u304c\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Content-Type: text\/plain; charset=&quot;utf-8&quot;\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: 7bit\r\nSubject: &#x5B;example.com] Please Confirm Your E-mail Address\r\nFrom: webmaster@localhost\r\nTo: \u5b9b\u5148\r\nDate: Sun, 12 Apr 2020 00:35:53 -0000\r\nMessage-ID: \u30e1\u30c3\u30bb\u30fc\u30b8ID\r\n\r\nHello from example.com!\r\n\r\nYou're receiving this e-mail because user d.takayama.web has given yours as an e-mail address to connect their account.\r\n\r\nTo confirm this is correct, go to http:\/\/localhost:8000\/accounts\/confirm-email\/&lt;hashID&gt;\/\r\n\r\nThank you from example.com!\r\nexample.com<\/pre>\n<p>\u300chttp:\/\/localhost:8000\/accounts\/confirm-email\/\/\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u78ba\u8a8d\u304c\u53d6\u308c\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u300cis_active: true\u300d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3068\u8a00\u3063\u305f\u611f\u3058\u3067\u3001Django django-allauth\u3067\u3001\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u5b9f\u88c5\u65b9\u6cd5\u3067\u3057\u305f\u3002<\/p>\n<p>\u6b21\u56de\u306f\u3001Django REST Framework\u3067\u3082\u3084\u3063\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3041\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3067\u3059\u3002 \u4e45\u3005\u306b\u3001Django\u3092\u89e6\u308a\u3060\u3059\u3068\u3001\u300c\u3042\u308c\u3001\u3053\u308c\u3069\u3046\u3060\u3063\u305f\u3051\uff1f\u300d\u304c\u767a\u751f\u3057\u3061\u3083\u3063\u305f\u306e\u3067\u3001 \u3059\u3053\u3057\u307e\u3068\u3081\u3066\u304a\u3053\u3046\u304b\u306a\u3068\u601d\u3044\u307e\u3057\u305f\u3002 \u3068\u3044\u3046\u4e8b\u3067\u3001\u4eca\u56de\u306f\u3001django-allauth\u7528\u3044\u305f\u30bd\u30fc\u30b7\u30e3\u30eb\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3092\u5b9f\u88c5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[257],"tags":[168,176,40,166,37,47,178,78,114,118],"class_list":["post-10212","post","type-post","status-publish","format-standard","hentry","category-python","tag-html","tag-html5","tag-ios-sdk","tag-iphone","tag-iphone-","tag-javascript-2","tag-178","tag-78","tag-114","tag-118"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/10212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10212"}],"version-history":[{"count":20,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/10212\/revisions"}],"predecessor-version":[{"id":10327,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/10212\/revisions\/10327"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}