{"id":891,"date":"2017-10-14T15:05:45","date_gmt":"2017-10-14T07:05:45","guid":{"rendered":"http:\/\/192.168.1.20\/?p=891"},"modified":"2017-10-23T11:51:46","modified_gmt":"2017-10-23T03:51:46","slug":"django-{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}e5{d4daabd1ba368d9860c36387ddb72bbda14f8f9559d69d60a952800885260c03}9f{47dd41ec6bdcbd9a214c783a3735392b82ea6d1d918378c5a53e0640","status":"publish","type":"post","link":"http:\/\/alextop.top\/?p=891","title":{"rendered":"Django\u00a0\u57fa\u672c\u547d\u4ee4"},"content":{"rendered":"<h1>Django\u00a0<span class=\"color_h1\">\u57fa\u672c\u547d\u4ee4<\/span><\/h1>\n<div class=\"chapter\"><\/div>\n<p>\u672c\u8282\u4e3b\u8981\u662f\u4e3a\u4e86\u8ba9\u60a8\u4e86\u89e3\u4e00\u4e9bdjango\u6700\u57fa\u672c\u7684\u547d\u4ee4\uff0c<strong>\u8bf7\u5c1d\u8bd5\u7740\u8bb0\u4f4f\u5b83\u4eec\uff0c\u5e76\u4e14\u591a\u591a\u7ec3\u4e60\u4e0b\uff0c\u7279\u522b\u662f\u6807\u8bb0\u4e3a\u7ea2\u8272\u7684\u90a3\u4e9b<\/strong><\/p>\n<p><strong>\u6253\u5f00 Linux \u6216 MacOS \u7684 Terminal \uff08\u7ec8\u7aef\uff09\u76f4\u63a5\u5728 \u7ec8\u7aef\u4e2d\u8f93\u5165\u8fd9\u4e9b\u547d\u4ee4\uff08\u4e0d\u662f python \u7684 shell\u4e2d\uff09<\/strong><\/p>\n<p><strong>\u5982\u679c\u662f windows \u7528 cmd\uff08\u5f00\u59cb \u641c\u7d22 cmd \u6216\u8005 \u5feb\u6377\u952e\u00a0<\/strong><strong>win + R\uff0c\u8f93\u5165 cmd<\/strong><strong>) \u76f4\u63a5\u5728 cmd \u4e0a\u64cd\u4f5c\u3002<\/strong><\/p>\n<h2>1. \u65b0\u5efa\u4e00\u4e2a django project<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">django-admin.py\u00a0startproject\u00a0project_name<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash plain\">\u7279\u522b\u662f\u5728\u00a0windows\u00a0\u4e0a\uff0c\u5982\u679c\u62a5\u9519\uff0c\u5c1d\u8bd5\u7528\u00a0django-admin\u00a0\u4ee3\u66ff\u00a0django-admin.py\u00a0\u8bd5\u8bd5<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6ce8\u610f project_name \u662f\u81ea\u5df1\u7684\u9879\u76ee\u540d\u79f0\uff0c\u9700\u8981\u4e3a\u5408\u6cd5\u7684 Python \u5305\u540d\uff0c\u5982\u4e0d\u80fd\u4e3a 1a \u6216 a-b\u3002<\/p>\n<h2>2. \u65b0\u5efa app<\/h2>\n<p>\u8981\u5148\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\u4e0b\uff0ccd project_name \u7136\u540e\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff08\u4e0b\u540c\uff0c\u5df2\u7ecf\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u5219\u4e0d\u9700\u8981 cd project_name\uff09<\/p>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0startapp\u00a0app_name<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash plain\">\u6216\u00a0django-admin.py\u00a0startapp\u00a0app_name<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e00\u822c\u4e00\u4e2a\u9879\u76ee\u6709\u591a\u4e2aapp, \u5f53\u7136\u901a\u7528\u7684app\u4e5f\u53ef\u4ee5\u5728\u591a\u4e2a\u9879\u76ee\u4e2d\u4f7f\u7528\u3002<\/p>\n<p>\u4e0e\u9879\u76ee\u540d\u7c7b\u4f3c app name \u4e5f\u9700\u8981\u4e3a\u5408\u6cd5\u7684 Python \u5305\u540d\uff0c\u5982 blog\uff0cnews, aboutus \u7b49\u90fd\u662f\u5408\u6cd5\u7684 app \u540d\u79f0\u3002<\/p>\n<h2>3. \u521b\u5efa\u6570\u636e\u5e93\u8868 \u6216 \u66f4\u6539\u6570\u636e\u5e93\u8868\u6216\u5b57\u6bb5<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<div class=\"line number8 index7 alt1\">8<\/div>\n<div class=\"line number9 index8 alt2\">9<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">Django\u00a01.7.1\u53ca\u4ee5\u4e0a\u00a0\u7528\u4ee5\u4e0b\u547d\u4ee4<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash comments\">#\u00a01.\u00a0\u521b\u5efa\u66f4\u6539\u7684\u6587\u4ef6<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0makemigrations<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"bash comments\">#\u00a02.\u00a0\u5c06\u751f\u6210\u7684py\u6587\u4ef6\u5e94\u7528\u5230\u6570\u636e\u5e93<\/code><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0migrate<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><\/div>\n<div class=\"line number7 index6 alt2\"><\/div>\n<div class=\"line number8 index7 alt1\"><code class=\"bash plain\">\u65e7\u7248\u672c\u7684Django\u00a01.6\u53ca\u4ee5\u4e0b\u7528<\/code><\/div>\n<div class=\"line number9 index8 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0syncdb<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5728SQL\u7b49\u6570\u636e\u5e93\u4e2d\u521b\u5efa\u4e0emodels.py\u4ee3\u7801\u5bf9\u5e94\u7684\u8868\uff0c\u4e0d\u9700\u8981\u81ea\u5df1\u624b\u52a8\u6267\u884cSQL\u3002<\/p>\n<p>\u5907\u6ce8\uff1a\u5bf9\u5df2\u6709\u7684 models \u8fdb\u884c\u4fee\u6539\uff0cDjango 1.7\u4e4b\u524d\u7684\u7248\u672c\u7684Django\u90fd\u662f\u65e0\u6cd5\u81ea\u52a8\u66f4\u6539\u8868\u7ed3\u6784\u7684\uff0c\u4e0d\u8fc7\u6709\u7b2c\u4e09\u65b9\u5de5\u5177 south,\u8be6\u89c1\u00a0<a href=\"http:\/\/code.ziqiangxuetang.com\/django\/django-data-migration.html\" target=\"_self\">Django \u6570\u636e\u5e93\u8fc1\u79fb<\/a>\u00a0\u4e00\u8282\u3002<\/p>\n<h2>4. \u4f7f\u7528\u5f00\u53d1\u670d\u52a1\u5668<\/h2>\n<p>\u5f00\u53d1\u670d\u52a1\u5668\uff0c\u5373\u5f00\u53d1\u65f6\u4f7f\u7528\uff0c\u4e00\u822c\u4fee\u6539\u4ee3\u7801\u540e\u4f1a\u81ea\u52a8\u91cd\u542f\uff0c\u65b9\u4fbf\u8c03\u8bd5\u548c\u5f00\u53d1\uff0c\u4f46\u662f\u7531\u4e8e\u6027\u80fd\u95ee\u9898\uff0c\u5efa\u8bae\u53ea\u7528\u6765\u6d4b\u8bd5\uff0c\u4e0d\u8981\u7528\u5728\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<div class=\"line number8 index7 alt1\">8<\/div>\n<div class=\"line number9 index8 alt2\">9<\/div>\n<div class=\"line number10 index9 alt1\">10<\/div>\n<div class=\"line number11 index10 alt2\">11<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0runserver<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"bash comments\">#\u00a0\u5f53\u63d0\u793a\u7aef\u53e3\u88ab\u5360\u7528\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u7528\u5176\u5b83\u7aef\u53e3\uff1a<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"bash plain\">python\u00a0manage.py\u00a0runserver\u00a08001<\/code><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0runserver\u00a09999<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><code class=\"bash plain\">\uff08\u5f53\u7136\u4e5f\u53ef\u4ee5<\/code><code class=\"bash functions\">kill<\/code><code class=\"bash plain\">\u6389\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b\uff0c\u5177\u4f53\u540e\u9762\u6709\u8bb2\uff0c\u6b64\u5904\u60f3\u77e5\u9053\u7684\u540c\u5b66\u53ef\u67e5\u4e0b\u00a0<\/code><code class=\"bash functions\">lsof<\/code>\u00a0<code class=\"bash plain\">\u547d\u4ee4\u7528\u6cd5\uff09<\/code><\/div>\n<div class=\"line number7 index6 alt2\"><\/div>\n<div class=\"line number8 index7 alt1\"><code class=\"bash comments\">#\u00a0\u76d1\u542c\u673a\u5668\u6240\u6709\u53ef\u7528\u00a0ip\u00a0\uff08\u7535\u8111\u53ef\u80fd\u6709\u591a\u4e2a\u5185\u7f51ip\u6216\u591a\u4e2a\u5916\u7f51ip\uff09<\/code><\/div>\n<div class=\"line number9 index8 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0runserver\u00a00.0.0.0:8000<\/code><\/div>\n<div class=\"line number10 index9 alt1\"><code class=\"bash comments\">#\u00a0\u5982\u679c\u662f\u5916\u7f51\u6216\u8005\u5c40\u57df\u7f51\u7535\u8111\u4e0a\u53ef\u4ee5\u7528\u5176\u5b83\u7535\u8111\u67e5\u770b\u5f00\u53d1\u670d\u52a1\u5668<\/code><\/div>\n<div class=\"line number11 index10 alt2\"><code class=\"bash comments\">#\u00a0\u8bbf\u95ee\u5bf9\u5e94\u7684\u00a0ip\u52a0\u7aef\u53e3\uff0c\u6bd4\u5982\u00a0http:\/\/172.16.20.2:8000<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>5. \u6e05\u7a7a\u6570\u636e\u5e93<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0flush<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6b64\u547d\u4ee4\u4f1a\u8be2\u95ee\u662f yes \u8fd8\u662f no, \u9009\u62e9 yes \u4f1a\u628a<strong>\u6570\u636e\u5168\u90e8\u6e05\u7a7a\u6389<\/strong>\uff0c\u53ea\u7559\u4e0b\u7a7a\u8868\u3002<\/p>\n<h2>6. \u521b\u5efa\u8d85\u7ea7\u7ba1\u7406\u5458<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0createsuperuser<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"bash comments\">#\u00a0\u6309\u7167\u63d0\u793a\u8f93\u5165\u7528\u6237\u540d\u548c\u5bf9\u5e94\u7684\u5bc6\u7801\u5c31\u597d\u4e86\u90ae\u7bb1\u53ef\u4ee5\u7559\u7a7a\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u5fc5\u586b<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"bash comments\">#\u00a0\u4fee\u6539\u00a0\u7528\u6237\u5bc6\u7801\u53ef\u4ee5\u7528\uff1a<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><code class=\"bash plain\">python\u00a0manage.py\u00a0changepassword\u00a0username<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>7. \u5bfc\u51fa\u6570\u636e \u5bfc\u5165\u6570\u636e<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0dumpdata\u00a0appname\u00a0&gt;\u00a0appname.json<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash plain\">python\u00a0manage.py\u00a0loaddata\u00a0appname.json<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5173\u4e8e\u6570\u636e\u64cd\u4f5c \u8be6\u89c1\uff1a<a href=\"http:\/\/code.ziqiangxuetang.com\/django\/django-import-data.html\" target=\"_self\">\u6570\u636e\u5bfc\u5165<\/a><a href=\"http:\/\/code.ziqiangxuetang.com\/django\/django-data-migration.html\" target=\"_self\">\u6570\u636e\u8fc1\u79fb<\/a>\uff0c\u73b0\u5728\u4e86\u89e3\u6709\u8fd9\u4e2a\u7528\u6cd5\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<h2>8. Django \u9879\u76ee\u73af\u5883\u7ec8\u7aef<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0shell<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u4f60\u5b89\u88c5\u4e86 bpython \u6216 ipython \u4f1a\u81ea\u52a8\u7528\u5b83\u4eec\u7684\u754c\u9762\uff0c\u63a8\u8350\u5b89\u88c5 bpython\u3002<\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u548c \u76f4\u63a5\u8fd0\u884c python \u6216 bpython \u8fdb\u5165 shell \u7684\u533a\u522b\u662f\uff1a\u4f60\u53ef\u4ee5\u5728\u8fd9\u4e2a shell \u91cc\u9762\u8c03\u7528\u5f53\u524d\u9879\u76ee\u7684 models.py \u4e2d\u7684 API\uff0c\u5bf9\u4e8e\u64cd\u4f5c\u6570\u636e\uff0c\u8fd8\u6709\u4e00\u4e9b\u5c0f\u6d4b\u8bd5\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<h2>9. \u6570\u636e\u5e93\u547d\u4ee4\u884c<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">python\u00a0manage.py\u00a0dbshell<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Django \u4f1a\u81ea\u52a8\u8fdb\u5165\u5728settings.py\u4e2d\u8bbe\u7f6e\u7684\u6570\u636e\u5e93\uff0c\u5982\u679c\u662f MySQL \u6216 postgreSQL,\u4f1a\u8981\u6c42\u8f93\u5165\u6570\u636e\u5e93\u7528\u6237\u5bc6\u7801\u3002<\/p>\n<p>\u5728\u8fd9\u4e2a\u7ec8\u7aef\u53ef\u4ee5\u6267\u884c\u6570\u636e\u5e93\u7684SQL\u8bed\u53e5\u3002\u5982\u679c\u60a8\u5bf9SQL\u6bd4\u8f83\u719f\u6089\uff0c\u53ef\u80fd\u559c\u6b22\u8fd9\u79cd\u65b9\u5f0f\u3002<\/p>\n<h2>10. \u66f4\u591a\u547d\u4ee4<\/h2>\n<table class=\"syntaxhighlighter bash\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash plain\">\u7ec8\u7aef\u4e0a\u8f93\u5165\u00a0python\u00a0manage.py\u00a0\u53ef\u4ee5\u770b\u5230\u8be6\u7ec6\u7684\u5217\u8868\uff0c\u5728\u5fd8\u8bb0\u5b50\u540d\u79f0\u7684\u65f6\u5019\u7279\u522b\u6709\u7528\u3002<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Django\u00a0\u57fa\u672c\u547d\u4ee4 \u672c\u8282\u4e3b&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,10],"tags":[],"class_list":["post-891","post","type-post","status-publish","format-standard","hentry","category-python","category-jishu"],"_links":{"self":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/891"}],"collection":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=891"}],"version-history":[{"count":1,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions"}],"predecessor-version":[{"id":979,"href":"http:\/\/alextop.top\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions\/979"}],"wp:attachment":[{"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/alextop.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}