{"id":6053,"date":"2018-11-24T05:45:19","date_gmt":"2018-11-23T20:45:19","guid":{"rendered":"http:\/\/blog.jansnap.com\/?p=6053"},"modified":"2021-12-19T20:36:07","modified_gmt":"2021-12-19T11:36:07","slug":"heroku%e3%81%abdjango%e3%81%ae%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%82%92%e3%83%87%e3%83%97%e3%83%ad%e3%82%a4%e3%81%97%e3%81%9f%e6%99%82%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc%e3%81a","status":"publish","type":"post","link":"https:\/\/blog.jansnap.com\/?p=6053","title":{"rendered":"Heroku\u306bDjango\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u6642\u306e\u30a8\u30e9\u30fc\u306e\u30e1\u30e2"},"content":{"rendered":"<p><a href=\"\/okoppe8\" class=\"user-mention js-hovercard\" title=\"okoppe8\" data-hovercard-target-type=\"user\" data-hovercard-target-name=\"okoppe8\">@okoppe8<\/a> \u3055\u3093\u306e\u300c<a href=\"https:\/\/qiita.com\/okoppe8\/items\/76cdb202eb15aab566d1\" id=\"reference-430841024f8a41b17390\">[Django] Heroku \u30c7\u30d7\u30ed\u30a4\u65b9\u6cd5 2018\u5e74\u7248<\/a>\u300d\u3092\u5143\u306b\u3001Heroku\u306bDjango\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3057\u305f\u3002<br>\n\u81ea\u5206\u306e\u7406\u89e3\u3082\u517c\u306d\u3066\u3001\u30b3\u30d4\u307a\u3067\u306a\u304f\u624b\u6253\u3061\u3067\u5199\u7d4c\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u56f0\u3063\u305f\u306e\u3067\u5099\u5fd8\u9332\u3067\u3059\u3002<br>\n\u539f\u56e0\u306f\u79c1\u306e\u6253\u3061\u9593\u9055\u3044\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b0\u30b0\u3063\u3066\u3082\u4e00\u767a\u3067\u89e3\u6c7a\u7b56\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u540c\u3058\u72b6\u6cc1\u306b\u306a\u308a\u305d\u3046\u306a\u672a\u6765\u306e\u81ea\u5206\u5411\u3051\u306b\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%81%AE%E7%A2%BA%E8%AA%8D\"><\/span>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u78ba\u8a8d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ heroku run python --version\nPython 3.6.6\n$ heroku run python -c \"import django; print(django.get_version())\"\n2.1.3<\/code><\/pre>\n\n\n\n<p><code>runtime.txt<\/code> \u3084 <code>requirements.txt<\/code> \u3067\u6307\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"heroku_run_python_managepy_createsuperuser_%E3%81%A7%E3%82%A8%E3%83%A9%E3%83%BC\"><\/span>\nheroku run python manage.py createsuperuser \u3067\u30a8\u30e9\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ heroku run python manage.py createsuperuser\ndjango.db.utils.OperationalError: no such table: auth_user<\/code><\/pre>\n\n\n\n<p>\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u3068Heroku\u74b0\u5883\u3067DB\u306e\u63a5\u7d9a\u65b9\u6cd5\u3092\u5909\u3048\u3001\u300cDEBUG=False\u300d\u3067\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3057\u305f\u304c\u3001Heroku\u74b0\u5883\u3067\u300cDEBUG=True\u300d\u306b\u5909\u3048\u308b\u306e\u3092\u5fd8\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"%E3%83%9E%E3%82%A4%E3%82%B0%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%8C%E8%A1%8C%E3%82%8F%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E7%A2%BA%E8%AA%8D\"><\/span>\n\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<p><code>$ heroku run python manage.py showmigrations<\/code> \u3067\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"text\" class=\"language-text\">admin\n [X] 0001_initial<\/code><\/pre>\n\n\n\n<p>\u306e\u3088\u3046\u306b\u3001\u300c<code>[X]<\/code>\u300d\u306a\u3089OK\u3002<br>\n\u300c<code>[ ]<\/code>\u300d\u306a\u3089\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001DB\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br>\n(\u3042\u308b\u3044\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\/settings.py\u306e\u300cDEBUG=False\u300d\u304cTrue\u306e\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3059\uff09<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"createsuperuser%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E5%8B%95%E3%81%84%E3%81%9F%E5%A0%B4%E5%90%88\"><\/span>\ncreatesuperuser\u304c\u6b63\u3057\u304f\u52d5\u3044\u305f\u5834\u5408<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<p>\u6b63\u3057\u304f\u52d5\u304f\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u540d\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5bfe\u8a71\u5f62\u5f0f\u3067\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ heroku run python manage.py createsuperuser\nUsername (leave blank to use 'abcde12345'): \nEmail address: \nPassword: \nPassword (again): \nSuperuser created successfully.<\/code><\/pre>\n\n\n\n<h2><span class=\"ez-toc-section\" id=\"python_managepy_runserver_%E3%81%A7%E9%96%8B%E7%99%BA%E7%94%A8%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E8%B5%B7%E5%8B%95%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%9F%E6%99%82%E3%81%AB%E3%80%81SyntaxError_%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E5%87%BA%E3%82%8B\"><\/span>\npython manage.py runserver \u3067\u958b\u767a\u7528\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u306b\u3001SyntaxError \u30a8\u30e9\u30fc\u304c\u51fa\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ python manage.py runserver\n  File \"manage.py\", line 14\n    ) from exc\n         ^\nSyntaxError: invalid syntax<\/code><\/pre>\n\n\n\n<p>python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c2\u7cfb\u3060\u3063\u305f\u5834\u5408\u306b\u51fa\u307e\u3059\u3002<a href=\"https:\/\/docs.djangoproject.com\/ja\/2.1\/faq\/install\/#faq-python-version-support\" rel=\"nofollow noopener\" target=\"_blank\">Django2\u7cfb\u3067\u306f\u3001Python3\u7cfb\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/a><br>\n\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u306b\u7570\u306a\u308bpython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5165\u3063\u3066\u3044\u305f\u308a\u3001docker\u306b\u7570\u306a\u308bpython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306a\u3069\u3067\u767a\u751f\u3057\u307e\u3059\u3002<br>\n<code>python --version<\/code> \u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"WEB%E3%82%B5%E3%83%BC%E3%83%90gunicorn%E3%81%8C%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%AA%E3%81%84\"><\/span>\nWEB\u30b5\u30fc\u30d0(gunicorn)\u304c\u8d77\u52d5\u3057\u306a\u3044<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"text\" class=\"language-text\">heroku[web.1]: State changed from crashed to starting\nheroku[web.1]: Starting process with command `unicorn manager_project.sgi --log-file -`\nheroku[web.1]: State changed from starting to crashed\nheroku[web.1]: Process exited with status 127\napp[web.1]: bash: unicorn: command not found<\/code><\/pre>\n\n\n\n<p>\u300c<code>Starting process with command ...<\/code>\u300d\u306e\u884c\u306b\u6ce8\u76ee\u3057\u3001<code>Procfile<\/code>\u306b\u66f8\u3044\u305f\u30b3\u30de\u30f3\u30c9\u304c\u9593\u9055\u3048\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<br>\n(\u4e0a\u8a18\u3067\u306f\u3001gunicorn\u3092unicorn\u3068\u9593\u9055\u3048\u3066\u3044\u3066\u3001.wsgi\u3092.sgi\u3068\u9593\u9055\u3048\u3066\u3044\u308b)<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E7%92%B0%E5%A2%83%E3%81%A7%E3%81%AF%E5%8B%95%E3%81%8F%E3%81%AE%E3%81%AB%E3%80%81Heroku%E3%81%A7%E3%81%AFmodule%E3%81%8C%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%89%E3%81%AA%E3%81%84\"><\/span>\n\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u306f\u52d5\u304f\u306e\u306b\u3001Heroku\u3067\u306fmodule\u304c\u898b\u3064\u304b\u3089\u306a\u3044<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>\u30ed\u30b0\u306b503\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306f\u3001git push\u3057\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u306e\u30ed\u30b0\u3092\u898b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"text\" class=\"language-text\">app[web.1]: File \"\/app\/.heroku\/python\/lib\/python3.6\/site-packages\/gunicorn\/util.py\", line 350, in import_app\napp[web.1]: __import__(module)\napp[web.1]: ModuleNotFoundError: No module named 'manager_project.sgi'<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u5834\u5408\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u3092\u300c.wsgi\u300d\u3068\u3059\u3079\u304d\u3092\u300c.sgi\u300d\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u305a\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%86%E3%82%B9%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E4%BD%9C%E6%88%90%E3%81%AE%E3%81%9F%E3%82%81%E3%81%ABPython%E3%82%B7%E3%82%A7%E3%83%AB%E3%81%A7%E3%83%A2%E3%83%87%E3%83%AB%E3%82%92import%E3%81%99%E3%82%8B%E6%99%82%E3%81%AB%E3%82%A8%E3%83%A9%E3%83%BC\"><\/span>\n\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u4f5c\u6210\u306e\u305f\u3081\u306bPython\u30b7\u30a7\u30eb\u3067\u30e2\u30c7\u30eb\u3092import\u3059\u308b\u6642\u306b\u30a8\u30e9\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>\u30e2\u30c7\u30eb\u3092\u5b9a\u7fa9\u3057\u3066\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u4f5c\u6210\u306e\u305f\u3081\u306bPython\u30b7\u30a7\u30eb\u304b\u3089<br>\n<code>$ heroku run python manage.py shell<\/code><br>\n<code>>>> from manager.models import Person, Manager, Worker<\/code><br>\n\u3068\u3001\u30e2\u30c7\u30eb\u3092import\u3057\u305f\u6642\u306b\u3001<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"text\" class=\"language-text\">RuntimeError: Model class manager.models.Person doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.<\/code><\/pre>\n\n\n\n<p>\u3068\u51fa\u305f\u6642\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\/settings.py \u306e INSTALLED_APPS \u306b\u66f8\u3044\u305f\u30a2\u30d7\u30ea\u540d\u304c\u6b63\u3057\u3044\u304b\u3001\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%93%E3%83%A5%E3%83%BC%E3%81%A8%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%A6%E3%80%81%E9%96%8B%E7%99%BA%E7%94%A8WEB%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%9F%E3%82%89%E3%80%81%E3%82%A8%E3%83%A9%E3%83%BC\"><\/span>\n\u30d3\u30e5\u30fc\u3068\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001\u958b\u767a\u7528WEB\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u305f\u3089\u3001\u30a8\u30e9\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"text\" class=\"language-text\">  File \"\/code\/manager_project\/urls.py\", line 21, in <module>\n    path('worker_list\/', manager_view.WorkerListView.as_view())\nNameError: name 'manager_view' is not defined<\/module><\/code><\/pre>\n\n\n\n<p>urls.py\u3067\u300cimport manager.views as manager_view\u300d\u306e\u3088\u3046\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3079\u304d\u3092\u3001\u5fd8\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"heroku_log_%E3%81%A7%E5%87%BA%E3%82%8BDjango%E3%81%AE%E3%83%AD%E3%82%B0%E3%82%92DEBUG%E3%83%AC%E3%83%99%E3%83%AB%E3%81%AB%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B\"><\/span>\nheroku log \u3067\u51fa\u308bDjango\u306e\u30ed\u30b0\u3092DEBUG\u30ec\u30d9\u30eb\u306b\u5909\u66f4\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>\u30ed\u30b0\u306b\u8868\u793a\u3055\u308c\u308b\u60c5\u5831\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001<code>heroku config:set DJANGO_LOG_LEVEL=DEBUG<\/code> \u3067DEBUG\u30ec\u30d9\u30eb\u306e\u30ed\u30b0\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br>\n(\u3042\u307e\u308a\u5185\u5bb9\u306b\u5909\u308f\u308a\u304c\u7121\u3044\u6c17\u3082\u3057\u307e\u3059\u304c\u3002\u3002\u3002)<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"\/okoppe8\" class=\"user-mention js-hovercard\" title=\"okoppe8\" data-hovercard-target-type=\"user\" data-hovercard-target-name=\"okoppe8\">@okoppe8<\/a> \u3055\u3093\u306e\u300c<a href=\"https:\/\/qiita.com\/okoppe8\/items\/76cdb202eb15aab566d1\" id=\"reference-430841024f8a41b17390\">[Django] Heroku \u30c7\u30d7\u30ed\u30a4\u65b9\u6cd5 2018\u5e74\u7248<\/a>\u300d\u3092\u5143\u306b\u3001Heroku\u306bDjango\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3057\u305f\u3002<br \/>\n  \u81ea\u5206\u306e\u7406\u89e3\u3082\u517c\u306d\u3066\u3001\u30b3\u30d4\u307a\u3067\u306a\u304f\u624b\u6253\u3061\u3067\u5199\u7d4c\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u56f0\u3063\u305f\u306e\u3067\u5099\u5fd8\u9332\u3067\u3059\u3002<br \/>\n  \u539f\u56e0\u306f\u79c1\u306e\u6253\u3061\u9593\u9055\u3044\u3067\u3059\u304c\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b0\u30b0\u3063\u3066\u3082\u4e00\u767a\u3067\u89e3\u6c7a\u7b56\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u540c\u3058\u72b6\u6cc1\u306b\u306a\u308a\u305d\u3046\u306a\u672a\u6765\u306e\u81ea\u5206\u5411\u3051\u306b\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4219,4106,4218,4070],"tags":[4217,4103,4216],"class_list":["post-6053","post","type-post","status-publish","format-standard","hentry","category-deploy","category-django","category-heroku","category-python","tag-deploy","tag-django","tag-heroku"],"_links":{"self":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/6053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6053"}],"version-history":[{"count":1,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/6053\/revisions"}],"predecessor-version":[{"id":6375,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/6053\/revisions\/6375"}],"wp:attachment":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}