{"id":15807,"date":"2024-06-30T20:19:37","date_gmt":"2024-06-30T16:49:37","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=15807"},"modified":"2024-06-30T20:19:37","modified_gmt":"2024-06-30T16:49:37","slug":"how-to-create-views-for-django-web-development","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/ru\/tutorials\/how-to-create-views-for-django-web-development\/","title":{"rendered":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Django \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u0645\u0642\u062f\u0645\u0647<\/h2>\n<p>\u0627\u06af\u0631 \u0633\u0631\u06cc \u062a\u0648\u0633\u0639\u0647 \u062c\u0646\u06af\u0648 \u0645\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u06a9\u0647 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062f\u0627\u0631\u0627\u06cc \u0627\u0645\u062a\u06cc\u0627\u0632\u0627\u062a \u0633\u0631\u067e\u0631\u0633\u062a \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0646\u0638\u0631\u0627\u062a \u0648 \u067e\u0633\u062a\u200c\u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062f\u0627\u0634\u0628\u0648\u0631\u062f \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u062f\u0645\u06cc\u0646 \u062c\u0646\u06af\u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0646\u062f. \u0634\u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0645\u062f\u0644\u200c\u0647\u0627\u06cc \u0631\u0627\u0647\u200c\u062d\u0644 \u0646\u0642\u0634\u0647\u200c\u0628\u0631\u062f\u0627\u0631\u06cc \u0634\u06cc \u0631\u0627\u0628\u0637\u0647\u200c\u0627\u06cc \u062c\u0646\u06af\u0648 \u0648 MySQL\u060c \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0646\u0645\u0627\u0647\u0627\u06cc \u062c\u0646\u06af\u0648 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0648\u0628 \u0645\u0627 \u0631\u0627 \u0642\u0627\u062f\u0631 \u0645\u06cc \u0633\u0627\u0632\u062f \u062a\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627\u06cc \u0648\u0628 \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u062f \u0648 \u067e\u0627\u0633\u062e \u0647\u0627\u06cc \u0648\u0628 \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0631\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f. \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0627\u0633\u0646\u0627\u062f \u062c\u0646\u06af\u0648 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u06cc\u06a9 \u067e\u0627\u0633\u062e \u0648\u0628 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0645\u062d\u062a\u0648\u0627\u06cc HTML \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0648\u0628\u060c \u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u06cc\u0627 \u06cc\u06a9 \u062e\u0637\u0627\u06cc HTTP (\u0645\u062b\u0644\u0627\u064b 404) \u0628\u0627\u0634\u062f. \u06a9\u062f \u0628\u0631\u0627\u06cc \u062a\u0648\u0627\u0628\u0639 view \u0627\u0632 \u0646\u0638\u0631 \u0641\u0646\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062f\u0631 \u0647\u0631 \u0646\u0642\u0637\u0647 \u0627\u0632 \u067e\u0631\u0648\u0698\u0647 \u0634\u0645\u0627 \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0634\u0645\u0627 \u0628\u0627\u0634\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u0628\u0631\u062e\u06cc \u0627\u0632 \u0642\u0631\u0627\u0631\u062f\u0627\u062f\u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0628\u0631\u0627\u06cc \u0646\u0627\u0645\u06af\u0630\u0627\u0631\u06cc \u0648 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0641\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u062a\u0648\u0627\u0628\u0639 view \u062f\u0631 \u0622\u0646 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0648 \u0645\u0627 \u0627\u06cc\u0646 \u0627\u0642\u062f\u0627\u0645\u0627\u062a \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0645\u0631\u0627\u062d\u0644 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0631\u0627 \u062a\u0645\u0627\u0645 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0633\u0627\u06cc\u062a \u0648\u0628\u0644\u0627\u06af \u062c\u0646\u06af\u0648 \u0634\u0645\u0627 \u06cc\u06a9 \u067e\u0633\u062a \u0627\u062e\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0622\u062f\u0631\u0633 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\u06cc IP-or-domain\/post \u0634\u0645\u0627 \u0645\u06cc \u06a9\u0634\u062f.<\/p>\n<h5 id=\"%d9%be%db%8c%d8%b4-%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627<\/h5>\n<p>\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u062e\u0634\u06cc \u0627\u0632 \u0633\u0631\u06cc \u062a\u0648\u0633\u0639\u0647 \u062c\u0646\u06af\u0648 \u0627\u0633\u062a \u0648 \u0627\u062f\u0627\u0645\u0647 \u0622\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06af\u0631 \u0627\u06cc\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u0646\u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f\u060c \u0641\u0631\u0636\u06cc\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0645\u0637\u0631\u062d \u0645\u06cc \u06a9\u0646\u06cc\u0645:<\/p>\n<ul>\n<li>\u0634\u0645\u0627 \u0646\u0633\u062e\u0647 4 \u06cc\u0627 \u0628\u0627\u0644\u0627\u062a\u0631 \u062c\u0646\u06af\u0648 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f.<\/li>\n<li>\u0634\u0645\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0645\u062a\u0635\u0644 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f.<\/li>\n<li>\u0634\u0645\u0627 \u0628\u0627 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062a\u0631\u062c\u06cc\u062d\u0627\u064b \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u0628\u0631\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 22.04 \u0632\u06cc\u0631\u0627 \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u0627 \u0631\u0648\u06cc \u0622\u0646 \u0622\u0632\u0645\u0627\u06cc\u0634 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645.<\/li>\n<li>\u0634\u0645\u0627 \u0631\u0627\u0628\u0637 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062c\u0646\u06af\u0648 \u062e\u0648\u062f \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f.<\/li>\n<\/ul>\n<p>\u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u0639\u0645\u062f\u062a\u0627\u064b \u0628\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0647\u0627\u06cc \u062c\u0646\u06af\u0648 \u0633\u0631\u0648\u06a9\u0627\u0631 \u062f\u0627\u0631\u062f\u060c \u062d\u062a\u06cc \u0627\u06af\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-1-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%d8%aa%d9%88%d8%a7%d8%a8%d8%b9-%d9%86%d9%85%d8%a7%db%8c%d8%b4\">\u0645\u0631\u062d\u0644\u0647 1 &#8211; \u0627\u06cc\u062c\u0627\u062f \u062a\u0648\u0627\u0628\u0639 \u0646\u0645\u0627\u06cc\u0634<\/h2>\n<p>\u062f\u0631 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u062e\u0648\u062f\u060c \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0645\u0631\u0628\u0648\u0637\u0647 \u0628\u0631\u0648\u06cc\u062f \u0648 \u0645\u062d\u06cc\u0637 \u0645\u062c\u0627\u0632\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 \u0627\u06cc\u0646 \u0633\u0631\u06cc \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0645\u0647\u0645 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0645\u06cc\u0634\u0647 \u0627\u0632 \u0645\u062d\u06cc\u0637 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u0647\u0646\u06af\u0627\u0645 \u062a\u0648\u0633\u0639\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u06a9\u062f \u0634\u0645\u0627 \u062d\u0627\u0648\u06cc \u0627\u0633\u062a \u0648 \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u0646\u0627\u0633\u0628 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/my_blog_app\r\n. env\/bin\/activate<\/code><\/pre>\n<\/div>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 \u0645\u062d\u06cc\u0637 \u0645\u062c\u0627\u0632\u06cc \u0634\u0645\u0627 \u0641\u0639\u0627\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0628\u0647 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0648\u0628\u0644\u0627\u06af \u0633\u0627\u06cc\u062a \u0628\u0631\u0648\u06cc\u062f\u060c \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0631\u0627 \u0628\u0627\u0632 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u0648 \u0627\u0648\u0644\u06cc\u0646 \u0639\u0645\u0644\u06a9\u0631\u062f \u0646\u0645\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/my_blog_app\/blog\/blogsite<\/code><\/pre>\n<\/div>\n<p>\u0641\u0627\u06cc\u0644 views.py \u0631\u0627 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 nano \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646 \u0627\u0646\u062a\u062e\u0627\u0628\u06cc \u062e\u0648\u062f \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>nano views.py<\/code><\/pre>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644\u060c \u0628\u0627\u06cc\u062f \u0628\u0627 \u06a9\u062f\u06cc \u0645\u0634\u0627\u0628\u0647 \u0627\u06cc\u0646 \u067e\u0631 \u0634\u0648\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.shortcuts import render\r\n# Create your views here.<\/code><\/pre>\n<\/div>\n<p>\u0645\u0627 \u0639\u0628\u0627\u0631\u062a import \u0631\u0627 \u06a9\u0647 \u062a\u0627\u0628\u0639 render() \u0631\u0627 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 django.shortcuts \u0648\u0627\u0631\u062f \u0645\u06cc \u06a9\u0646\u062f\u060c \u0646\u06af\u0647 \u0645\u06cc \u062f\u0627\u0631\u06cc\u0645. \u062a\u0627\u0628\u0639 render() \u0628\u0647 \u0645\u0627 \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0631\u0627 \u0645\u06cc \u062f\u0647\u062f \u06a9\u0647 \u0647\u0645 \u06cc\u06a9 \u0627\u0644\u06af\u0648 \u0648 \u0647\u0645 \u06cc\u06a9 \u0645\u062a\u0646 \u0631\u0627 \u062a\u0631\u06a9\u06cc\u0628 \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0634\u06cc HttpResponse \u0645\u0646\u0627\u0633\u0628 \u0631\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u0631\u0627 \u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0632\u06cc\u0631\u0627 \u0628\u0627 \u0647\u0631 \u062f\u06cc\u062f\u06af\u0627\u0647\u06cc \u06a9\u0647 \u0645\u06cc \u0646\u0648\u06cc\u0633\u06cc\u0645\u060c \u0645\u0627 \u0645\u0633\u0626\u0648\u0644 \u0646\u0645\u0648\u0646\u0647 \u0633\u0627\u0632\u06cc\u060c \u067e\u0631 \u06a9\u0631\u062f\u0646 \u0648 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 HttpResponse \u0647\u0633\u062a\u06cc\u0645.<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0627\u0648\u0644\u06cc\u0646 \u0646\u0645\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0631\u0627 \u0628\u0647 \u0635\u0641\u062d\u0647 \u0641\u0647\u0631\u0633\u062a \u062e\u0648\u0634 \u0622\u0645\u062f \u0645\u06cc \u06af\u0648\u06cc\u062f. \u0645\u0627 \u062a\u0627\u0628\u0639 HttpResponse() \u0631\u0627 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 http \u062c\u0646\u06af\u0648 \u0648\u0627\u0631\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0622\u0646 \u062a\u0627\u0628\u0639\u060c \u0645\u062a\u0646\u06cc \u0631\u0627 \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u062f\u0631 \u0632\u0645\u0627\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0635\u0641\u062d\u0647 \u0648\u0628 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.shortcuts import render\r\nfrom django.http import HttpResponse\r\ndef index(request):\r\nreturn HttpResponse('Hello, welcome to the index page.')<\/code><\/pre>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u0622\u0646\u060c \u0645\u0627 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062f\u06cc\u06af\u0631 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u067e\u0633\u062a \u0647\u0627\u06cc \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0627\u06cc \u0631\u0627 \u06a9\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a \u0628\u0639\u062f\u0627\u064b \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>...\r\ndef individual_post(request):\r\nreturn HttpResponse('Hi, this is where an individual post will be.')<\/code><\/pre>\n<\/div>\n<p>\u0641\u0627\u06cc\u0644 views.py \u0646\u0647\u0627\u06cc\u06cc \u0645\u0627 \u0627\u06a9\u0646\u0648\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.http import HttpResponse\r\nfrom django.shortcuts import render\r\ndef index(request):\r\nreturn HttpResponse('Hello, welcome to the index page.')\r\ndef individual_post(request):\r\nreturn HttpResponse('Hi, this is where an individual post will be.')<\/code><\/pre>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644\u060c \u062d\u062a\u0645\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0627\u0632 \u0622\u0646 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f. \u062f\u0631 \u0646\u0627\u0646\u0648 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f CTRL \u0648 X \u0648 \u0633\u067e\u0633 Y \u0648 \u0633\u067e\u0633 ENTER \u0631\u0627 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631\u060c \u0647\u06cc\u0686 URL \u0645\u0634\u062e\u0635\u06cc \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u062a\u0648\u0627\u0628\u0639 \u0628\u0647 \u0622\u0646 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0646\u0646\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0645\u0627 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0628\u0644\u0648\u06a9 \u0627\u0644\u06af\u0648\u0647\u0627\u06cc url \u062e\u0648\u062f \u062f\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc URL \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645. \u0628\u0627 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0646 \u0646\u0645\u0627\u0647\u0627\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc URL \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0622\u0646\u0647\u0627 \u0646\u06af\u0627\u0634\u062a \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0635\u0641\u062d\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u0645.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-2-%d9%86%d8%b4%d8%a7%d9%86%db%8c%d9%87%d8%a7%db%8c-%d9%88%d8%a8-%d8%b1%d8%a7-%d8%a8%d9%87-views-%d9%86%d8%b4%d8%a7%d9%86-%d8%af%d9%87%db%8c%d8%af\">\u0645\u0631\u062d\u0644\u0647 2 &#8211; \u0646\u0634\u0627\u0646\u06cc\u200c\u0647\u0627\u06cc \u0648\u0628 \u0631\u0627 \u0628\u0647 Views \u0646\u0634\u0627\u0646 \u062f\u0647\u06cc\u062f<\/h2>\n<p>\u0628\u0627 Django\u060c \u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 URL \u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u062f \u0637\u0631\u0627\u062d\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u062e\u0627\u0644\u0635 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0641\u0627\u06cc\u0644\u06cc \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0641\u0627\u06cc\u0644 URLconf \u06cc\u0627 \u00ab\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc URL\u00bb \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f\u060c \u062c\u0646\u06af\u0648 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0645\u0627\u0698\u0648\u0644 URLconf \u0631\u06cc\u0634\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u062f\u060c \u0633\u067e\u0633 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u0644\u06af\u0648\u0647\u0627\u06cc url\u060c \u06cc\u06a9 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0641\u0647\u0631\u0633\u062a\u06cc \u062d\u0627\u0648\u06cc \u062a\u0645\u0627\u0645 \u0627\u0644\u06af\u0648\u0647\u0627\u06cc URL \u0627\u0633\u062a. \u062c\u0646\u06af\u0648 \u0633\u067e\u0633 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0647\u0631 \u0627\u0644\u06af\u0648\u06cc URL \u0645\u06cc \u06af\u0630\u0631\u062f \u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0645\u0648\u0631\u062f \u0645\u0637\u0627\u0628\u0642\u062a \u0631\u0627 \u067e\u06cc\u062f\u0627 \u06a9\u0646\u062f. \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u06cc\u06a9 \u062a\u0637\u0627\u0628\u0642 \u067e\u06cc\u062f\u0627 \u0634\u062f\u060c \u062c\u0646\u06af\u0648 \u0646\u0645\u0627\u06cc \u0645\u0631\u062a\u0628\u0637 \u0631\u0627 \u067e\u06cc\u062f\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0622\u0646 \u062a\u0627\u0628\u0639 view \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0627\u0644\u06af\u0648\u06cc URL \u0648 \u06cc\u06a9 \u0634\u06cc HttpRequest \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0627\u06af\u0631 \u062f\u0631 \u0647\u0631 \u0646\u0642\u0637\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0634\u06a9\u0633\u062a\u06cc \u0648\u062c\u0648\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u06cc\u06a9 \u0646\u0645\u0627\u06cc \u0631\u0633\u06cc\u062f\u06af\u06cc \u0628\u0647 \u062e\u0637\u0627 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0627 \u0628\u0627 \u062f\u0648 \u0641\u0627\u06cc\u0644 \u0645\u062e\u062a\u0644\u0641 urls.py \u062f\u0631 \u062f\u0648 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0645\u062e\u062a\u0644\u0641 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u062f \u06a9\u0627\u0631 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/p>\n<p>\u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc ~\/my_blog_app\/blog\/blogsite \u0647\u0633\u062a\u06cc\u062f\u060c \u0641\u0627\u06cc\u0644 urls.py &#8211; \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0641\u0627\u06cc\u0644 URLconf \u0634\u0645\u0627 \u0634\u0646\u0627\u062e\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f &#8211; \u0631\u0627 \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0627\u0632 nano \u0628\u0631\u0627\u06cc \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0641\u0627\u06cc\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>nano urls.py<\/code><\/pre>\n<\/div>\n<p>\u0641\u0627\u06cc\u0644 \u0631\u0627 \u0637\u0648\u0631\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u0644\u06cc\u0633\u062a urlpatterns \u0645\u0627\u0646\u0646\u062f \u0641\u0627\u06cc\u0644 \u0632\u06cc\u0631 \u0628\u0627\u0634\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.urls import path\r\nfrom . import views\r\nurlpatterns = [\r\npath('', views.index, name='index'),\r\npath('post\/', views.individual_post, name='individual_post')\r\n]<\/code><\/pre>\n<\/div>\n<p>\u067e\u0633 \u0627\u0632 \u0627\u062a\u0645\u0627\u0645 \u0627\u0641\u0632\u0648\u062f\u0646 \u062e\u0637\u0648\u0637 \u0628\u0627\u0644\u0627\u060c \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0631\u062f\u0647 \u0648 \u0628\u0628\u0646\u062f\u06cc\u062f.<\/p>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0641\u0627\u06cc\u0644 URLconf \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627 \u0648\u0628\u0644\u0627\u06af \u0631\u0627 \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u06a9\u0631\u062f\u06cc\u0645\u060c \u0622\u0646 \u0631\u0627 \u062f\u0631 URLconf \u0641\u0647\u0631\u0633\u062a \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0648\u0628\u0644\u0627\u06af \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u0648\u06af\u0631\u0646\u0647 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0646\u0645\u06cc\u200c\u0634\u0648\u062f. \u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645 \u0632\u06cc\u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 ROOT_URLCONF \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0628\u062f\u0627\u0646 \u0645\u0639\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062c\u0646\u06af\u0648 \u0628\u0647 URLconf \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0648\u0628\u0644\u0627\u06af \u0628\u0631\u0627\u06cc \u0627\u0644\u06af\u0648\u0647\u0627\u06cc url \u0646\u06af\u0627\u0647 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u06af\u0646\u062c\u0627\u0646\u062f\u0646 URLconf \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f \u062f\u0631 URLconf \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0647 \u0622\u0646 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/my_blog_app\/blog\/blog<\/code><\/pre>\n<\/div>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0622\u0646\u062c\u0627 \u0647\u0633\u062a\u06cc\u062f\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u0627\u06cc\u0644 URLconf \u0631\u0627 \u0628\u0627 nano \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634\u06af\u0631 \u0645\u062a\u0646 \u062f\u06cc\u06af\u0631\u06cc \u06a9\u0647 \u0627\u0646\u062a\u062e\u0627\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>nano urls.py<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644\u060c \u062e\u0637\u0648\u0637 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0641\u0627\u06cc\u0644 \/blogsite\/urls.py \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0628\u0627 \u0622\u0646 \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645\u060c \u06a9\u0647 \u062f\u0631 \u062e\u0637 \u062f\u0648\u0645 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u0645.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.contrib import admin\r\nfrom django.urls import include, path\r\nurlpatterns = [\r\npath('admin\/', admin.site.urls),\r\npath('', include('blogsite.urls'))\r\n]<\/code><\/pre>\n<\/div>\n<p>\u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0628\u0646\u062f\u06cc\u062f.<\/p>\n<p>\u062d\u0627\u0644\u0627 \u0628\u06cc\u0627\u06cc\u06cc\u062f \u06cc\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0628 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u0645 \u062a\u0627 \u0628\u0647 URL \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u067e\u06cc\u0645\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u0645 \u0648 \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0645\u062a\u0646\u06cc \u0631\u0627 \u06a9\u0647 \u0645\u0627 \u0628\u0647 \u0646\u0645\u0627\u0647\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u0646\u062f. \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0641\u0627\u06cc\u0644 manager.py \u06a9\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0628\u0627\u06cc\u062f \u0628\u0647 \u0641\u0647\u0631\u0633\u062a \u0648\u0627\u0644\u062f \u0628\u0631\u0648\u06cc\u0645.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ..<\/code><\/pre>\n<\/div>\n<p>\u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0635\u0627\u062f\u0631 \u06a9\u0646\u06cc\u062f. \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f 0.0.0.0 \u0631\u0627 \u0628\u0627 \u0622\u062f\u0631\u0633 IP \u062e\u0648\u062f \u062f\u0631 \u0632\u06cc\u0631 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>python manage.py runserver 0.0.0.0:8000<\/code><\/pre>\n<\/div>\n<\/div>\n<p>\u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0628 \u062e\u0648\u062f\u060c \u0628\u0647 \u0622\u062f\u0631\u0633 IP \u062e\u0648\u062f\u060c \u067e\u0648\u0631\u062a 8000 \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>your-server-ip:8000<\/code><\/pre>\n<\/div>\n<p>\u0634\u0645\u0627 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0645\u0634\u0627\u0628\u0647 \u0632\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"1870\"  height=\"498\"  class=\"aligncenter wp-image-15810 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 1870px) 100vw, 1870px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11.png 1870w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-300x80.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-1024x273.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-768x205.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-1536x409.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-110x29.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-200x53.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-380x101.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-255x68.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-550x146.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-800x213.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30193120\/1-11-1160x309.png 1160w\" ><\/p>\n<p>\u0633\u067e\u0633 \u0628\u0647 \u0622\u062f\u0631\u0633 \u0632\u06cc\u0631 \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>your-server-ip:8000\/post\/\r\n<\/code><\/pre>\n<\/div>\n<p>\u0627\u0632 \u0627\u06cc\u0646\u062c\u0627 \u0628\u0627\u06cc\u062f \u0635\u0641\u062d\u0647 \u0648\u0628 \u0632\u06cc\u0631 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"1870\"  height=\"460\"  class=\"aligncenter wp-image-15811 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 1870px) 100vw, 1870px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9.png 1870w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-300x74.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-1024x252.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-768x189.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-1536x378.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-110x27.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-200x49.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-380x93.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-255x63.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-550x135.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-800x197.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30193233\/2-9-1160x285.png 1160w\" ><\/p>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u062a\u0623\u06cc\u06cc\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645 \u06a9\u0647 \u062f\u0648 \u0641\u0627\u06cc\u0644 urls.py \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0642\u06cc\u0642\u0627\u064b \u0622\u0646\u0686\u0647 \u0631\u0627 \u06a9\u0647 \u0627\u0646\u062a\u0638\u0627\u0631 \u062f\u0627\u0631\u06cc\u0645 \u0628\u0647 \u0645\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0628\u0631\u062e\u06cc \u0627\u0632 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u0631\u0627 \u0628\u0647 \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-3-%db%8c%da%a9-%d9%88%d8%a8%d9%84%d8%a7%da%af-%d9%be%d8%b3%d8%aa-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%da%a9%d9%86%db%8c%d8%af\">\u0645\u0631\u062d\u0644\u0647 3 &#8211; \u06cc\u06a9 \u0648\u0628\u0644\u0627\u06af \u067e\u0633\u062a \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f<\/h2>\n<p>\u0627\u06a9\u0646\u0648\u0646 \u06a9\u0647 \u0627\u0635\u0648\u0644 \u0646\u062d\u0648\u0647 \u06a9\u0627\u0631 \u0627\u0644\u06af\u0648\u0647\u0627\u06cc URL \u0648 \u0646\u0645\u0627\u0647\u0627 \u0631\u0627 \u062f\u0631\u06a9 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u06cc\u06a9 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645 \u0648 \u0628\u0647 \u062c\u0627\u06cc \u0645\u062a\u0646\u06cc \u06a9\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u067e\u0627\u06cc\u062a\u0648\u0646 \u06a9\u062f\u06af\u0630\u0627\u0631\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645\u060c \u062f\u0631 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p>\n<p>\u0645\u0627 \u06cc\u06a9 \u067e\u0633\u062a \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0635\u0641\u062d\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a\u06cc \u06a9\u0647 \u0642\u0628\u0644\u0627\u064b \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u062f\u060c \u0627\u0632 \u06cc\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0628 \u0628\u0631\u0627\u06cc \u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0648\u0628\u0644\u0627\u06af \u062f\u0631 \u0622\u062f\u0631\u0633 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>your-server-ip:8000\/admin\/blogsite\/<\/code><\/pre>\n<\/div>\n<\/div>\n<p>\u062f\u0631 \u0631\u0627\u0628\u0637\u060c \u0631\u0648\u06cc \u067e\u06cc\u0648\u0646\u062f + \u0627\u0641\u0632\u0648\u062f\u0646 \u0648\u0627\u0642\u0639 \u062f\u0631 \u0631\u062f\u06cc\u0641 Posts \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0627 \u06cc\u06a9 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0646\u0645\u0648\u0646\u0647 \u067e\u0631 \u0634\u0648\u062f.<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"2054\"  height=\"752\"  class=\"aligncenter wp-image-15812 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 2054px) 100vw, 2054px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7.png 2054w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-300x110.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-1024x375.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-768x281.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-1536x562.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-2048x750.png 2048w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-110x40.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-200x73.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-380x139.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-255x93.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-550x201.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-800x293.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30193349\/3-7-1160x425.png 1160w\" ><\/p>\n<p>\u0628\u0627 \u06a9\u0644\u06cc\u06a9 \u0628\u0631 \u0631\u0648\u06cc \u067e\u06cc\u0648\u0646\u062f\u060c \u06cc\u06a9 \u0641\u0631\u0645 \u0648\u0631\u0648\u062f\u06cc \u0645\u0627\u0646\u0646\u062f \u0632\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"2052\"  height=\"1392\"  class=\"aligncenter wp-image-15813 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 2052px) 100vw, 2052px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5.png 2052w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-300x204.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-1024x695.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-768x521.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-1536x1042.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-2048x1389.png 2048w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-110x75.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-200x136.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-380x258.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-255x173.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-550x373.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-800x543.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30193500\/4-5-1160x787.png 1160w\" ><\/p>\n<p>\u0647\u0631 \u0632\u0645\u0627\u0646 \u06a9\u0647 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u067e\u0633\u062a\u06cc \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0631\u0627\u06cc \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0645\u06cc \u0631\u0648\u06cc\u062f. \u0627\u0632 \u0637\u0631\u0641 \u062f\u06cc\u06af\u0631\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0633\u062a \u0647\u0627 \u0631\u0627 \u0628\u0627 \u067e\u06cc\u0648\u0646\u062f \u062a\u063a\u06cc\u06cc\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0641\u0631\u0645\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0641\u06cc\u0644\u062f\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f:<\/p>\n<ul>\n<li><span>Title<\/span>: \u0639\u0646\u0648\u0627\u0646 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0627\u0648\u0644\u06cc\u0646 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0645\u0646.<\/li>\n<li>SLUG: \u0627\u06cc\u0646 \u0628\u0647 \u0628\u062e\u0634\u06cc \u0627\u0632 URL \u0627\u0634\u0627\u0631\u0647 \u062f\u0627\u0631\u062f \u06a9\u0647 \u06cc\u06a9 \u0639\u0646\u0635\u0631 \u0622\u062f\u0631\u0633 \u0648\u0628 \u0645\u0639\u062a\u0628\u0631 \u0631\u0627 \u0628\u0627 \u06a9\u0644\u0645\u0627\u062a \u06a9\u0644\u06cc\u062f\u06cc \u0642\u0627\u0628\u0644 \u062e\u0648\u0627\u0646\u062f\u0646 \u062a\u0648\u0633\u0637 \u0627\u0646\u0633\u0627\u0646 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0644\u06cc \u0627\u0632 \u0639\u0646\u0648\u0627\u0646 \u0635\u0641\u062d\u0647 \u06af\u0631\u0641\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0632 my-first-blog-post \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645.<\/li>\n<li>CONTENT: \u0627\u06cc\u0646 \u0645\u062a\u0646 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0634\u0645\u0627\u0633\u062a. \u0645\u0627 \u0641\u0642\u0637 Hello, World \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f! \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0627\u0647\u062f\u0627\u0641\u060c \u0627\u0645\u0627 \u0627\u06cc\u0646\u062c\u0627 \u062c\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0631\u062d\u0631\u0641 \u0628\u0627\u0634\u06cc\u062f.<\/li>\n<li>AUTHOR: \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0646\u0627\u0645 \u06cc\u0627 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0645\u0631\u0628\u0648\u0637\u0647 \u062e\u0648\u062f \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u0645\u0627 \u0627\u0632 \u0633\u0627\u0645\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f.<\/li>\n<\/ul>\n<p>\u0641\u0631\u0645 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0631\u0627 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0627\u0647\u062f\u0627\u0641 \u0622\u0632\u0645\u0627\u06cc\u0634\u06cc \u062e\u0648\u062f \u0645\u0646\u0627\u0633\u0628 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f \u067e\u0631 \u06a9\u0646\u06cc\u062f.<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"2054\"  height=\"1394\"  class=\"aligncenter wp-image-15814 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 2054px) 100vw, 2054px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3.png 2054w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-300x204.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-1024x695.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-768x521.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-1536x1042.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-2048x1390.png 2048w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-110x75.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-200x136.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-380x258.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-255x173.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-550x373.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-800x543.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30193906\/5-3-1160x787.png 1160w\" ><\/p>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0631\u0627 \u0628\u0647 \u0635\u0641\u062d\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0631\u0648\u06cc \u062f\u06a9\u0645\u0647 SAVE \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f. \u0635\u0641\u062d\u0647 \u062a\u0627\u06cc\u06cc\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f:<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"2050\"  height=\"1046\"  class=\"aligncenter wp-image-15815 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 2050px) 100vw, 2050px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2.png 2050w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-300x153.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-1024x522.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-768x392.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-1536x784.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-2048x1045.png 2048w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-110x56.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-200x102.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-380x194.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-255x130.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-550x281.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-800x408.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30194006\/6-2-1160x592.png 1160w\" ><\/p>\n<p>\u062a\u0628\u0631\u06cc\u06a9 \u0645\u06cc \u06af\u0648\u06cc\u0645! \u0634\u0645\u0627 \u0627\u0648\u0644\u06cc\u0646 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f!<\/p>\n<p>\u062f\u0631 \u0645\u0631\u062d\u0644\u0647 \u0628\u0639\u062f\u060c \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0631\u062f\u06cc\u0641\u06cc \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 MySQL \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u06a9\u0647 \u062d\u0627\u0648\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u0627 \u0628\u0647 \u062a\u0627\u0632\u06af\u06cc \u0648\u0627\u0631\u062f \u0631\u0627\u0628\u0637 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645.<\/p>\n<h2 id=\"%d9%85%d8%b1%d8%ad%d9%84%d9%87-4-%d9%86%d9%85%d8%a7%db%8c%d8%b4-%d8%af%d8%a7%d8%af%d9%87-%d9%87%d8%a7%db%8c-%d9%be%d8%a7%db%8c%da%af%d8%a7%d9%87-%d8%af%d8%a7%d8%af%d9%87\">\u0645\u0631\u062d\u0644\u0647 4 &#8211; \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647<\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u0645\u0627 \u0628\u0627\u06cc\u062f \u0628\u0647 MySQL \u0628\u0631\u0648\u06cc\u0645\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0641\u0631\u0622\u06cc\u0646\u062f \u0633\u0631\u0648\u0631 \u0641\u0639\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0628\u0627 \u062a\u0627\u06cc\u067e CTRL + C \u0645\u062a\u0648\u0642\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0633\u067e\u0633 \u0645\u0641\u0633\u0631 MySQL \u062e\u0648\u062f \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f. \u06a9\u0627\u0631\u0628\u0631 \u0645\u0627 \u0628\u0631\u0627\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0645\u0627 djangouser \u0627\u0633\u062a\u060c \u0627\u0645\u0627 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u0645\u0646\u0627\u0633\u0628 \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u062e\u0648\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>mysql -u djangouser<\/code><\/pre>\n<\/div>\n<p>\u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u062f\u0631 \u0627\u0639\u0644\u0627\u0646 MySQL \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u06cc\u062f\u060c \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 blog_data (\u06cc\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0634\u0645\u0627 \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a) \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>use blog_data;<\/code><\/pre>\n<\/div>\n<p>\u0633\u067e\u0633 \u0645\u062d\u062a\u0648\u06cc\u0627\u062a \u062c\u062f\u0648\u0644 blogsite_post \u0631\u0627 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-sql\" data-lang=\"SQL\"><code>select * from blogsite_post;<\/code><\/pre>\n<\/div>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0645\u0634\u0627\u0628\u0647 \u0632\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0627\u0637\u0644\u0627\u0639\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u062f\u0645\u06cc\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\n+----+--------------------+--------------------+---------------+----------------------------+--------+\r\n| id | title | slug | content | created_on | author |\r\n+----+--------------------+--------------------+---------------+----------------------------+--------+\r\n| 1 | My First Blog Post | my-first-blog-post | Hello, World! | 2020-05-14 00:30:03.186564 | Sammy |\r\n+----+--------------------+--------------------+---------------+----------------------------+--------+\r\n1 row in set (0.00 sec)<\/code><\/pre>\n<\/div>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u06cc\u06a9 \u0631\u062f\u06cc\u0641 \u0628\u0627 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u067e\u0633\u062a\u06cc \u06a9\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0627\u06a9\u0646\u0648\u0646 \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f \u0627\u06cc\u0646 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062a\u0627\u0628\u0639 view \u0628\u0631\u0627\u06cc \u067e\u0633\u062a \u0647\u0627 \u0627\u0631\u062c\u0627\u0639 \u062f\u0647\u06cc\u0645. \u0628\u0631\u0627\u06cc \u062e\u0631\u0648\u062c \u0627\u0632 \u0645\u0641\u0633\u0631 MySQL \u0627\u0632 CTRL + D \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0647 \u0645\u062d\u0644 \u0641\u0627\u06cc\u0644 views.py \u062f\u0631 \u062f\u0627\u062e\u0644 \u0628\u0631\u0646\u0627\u0645\u0647 \u0648\u0628\u0644\u0627\u06af \u0633\u0627\u06cc\u062a \u062e\u0648\u062f \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/my_blog_app\/blog\/blogsite<\/code><\/pre>\n<\/div>\n<p>\u062d\u0627\u0644\u0627 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0628\u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u0645.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>nano views.py<\/code><\/pre>\n<\/div>\n<p>\u0641\u0627\u06cc\u0644 \u0631\u0627 \u0645\u0627\u0646\u0646\u062f \u0641\u0627\u06cc\u0644 \u0632\u06cc\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from django.shortcuts import render\r\nfrom django.http import HttpResponse\r\nfrom .models import Post\r\ndef index(request):\r\nreturn HttpResponse('Hello, welcome to the index page.')\r\ndef individual_post(request):\r\nrecent_post = Post.objects.get(id__exact=1)\r\nreturn HttpResponse(recent_post.title + ': ' + recent_post.content)<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u06a9\u062f \u0628\u0627\u0644\u0627\u060c \u06cc\u06a9 \u0639\u0628\u0627\u0631\u062a import \u0627\u0636\u0627\u0641\u06cc \u0628\u0631\u0627\u06cc Post \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u06cc\u0645. \u0645\u0627 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0631\u0634\u062a\u0647 \u0646\u0642\u0644 \u0642\u0648\u0644 \u0631\u0627 \u0627\u0632 HttpResponse \u062d\u0630\u0641 \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0627 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0631\u062f\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u0631\u062c\u0627\u0639 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0634\u06cc \u062e\u0627\u0635\u060c \u0627\u0632 \u0634\u0646\u0627\u0633\u0647 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0634\u06cc\u0626\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0646\u0634\u0627\u0646 \u062f\u0647\u06cc\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645\u060c \u0648 \u0622\u0646 \u0634\u0646\u0627\u0633\u0647 \u0631\u0627 \u062f\u0631 \u0645\u062a\u063a\u06cc\u0631\u06cc \u0628\u0647 \u0646\u0627\u0645 last_post \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0633\u067e\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u0645 \u0641\u06cc\u0644\u062f\u0647\u0627\u06cc \u062e\u0627\u0635\u06cc \u0627\u0632 \u0622\u0646 \u0634\u06cc \u0631\u0627 \u0628\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0641\u06cc\u0644\u062f \u0628\u0627 \u062c\u062f\u0627\u06a9\u0646\u0646\u062f\u0647 \u0646\u0642\u0637\u0647 \u0628\u062f\u0633\u062a \u0622\u0648\u0631\u06cc\u0645.<\/p>\n<p>\u067e\u0633 \u0627\u0632 \u0630\u062e\u06cc\u0631\u0647 \u0648 \u0628\u0633\u062a\u0647 \u0634\u062f\u0646 \u0641\u0627\u06cc\u0644\u060c \u0628\u0647 \u0645\u062d\u0644 \u0641\u0627\u06cc\u0644 manager.py \u0628\u0631\u0648\u06cc\u062f \u062a\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/my_blog_app\/blog\r\npython manage.py runserver 0.0.0.0:8000<\/code><\/pre>\n<\/div>\n<p>\u0627\u0632 \u06cc\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0628\u060c \u0628\u0647 \u0622\u062f\u0631\u0633 \u0632\u06cc\u0631 \u0628\u0631\u0648\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>your-server-ip:8000\/post\/\r\n<\/code><\/pre>\n<\/div>\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627\u060c \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0631\u0627 \u06a9\u0647 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u0635\u0641\u062d\u0647 \u0645\u0634\u0627\u0628\u0647 \u0627\u06cc\u0646 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f \u0648 \u0645\u062a\u0646\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0647 \u067e\u0633\u062a \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u062f \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<p><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"\"  width=\"1888\"  height=\"836\"  class=\"aligncenter wp-image-15816 size-full pk-lazyload\"  data-pk-sizes=\"auto\"  data-ls-sizes=\"auto, (max-width: 1888px) 100vw, 1888px\"  data-pk-src=\"https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2.png\"  data-pk-srcset=\"https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2.png 1888w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-300x133.png 300w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-1024x453.png 1024w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-768x340.png 768w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-1536x680.png 1536w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-110x49.png 110w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-200x89.png 200w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-380x168.png 380w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-255x113.png 255w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-550x244.png 550w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-800x354.png 800w, https:\/\/cdn.itpiran.net\/2024\/06\/30201749\/7-2-1160x514.png 1160w\" ><\/p>\n<p>\u0648\u0642\u062a\u06cc \u0628\u0627\u0632\u0631\u0633\u06cc \u0635\u0641\u062d\u0647 \u0631\u0627 \u062a\u0645\u0627\u0645 \u06a9\u0631\u062f\u06cc\u062f\u060c CTRL + C \u0631\u0627 \u062f\u0631 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0641\u0634\u0627\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0631\u0648\u0646\u062f \u0627\u062c\u0631\u0627\u06cc \u0622\u0646 \u0645\u062a\u0648\u0642\u0641 \u0634\u0648\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u062d\u06cc\u0637 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u062e\u0648\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0631\u0627 \u062a\u0627\u06cc\u067e \u06a9\u0631\u062f\u0647 \u0648 \u0633\u067e\u0633 \u0627\u0632 \u0633\u0631\u0648\u0631 \u062e\u0627\u0631\u062c \u0634\u0648\u06cc\u062f.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u0646\u062a\u06cc\u062c\u0647<\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627 \u0646\u0645\u0627\u0647\u0627 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645\u060c \u0627\u0644\u06af\u0648\u0647\u0627\u06cc URL \u0631\u0627 \u0646\u0642\u0634\u0647 \u0628\u0631\u062f\u0627\u0631\u06cc \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645 \u0648 \u0645\u062a\u0646 \u0631\u0627 \u062f\u0631 \u06cc\u06a9 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u067e\u0633\u062a \u0648\u0628\u0644\u0627\u06af \u062e\u0648\u062f \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0627\u06cc\u0645.<\/p>\n<p>\u0622\u0645\u0648\u0632\u0634 \u0628\u0639\u062f\u06cc \u0646\u062d\u0648\u0647 \u0627\u06cc\u062c\u0627\u062f \u0632\u06cc\u0628\u0627\u06cc\u06cc \u0634\u0646\u0627\u062e\u062a\u06cc \u0628\u06cc\u0634\u062a\u0631 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 HTML \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0642\u0627\u0644\u0628 \u0647\u0627\u06cc \u062c\u0646\u06af\u0648 \u0631\u0627 \u067e\u0648\u0634\u0634 \u0645\u06cc \u062f\u0647\u062f. \u0627\u06cc\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u062a\u0627\u06a9\u0646\u0648\u0646 \u0645\u062f\u0644 \u0647\u0627\u06cc \u062c\u0646\u06af\u0648 \u0648 \u0646\u0645\u0627\u0647\u0627\u06cc \u062c\u0646\u06af\u0648 \u0631\u0627 \u067e\u0648\u0634\u0634 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a. \u0648\u0642\u062a\u06cc \u0635\u062d\u0628\u062a \u0627\u0632 \u067e\u0627\u06cc\u0647 \u0648 \u0627\u0633\u0627\u0633 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0645\u06cc \u0634\u0648\u062f\u060c \u0627\u0644\u06af\u0648\u0647\u0627 \u0622\u062e\u0631\u06cc\u0646 \u0628\u062e\u0634 \u0645\u0647\u0645 \u0647\u0633\u062a\u0646\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043b\u0435\u0434\u0438\u043b\u0438 \u0437\u0430 \u043d\u0430\u0448\u0435\u0439 \u0441\u0435\u0440\u0438\u0435\u0439 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0430 Django, \u0432\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Django, \u043a\u043e\u0442\u043e\u0440\u043e\u0435\u2026","protected":false},"author":1,"featured_media":15808,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363,369],"tags":[427,434,435,376,368],"class_list":{"0":"post-15807","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"category-os","10":"tag-development","11":"tag-django","12":"tag-programming","13":"tag-python","14":"tag-ubuntu"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/ru\/tutorials\/how-to-create-views-for-django-web-development\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 \u0627\u06af\u0631 \u0633\u0631\u06cc \u062a\u0648\u0633\u0639\u0647 \u062c\u0646\u06af\u0648 \u0645\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u06a9\u0647 \u0628\u0647&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/ru\/tutorials\/how-to-create-views-for-django-web-development\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-30T16:49:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645\",\"datePublished\":\"2024-06-30T16:49:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/\"},\"wordCount\":119,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/30190739\\\/dj2.jpg\",\"keywords\":[\"development\",\"Django\",\"programming\",\"Python\",\"Ubuntu\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\",\"\u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/\",\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/30190739\\\/dj2.jpg\",\"datePublished\":\"2024-06-30T16:49:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/30190739\\\/dj2.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/06\\\/30190739\\\/dj2.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-create-views-for-django-web-development\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/ru\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Django \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u2014 \u0431\u043b\u043e\u0433 ITPiran","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/ru\/tutorials\/how-to-create-views-for-django-web-development\/","og_locale":"ru_RU","og_type":"article","og_title":"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645 - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 \u0627\u06af\u0631 \u0633\u0631\u06cc \u062a\u0648\u0633\u0639\u0647 \u062c\u0646\u06af\u0648 \u0645\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062c\u0646\u06af\u0648 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u06a9\u0647 \u0628\u0647&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/ru\/tutorials\/how-to-create-views-for-django-web-development\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-06-30T16:49:37+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"admin","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645","datePublished":"2024-06-30T16:49:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/"},"wordCount":119,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg","keywords":["development","Django","programming","Python","Ubuntu"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc","\u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/","name":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Django \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u2014 \u0431\u043b\u043e\u0433 ITPiran","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg","datePublished":"2024-06-30T16:49:37+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/06\/30190739\/dj2.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-create-views-for-django-web-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0686\u06af\u0648\u0646\u0647 \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 Django \u0646\u0645\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"\u0411\u043b\u043e\u0433 ITPiran","description":"\u041d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u0431 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0435 \u0418\u0440\u0430\u043d\u0430","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u0411\u043b\u043e\u0433 \u043e\u0431 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u043c \u0438\u0440\u0430\u043d\u0441\u043a\u043e\u043c \u0431\u0438\u0437\u043d\u0435\u0441\u0435","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u0430\u0434\u043c\u0438\u043d","url":"https:\/\/www.itpiran.net\/blog\/ru\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/posts\/15807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/comments?post=15807"}],"version-history":[{"count":2,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/posts\/15807\/revisions"}],"predecessor-version":[{"id":15817,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/posts\/15807\/revisions\/15817"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/media\/15808"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/media?parent=15807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/categories?post=15807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ru\/wp-json\/wp\/v2\/tags?post=15807"}],"curies":[{"name":"WP","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}