{"id":6279,"date":"2022-04-06T13:54:42","date_gmt":"2022-04-06T05:54:42","guid":{"rendered":"https:\/\/egonlin.com\/?p=6279"},"modified":"2022-04-16T19:56:26","modified_gmt":"2022-04-16T11:56:26","slug":"%e7%ac%ac%e4%b8%89%e8%8a%82%ef%bc%9a%e6%b3%a8%e5%86%8c%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=6279","title":{"rendered":"\u7b2c\u4e09\u8282\uff1a\u6ce8\u518c\u529f\u80fd"},"content":{"rendered":"<h1>\u6ce8\u518c\u529f\u80fd<\/h1>\n<h1>2-9.png<\/h1>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/egonlin.com\/wp-content\/uploads\/2022\/04\/\u6ce8\u518c\u529f\u80fd1.jpg'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  data-original=\"https:\/\/egonlin.com\/wp-content\/uploads\/2022\/04\/\u6ce8\u518c\u529f\u80fd1.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<p><strong>\u672c\u529f\u80fd\u57fa\u672c\u9700\u6c42:<\/strong><\/p>\n<pre><code>-\u4f7f\u7528forms\u7ec4\u4ef6\n\n-\u4f7f\u7528Ajax\u63d0\u4ea4\u6570\u636e\u4fe1\u606f\n\n-\u652f\u6301\u4e0a\u4f20\u5934\u50cf\n\n\u62d3\u5c55\u9700\u6c42:\n\n-\u6ce8\u518c\u65f6\u9f20\u6807\u79fb\u5f00\u7528\u6237\u540d\u8f93\u5165\u6846\u5e76\u70b9\u51fb\u9875\u9762\u5176\u5b83\u4efb\u4f55\u90e8\u5206\u65f6,\u81ea\u52a8\u6821\u9a8c\u8f93\u5165\u7684\u7528\u6237\u540d\u662f\u5426\u5df2\u5b58\u5728<\/code><\/pre>\n<h2>\u4e00\u3001\u6dfb\u52a0\u8def\u7531<\/h2>\n<blockquote>\n<p>\u6ce8\u610f\u70b9:\u5728\u8def\u7531urls.py\u4e2d\u8981\u5148\u5bfc\u5165\u89c6\u56fe\u5c42\u548c\u4e00\u4e9b\u7528\u5230\u7684\u6a21\u5757<\/p>\n<\/blockquote>\n<pre><code class=\"language-python\">from django.contrib import admin\nfrom django.urls import path\nfrom blog import views<\/code><\/pre>\n<blockquote>\n<p>\u7136\u540e\u6dfb\u52a0<\/p>\n<\/blockquote>\n<pre><code class=\"language-python\">path(&#039;register\/&#039;, views.register, name=&#039;register&#039;),  # \u6ce8\u518c\u9875\u9762<\/code><\/pre>\n<div id=\"rml_readmorelogin_placeholder\" style=\"position:relative;\"><div id=\"rml_fade_content\" style=\"position: absolute;\r\ntop:-10em;\r\nwidth:100%;\r\nheight:10em;\r\nbackground: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -moz-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -o-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -ms-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\"><\/div><div class=\"wpf-controller aru_rml_from_in_post\" style=\"background-color:#eeeeee;border:5px solid #cce6ff;\" id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><h2 id=\"Header\">\u67e5\u770b\u66f4\u591a<\/h2><div id=\"Message\"><p>\u8054\u7cfb\u7ba1\u7406\u5458\u5fae\u4fe1tutu19192010\uff0c\u6ce8\u518c\u8d26\u53f7<\/p>\n<\/div><div id=\"StatusBarHeader\"><\/div><form id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><input name=\"post_id\" value=\"6279\" type=\"hidden\"\/><input name=\"_init_callback\" value=\"InitLogin\" type=\"hidden\"\/><input name=\"post_id\" value=\"6279\" type=\"hidden\"\/><input name=\"rt_ype\" value=\"1\" type=\"hidden\"\/><input name=\"nonce\" value=\"9f7affd07c\" type=\"hidden\"\/><input name=\"_wpnonce\" value=\"b0e6d8f8bf\" type=\"hidden\"\/><input name=\"_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_proxy_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_view\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginView\" type=\"hidden\"\/><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\" width=\"400px\"><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Username:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"username\" value=\"\" type=\"text\"\/><\/td><\/tr><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Password:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"password\" value=\"\" type=\"password\"\/><\/td><\/tr><\/tbody><\/table><p class=\"wpf-table-placeholder submit\"><button class=\"wp_plugin_framework_ajax_button\" type=\"button\" style=\"background-color:#4D90FE;;color:#ffffff;;border:1px solid #3079ed;\" name=\"_event\" value=\"ButtonLogin\">Log in<\/button><\/p><\/td><td class=\"wpf-table-placeholder-input\"><\/td><\/tr><\/tbody><\/table><\/form><div id=\"ButtonStartRegister\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=register\">Register<\/a><\/div><div id=\"Link1\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=lostpassword\">Forgotten username or password?<\/a><\/div><div id=\"StatusBarFooter\"><\/div><\/div><\/div><div id=aru_remaining_content><\/div>","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u518c\u529f\u80fd 2-9.png \u672c\u529f\u80fd\u57fa\u672c\u9700\u6c42: -\u4f7f\u7528forms\u7ec4\u4ef6 -\u4f7f\u7528Ajax\u63d0\u4ea4\u6570\u636e\u4fe1\u606f -\u652f\u6301\u4e0a\u4f20\u5934\u50cf  [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":6806,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,406],"tags":[],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/6279"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6279"}],"version-history":[{"count":0,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/6279\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/media\/6806"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}