{"id":5690,"date":"2025-11-22T17:00:52","date_gmt":"2025-11-22T13:30:52","guid":{"rendered":"https:\/\/parmin.cloud\/blog\/?p=5690"},"modified":"2025-11-22T17:00:52","modified_gmt":"2025-11-22T13:30:52","slug":"%da%86%da%af%d9%88%d9%86%d9%87-%d8%a7%d8%b2-%d9%be%d8%a7%db%8c%da%af%d8%a7%d9%87%d8%af%d8%a7%d8%af%d9%87%d9%94-sqlite-%d8%af%d8%b1-%db%8c%da%a9-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87%d9%94-flas","status":"publish","type":"post","link":"https:\/\/parmin.cloud\/blog\/%da%86%da%af%d9%88%d9%86%d9%87-%d8%a7%d8%b2-%d9%be%d8%a7%db%8c%da%af%d8%a7%d9%87%d8%af%d8%a7%d8%af%d9%87%d9%94-sqlite-%d8%af%d8%b1-%db%8c%da%a9-%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87%d9%94-flas\/","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647\u200c\u062f\u0627\u062f\u0647\u0654 SQLite \u062f\u0631 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647\u0654 Flask \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<div>\n<p>\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0648\u0628 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u0645\u062c\u0645\u0648\u0639\u0647\u200c\u0627\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc\u200c\u0634\u062f\u0647 \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0633\u062a. \u0634\u0645\u0627 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0648 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0624\u062b\u0631 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u062f\u0631 \u06cc\u06a9 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0634\u0628\u06a9\u0647 \u0627\u062c\u062a\u0645\u0627\u0639\u06cc\u060c \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u06cc (\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0634\u062e\u0635\u06cc\u060c \u067e\u0633\u062a\u200c\u0647\u0627\u060c \u06a9\u0627\u0645\u0646\u062a\u200c\u0647\u0627\u060c \u062f\u0646\u0628\u0627\u0644\u200c\u06a9\u0646\u0646\u062f\u06af\u0627\u0646) \u062f\u0631 \u0622\u0646 \u0630\u062e\u06cc\u0631\u0647 \u0634\u062f\u0647 \u0648 \u0628\u0647 \u0634\u06a9\u0644\u06cc \u0642\u0627\u0628\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u0633\u062a. \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u06cc\u0627 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0633\u062a\u0647 \u0628\u0647 \u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0634\u0631\u0627\u06cc\u0637 \u0645\u062e\u062a\u0644\u0641. \u062f\u0631 \u06cc\u06a9 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0648\u0628\u060c \u0627\u06cc\u0646 \u0646\u06cc\u0627\u0632\u0647\u0627 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0634\u0627\u0645\u0644 \u0627\u0641\u0632\u0648\u062f\u0646 \u06cc\u06a9 \u067e\u0633\u062a \u062c\u062f\u06cc\u062f \u062a\u0648\u0633\u0637 \u06a9\u0627\u0631\u0628\u0631\u060c \u062d\u0630\u0641 \u06cc\u06a9 \u067e\u0633\u062a \u06cc\u0627 \u062d\u0630\u0641 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0627\u0648 \u0628\u0627\u0634\u062f\u060c \u06a9\u0647 \u0634\u0627\u06cc\u062f \u067e\u0633\u062a\u200c\u0647\u0627\u06cc\u0634 \u062d\u0630\u0641 \u0646\u0634\u0648\u0646\u062f. \u0639\u0645\u0644\u06cc\u0627\u062a\u06cc \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f \u0628\u0633\u062a\u06af\u06cc \u0628\u0647 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062e\u0627\u0635 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0634\u0645\u0627 \u062f\u0627\u0631\u062f. \u0645\u062b\u0644\u0627\u064b \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u067e\u0633\u062a\u06cc \u0628\u062f\u0648\u0646 \u0639\u0646\u0648\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u0646\u062f.<\/p>\n<p><a href=\"http:\/\/flask.pocoo.org\/\">Flask<\/a> \u06cc\u06a9 \u0641\u0631\u06cc\u0645\u200c\u0648\u0631\u06a9 \u0633\u0628\u06a9 \u0648\u0632\u0646 Python \u0628\u0631\u0627\u06cc \u062a\u0648\u0633\u0639\u0647 \u0648\u0628 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0648 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0645\u0641\u06cc\u062f\u06cc \u0628\u0631\u0627\u06cc \u0633\u0627\u062e\u062a \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0648\u0628 \u0628\u0627 \u0632\u0628\u0627\u0646 Python \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f. <a href=\"https:\/\/www.sqlite.org\/index.html\">SQLite<\/a> \u06cc\u06a9 \u0645\u0648\u062a\u0648\u0631 SQL \u0633\u0627\u062f\u0647 \u0648 \u0633\u0631\u06cc\u0639 \u0628\u0627 \u06a9\u062f \u0628\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0622\u0646 \u0628\u0627 Python \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. SQLite \u0628\u0647 \u062e\u0648\u0628\u06cc \u0628\u0627 Python \u0633\u0627\u0632\u06af\u0627\u0631 \u0627\u0633\u062a \u0686\u0648\u0646 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f <a href=\"https:\/\/docs.python.org\/3\/library\/sqlite3.html\">Python \u0645\u0627\u0698\u0648\u0644 sqlite3<\/a> \u0631\u0627 \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0628\u0631\u0642\u0631\u0627\u0631\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u0647\u0631 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 SQLite \u0631\u0627 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0646\u0635\u0628 \u0627\u0636\u0627\u0641\u06cc \u0645\u06cc\u200c\u062f\u0647\u062f. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SQLite \u0628\u0627 Python \u0646\u06cc\u0632 \u0646\u0633\u0628\u062a \u0628\u0647 \u0633\u0627\u06cc\u0631 \u0645\u0648\u062a\u0648\u0631\u0647\u0627\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645\u06cc \u062f\u0627\u0631\u062f.<\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0634\u0645\u0627 \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u0648\u0628 \u06a9\u0648\u0686\u06a9 \u0645\u06cc\u200c\u0633\u0627\u0632\u06cc\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0686\u0637\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0627 Flask \u0648 SQLite \u0639\u0645\u0644\u06cc\u0627\u062a \u067e\u0627\u06cc\u0647\u200c\u0627\u06cc CRUD (\u0627\u06cc\u062c\u0627\u062f\u060c \u062e\u0648\u0627\u0646\u062f\u0646\u060c \u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0648 \u062d\u0630\u0641) \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f. \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0648\u0628 \u0634\u0645\u0627 \u06cc\u06a9 \u0628\u0644\u0627\u06af \u0633\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f \u06a9\u0647 \u067e\u0633\u062a\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0627\u0635\u0644\u06cc \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f. \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u067e\u0633\u062a\u200c\u0647\u0627\u06cc \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u0646\u062f\u060c \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u0646\u062f \u0648 \u06cc\u0627 \u062d\u0630\u0641 \u06a9\u0646\u0646\u062f.<\/p>\n<h2>\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 SQLite<\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u0628\u0627\u06cc\u062f \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 SQLite \u062e\u0648\u062f \u0631\u0627 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc\u062a\u0627\u0646 (\u067e\u0633\u062a\u200c\u0647\u0627\u06cc \u0628\u0644\u0627\u06af) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f\u060c \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u0633\u067e\u0633 \u0686\u0646\u062f \u0646\u0645\u0648\u0646\u0647 \u067e\u0633\u062a \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0627\u0632 \u0645\u0627\u0698\u0648\u0644 sqlite3 \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u062f\u0631 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f Python \u0645\u0648\u062c\u0648\u062f \u0627\u0633\u062a.<\/p>\n<p>\u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0631 SQLite \u062f\u0631 \u062c\u062f\u0627\u0648\u0644 \u0648 \u0633\u062a\u0648\u0646\u200c\u0647\u0627 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u062c\u062f\u0648\u0644\u06cc \u0628\u0647 \u0646\u0627\u0645 posts \u0628\u0627 \u0633\u062a\u0648\u0646\u200c\u0647\u0627\u06cc \u0644\u0627\u0632\u0645 \u0628\u0633\u0627\u0632\u06cc\u062f. \u06cc\u06a9 \u0641\u0627\u06cc\u0644 schema.sql \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0633\u062a\u0648\u0631\u0627\u062a SQL \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u062c\u062f\u0648\u0644 posts \u0631\u0627 \u062f\u0627\u062e\u0644 \u0622\u0646 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f. \u0633\u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f.<\/p>\n<p>\u0641\u0627\u06cc\u0644 schema.sql \u0631\u0627 \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc flask_app \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f (\u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631):<\/p>\n<pre><code>-- Delete the posts table if it exists to avoid conflicts\r\nDROP TABLE IF EXISTS posts;\r\n\r\n-- Create the posts table with the necessary columns\r\nCREATE TABLE posts (\r\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\r\n  title TEXT NOT NULL,\r\n  content TEXT NOT NULL,\r\n  created TIMESTAMP DEFAULT CURRENT_TIMESTAMP\r\n);\r\n<\/code><\/pre>\n<p>\u062d\u0627\u0644\u0627 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 Python \u0628\u0647 \u0646\u0627\u0645 init_db.py \u0628\u0631\u0627\u06cc \u0627\u062c\u0631\u0627\u06cc \u0627\u06cc\u0646 schema \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>import sqlite3\r\n\r\nconnection = sqlite3.connect('database.db')\r\n\r\nwith open('schema.sql') as f:\r\n    connection.executescript(f.read())\r\n\r\ncur = connection.cursor()\r\n\r\ncur.execute(\"INSERT INTO posts (title, content) VALUES (?, ?)\",\r\n            ('Sample Post 1', 'This is the content for the first post')\r\n            )\r\n\r\ncur.execute(\"INSERT INTO posts (title, content) VALUES (?, ?)\",\r\n            ('Sample Post 2', 'This is the content for the second post')\r\n            )\r\n\r\nconnection.commit()\r\nconnection.close()\r\n<\/code><\/pre>\n<p>\u0627\u06cc\u0646 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0627\u0628\u062a\u062f\u0627 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0631\u0627 \u0645\u06cc\u200c\u0633\u0627\u0632\u062f\u060c \u0633\u067e\u0633 \u062f\u0648 \u067e\u0633\u062a \u0646\u0645\u0648\u0646\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0622\u0646 \u0631\u0627 \u0628\u0627 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>python init_db.py\r\n<\/code><\/pre>\n<p>\u0641\u0627\u06cc\u0644 database.db \u062f\u0631 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc flask_app \u0633\u0627\u062e\u062a\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f \u06a9\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0634\u0645\u0627 \u0627\u0633\u062a.<\/p>\n<h2>\u0633\u0627\u062e\u062a \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 Flask \u0648 \u0646\u0645\u0627\u06cc\u0634 \u067e\u0633\u062a\u200c\u0647\u0627<\/h2>\n<p>\u0641\u0627\u06cc\u0644 app.py \u0631\u0627 \u0628\u0633\u0627\u0632\u06cc\u062f \u0648 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre><code>import sqlite3\r\nfrom flask import Flask, render_template\r\n\r\napp = Flask(__name__)\r\n\r\ndef get_db_connection():\r\n    conn = sqlite3.connect('database.db')\r\n    conn.row_factory = sqlite3.Row\r\n    return conn\r\n\r\n@app.route('\/')\r\ndef index():\r\n    conn = get_db_connection()\r\n    posts = conn.execute('SELECT * FROM posts').fetchall()\r\n    conn.close()\r\n    return render_template('index.html', posts=posts)\r\n<\/code><\/pre>\n<p>\u062a\u0627\u0628\u0639 get_db_connection \u06cc\u06a9 \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0627\u0632 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 row_factory \u0631\u0627 \u0637\u0648\u0631\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u0633\u062a\u0648\u0646\u200c\u0647\u0627 \u0628\u0627 \u0646\u0627\u0645 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f. \u062a\u0627\u0628\u0639 index \u0647\u0645\u0647 \u067e\u0633\u062a\u200c\u0647\u0627 \u0631\u0627 \u0645\u06cc\u200c\u062e\u0648\u0627\u0646\u062f \u0648 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0642\u0627\u0644\u0628 index.html \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<h2>\u0642\u0627\u0644\u0628 base.html<\/h2>\n<p>\u06cc\u06a9 \u067e\u0648\u0634\u0647 templates \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0641\u0627\u06cc\u0644 base.html \u0631\u0627 \u0628\u0627 \u0645\u062d\u062a\u0648\u0627\u06cc \u0632\u06cc\u0631 \u0628\u0633\u0627\u0632\u06cc\u062f:<\/p>\n<pre><code>&lt;!doctype html&gt;\r\n&lt;html lang=\"en\"&gt;\r\n  &lt;head&gt;\r\n    &lt;meta charset=\"utf-8\"&gt;\r\n    &lt;title&gt;{% block title %}Blog{% endblock %}&lt;\/title&gt;\r\n    &lt;style&gt;\r\n      body {\r\n        font-family: Arial, sans-serif;\r\n      }\r\n      nav a {\r\n        margin-right: 15px;\r\n      }\r\n      .alert {\r\n        color: red;\r\n      }\r\n    &lt;\/style&gt;\r\n  &lt;\/head&gt;\r\n  &lt;body&gt;\r\n    &lt;nav&gt;\r\n      &lt;a href=\"{{ url_for('index') }}\"&gt;Home&lt;\/a&gt;\r\n      &lt;a href=\"{{ url_for('create') }}\"&gt;Create&lt;\/a&gt;\r\n    &lt;\/nav&gt;\r\n    {% with messages = get_flashed_messages() %}\r\n      {% if messages %}\r\n        {% for message in messages %}\r\n          &lt;div class=\"alert\"&gt;{{ message }}&lt;\/div&gt;\r\n        {% endfor %}\r\n      {% endif %}\r\n    {% endwith %}\r\n    {% block content %}{% endblock %}\r\n  &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h2>\u0642\u0627\u0644\u0628 index.html<\/h2>\n<p>\u0641\u0627\u06cc\u0644 index.html \u0631\u0627 \u062f\u0631 \u067e\u0648\u0634\u0647 templates \u0628\u0633\u0627\u0632\u06cc\u062f \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>{% extends 'base.html' %}\r\n\r\n{% block title %}Home{% endblock %}\r\n\r\n{% block content %}\r\n  &lt;h1&gt;Posts&lt;\/h1&gt;\r\n  {% for post in posts %}\r\n    &lt;article&gt;\r\n      &lt;h2&gt;{{ post['title'] }}&lt;\/h2&gt;\r\n      &lt;div&gt;{{ post['created'] }}&lt;\/div&gt;\r\n      &lt;p&gt;{{ post['content'] }}&lt;\/p&gt;\r\n      &lt;a href=\"{{ url_for('edit', id=post['id']) }}\"&gt;Edit&lt;\/a&gt;\r\n    &lt;\/article&gt;\r\n  {% endfor %}\r\n{% endblock %}\r\n<\/code><\/pre>\n<h2>\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 Flask<\/h2>\n<p>\u062f\u0631 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0648 \u062f\u0627\u062e\u0644 \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc flask_app\u060c \u0628\u0627 \u0645\u062d\u06cc\u0637 \u0645\u062c\u0627\u0632\u06cc \u0641\u0639\u0627\u0644\u060c \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f (\u062f\u0631 Linux\/Mac):<\/p>\n<pre><code>export FLASK_APP=app.py\r\nexport FLASK_ENV=development\r\nflask run\r\n<\/code><\/pre>\n<p>\u062f\u0631 \u0648\u06cc\u0646\u062f\u0648\u0632 \u0628\u0647 \u062c\u0627\u06cc export \u0627\u0632 set \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0646 <code>http:\/\/127.0.0.1:5000\/<\/code> \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631\u060c \u067e\u0633\u062a\u200c\u0647\u0627 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f.<\/p>\n<h2>\u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0627\u06cc\u062c\u0627\u062f \u067e\u0633\u062a \u062c\u062f\u06cc\u062f \u0628\u0627 \u0641\u0631\u0645 \u0648\u0628 \u0648 \u0641\u0644\u0627\u0634 \u067e\u06cc\u0627\u0645<\/h2>\n<p>app.py \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0647 \u0627\u0648\u0644 \u0641\u0627\u06cc\u0644 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>from flask import request, redirect, url_for, flash\r\n\r\napp.config['SECRET_KEY'] = 'your-secret-key'  # Replace with a secure random key\r\n<\/code><\/pre>\n<p>\u0648 \u0633\u067e\u0633 \u0627\u06cc\u0646 \u0645\u0633\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>@app.route('\/create', methods=('GET', 'POST'))\r\ndef create():\r\n    if request.method == 'POST':\r\n        title = request.form['title']\r\n        content = request.form['content']\r\n\r\n        if not title:\r\n            flash('Title is required!')\r\n        elif not content:\r\n            flash('Content is required!')\r\n        else:\r\n            conn = get_db_connection()\r\n            conn.execute('INSERT INTO posts (title, content) VALUES (?, ?)',\r\n                         (title, content))\r\n            conn.commit()\r\n            conn.close()\r\n            return redirect(url_for('index'))\r\n\r\n    return render_template('create.html')\r\n<\/code><\/pre>\n<p>\u06cc\u06a9 \u0642\u0627\u0644\u0628 create.html \u0628\u0627 \u0645\u062d\u062a\u0648\u0627\u06cc \u0632\u06cc\u0631 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>{% extends 'base.html' %}\r\n\r\n{% block title %}Create{% endblock %}\r\n\r\n{% block content %}\r\n  &lt;h1&gt;Add a New Post&lt;\/h1&gt;\r\n  &lt;form method=\"post\"&gt;\r\n    &lt;label for=\"title\"&gt;Title&lt;\/label&gt;\r\n    &lt;input type=\"text\" name=\"title\" id=\"title\" value=\"{{ request.form['title'] }}\"&gt;\r\n    &lt;label for=\"content\"&gt;Content&lt;\/label&gt;\r\n    &lt;textarea name=\"content\" id=\"content\"&gt;{{ request.form['content'] }}&lt;\/textarea&gt;\r\n    &lt;input type=\"submit\" value=\"Submit\"&gt;\r\n  &lt;\/form&gt;\r\n{% endblock %}\r\n<\/code><\/pre>\n<h2>\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0648 \u062d\u0630\u0641 \u067e\u0633\u062a\u200c\u0647\u0627<\/h2>\n<p>\u062f\u0631 app.py \u062a\u0648\u0627\u0628\u0639 \u0632\u06cc\u0631 \u0648 \u0645\u0633\u06cc\u0631\u0647\u0627 \u0628\u0631\u0627\u06cc \u06af\u0631\u0641\u062a\u0646 \u06cc\u06a9 \u067e\u0633\u062a\u060c \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0648 \u062d\u0630\u0641 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f \u06a9\u0627\u0645\u0646\u062a\u200c\u0647\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0627\u0646\u06af\u0644\u06cc\u0633\u06cc \u0628\u0627\u0642\u06cc \u0628\u0645\u0627\u0646\u0646\u062f \u0648 \u06a9\u0627\u0645\u0646\u062f\u0647\u0627 \u0648 \u06a9\u062f\u0647\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0646\u06a9\u0646\u0646\u062f.<\/p>\n<pre><code>from flask import abort\r\n\r\ndef get_post(post_id):\r\n    conn = get_db_connection()\r\n    post = conn.execute('SELECT * FROM posts WHERE id = ?', (post_id,)).fetchone()\r\n    conn.close()\r\n    if post is None:\r\n        abort(404)\r\n    return post\r\n\r\n@app.route('\/&lt;int:id&gt;\/edit\/', methods=('GET', 'POST'))\r\ndef edit(id):\r\n    post = get_post(id)\r\n\r\n    if request.method == 'POST':\r\n        title = request.form['title']\r\n        content = request.form['content']\r\n\r\n        if not title:\r\n            flash('Title is required!')\r\n        elif not content:\r\n            flash('Content is required!')\r\n        else:\r\n            conn = get_db_connection()\r\n            conn.execute('UPDATE posts SET title = ?, content = ? WHERE id = ?',\r\n                         (title, content, id))\r\n            conn.commit()\r\n            conn.close()\r\n            return redirect(url_for('index'))\r\n\r\n    return render_template('edit.html', post=post)\r\n\r\n\r\n@app.route('\/&lt;int:id&gt;\/delete', methods=('POST',))\r\ndef delete(id):\r\n    post = get_post(id)\r\n    conn = get_db_connection()\r\n    conn.execute('DELETE FROM posts WHERE id = ?', (id,))\r\n    conn.commit()\r\n    conn.close()\r\n    flash('\"{}\" was successfully deleted!'.format(post['title']))\r\n    return redirect(url_for('index'))\r\n<\/code><\/pre>\n<p>\u0642\u0627\u0644\u0628 edit.html \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>{% extends 'base.html' %}\r\n\r\n{% block title %}Edit \"{{ post['title'] }}\"{% endblock %}\r\n\r\n{% block content %}\r\n  &lt;h1&gt;Edit \"{{ post['title'] }}\"&lt;\/h1&gt;\r\n  &lt;form method=\"post\"&gt;\r\n    &lt;label for=\"title\"&gt;Title&lt;\/label&gt;\r\n    &lt;input type=\"text\" name=\"title\" id=\"title\" value=\"{{ request.form['title'] or post['title'] }}\"&gt;\r\n    &lt;label for=\"content\"&gt;Content&lt;\/label&gt;\r\n    &lt;textarea name=\"content\" id=\"content\"&gt;{{ request.form['content'] or post['content'] }}&lt;\/textarea&gt;\r\n    &lt;input type=\"submit\" value=\"Submit\"&gt;\r\n  &lt;\/form&gt;\r\n\r\n  &lt;hr&gt;\r\n\r\n  &lt;form method=\"post\" action=\"{{ url_for('delete', id=post['id']) }}\" onsubmit=\"return confirm('Are you sure you want to delete this post?');\"&gt;\r\n    &lt;input type=\"submit\" value=\"Delete\"&gt;\r\n  &lt;\/form&gt;\r\n{% endblock %}\r\n<\/code><\/pre>\n<p>\u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647 \u0634\u0645\u0627 \u0646\u062d\u0648\u0647 \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0628\u0644\u0627\u06af \u0633\u0627\u062f\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 Flask \u0648 SQLite \u0631\u0627 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u067e\u0633\u062a\u200c\u0647\u0627 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f\u060c \u0645\u0634\u0627\u0647\u062f\u0647\u060c \u0648\u06cc\u0631\u0627\u06cc\u0634 \u0648 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f.<\/p>\n<h2>\u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0642\u0631\u0627\u0631 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u062a\u0648\u0644\u06cc\u062f \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc CORS<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0642\u0631\u0627\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 Flask \u062e\u0648\u062f \u062f\u0631 \u0645\u062d\u06cc\u0637 \u062a\u0648\u0644\u06cc\u062f\u06cc \u06a9\u0647 \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u0631\u0648\u0631\u06af\u0631 \u0628\u0627 CORS (Cross-Origin Resource Sharing) \u0631\u0627 \u062f\u0627\u0631\u062f\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0686\u0646\u062f \u06af\u0627\u0645 \u0645\u0647\u0645 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f:<\/p>\n<ul>\n<li>\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0631\u0648\u0631 \u062a\u0648\u0644\u06cc\u062f\u06cc \u0645\u0646\u0627\u0633\u0628 \u0645\u0627\u0646\u0646\u062f Gunicorn \u0628\u0647 \u062c\u0627\u06cc \u0633\u0631\u0648\u0631 \u062a\u0648\u0633\u0639\u0647 Flask.<\/li>\n<li>\u0627\u0646\u062a\u0634\u0627\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0631 \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u06cc\u0627 \u0647\u0627\u0633\u062a \u0627\u0628\u0631\u06cc \u0645\u062b\u0644 \u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f\u060c \u0628\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0634\u0628\u06a9\u0647 \u0645\u0646\u0627\u0633\u0628.<\/li>\n<li>\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc CORS \u0628\u0647 \u06a9\u0645\u06a9 \u0627\u0641\u0632\u0648\u0646\u0647 flask-cors.<\/li>\n<li>\u0645\u062d\u062f\u0648\u062f \u06a9\u0631\u062f\u0646 \u0645\u0646\u0627\u0628\u0639 \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0627 CORS (\u0627\u062c\u0627\u0632\u0647 \u062f\u0627\u062f\u0646 \u0628\u0647 \u062f\u0627\u0645\u06cc\u0646\u200c\u0647\u0627\u06cc \u0645\u0634\u062e\u0635 \u06cc\u0627 \u0647\u0645\u0647).<\/li>\n<li>\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc HTTPS \u0648 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u062f\u06cc\u06af\u0631 \u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f.<\/li>\n<\/ul>\n<p>\u0642\u062f\u0645\u200c\u0647\u0627\u06cc \u0639\u0645\u0644\u06cc \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u0647\u0633\u062a\u0646\u062f:<\/p>\n<h3>1. \u0646\u0635\u0628 flask-cors<\/h3>\n<pre><code>pip install flask-cors\r\n<\/code><\/pre>\n<h3>2. \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 flask-cors \u0628\u0647 \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627<\/h3>\n<p>\u062f\u0631 \u0641\u0627\u06cc\u0644 app.py\u060c flask-cors \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>from flask_cors import CORS\r\n\r\napp = Flask(__name__)\r\nCORS(app)\r\n<\/code><\/pre>\n<p>\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0641\u0642\u0637 \u0628\u0647 \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u0645\u0646\u0628\u0639 \u062e\u0627\u0635 \u0627\u062c\u0627\u0632\u0647 \u062f\u0647\u06cc\u062f\u060c \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code>CORS(app, resources={r\"\/*\": {\"origins\": \"https:\/\/yourdomain.com\"}})\r\n<\/code><\/pre>\n<h3>3. \u0627\u062c\u0631\u0627\u06cc \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0628\u0627 Gunicorn (\u0628\u0647 \u062c\u0627\u06cc flask run)<\/h3>\n<p>\u0628\u0627 \u0646\u0635\u0628 Gunicorn:<\/p>\n<pre><code>pip install gunicorn\r\n<\/code><\/pre>\n<p>\u0648 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646:<\/p>\n<pre><code>gunicorn --bind 0.0.0.0:8000 app:app\r\n<\/code><\/pre>\n<h3>4. \u062a\u0646\u0638\u06cc\u0645 \u0633\u0631\u0648\u0631 \u0648 DNS<\/h3>\n<p>\u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0631\u0648\u06cc \u06cc\u06a9 plan \u062f\u0631 \u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u0631 \u06a9\u0646\u06cc\u062f\u060c \u0648 \u0622\u062f\u0631\u0633 \u062f\u0627\u0645\u0646\u0647 \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 IP \u0633\u0631\u0648\u0631 \u0627\u0634\u0627\u0631\u0647 \u062f\u0647\u06cc\u062f.<\/p>\n<h3>5. \u062a\u0646\u0638\u06cc\u0645 HTTPS \u0648 \u0627\u0645\u0646\u06cc\u062a<\/h3>\n<p>\u0627\u0632 \u06cc\u06a9 reverse proxy \u0645\u062b\u0644 Nginx \u0647\u0645\u0631\u0627\u0647 \u0628\u0627 Let&#8217;s Encrypt \u0628\u0631\u0627\u06cc SSL \u0648 HTTPS \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u0645\u0631\u0648\u0631\u06af\u0631\u0647\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u0646\u062f \u0645\u0646\u0627\u0628\u0639 \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627 \u0631\u0627 \u062f\u0631 \u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627\u06cc \u0645\u062c\u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u0646\u062f \u0648 \u062e\u0637\u0627\u0647\u0627\u06cc \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 CORS \u0628\u0631\u0637\u0631\u0641 \u062e\u0648\u0627\u0647\u0646\u062f \u0634\u062f.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>\u0627\u0632 \u0647\u0645\u0631\u0627\u0647\u06cc \u0634\u0645\u0627 \u0628\u0627 <a href=\"https:\/\/parmin.cloud\/\">\u067e\u0627\u0631\u0645\u06cc\u0646 \u06a9\u0644\u0648\u062f<\/a> \u0645\u062a\u0634\u06a9\u0631\u06cc\u0645.<\/p>\n<div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc \u0648\u0628 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u0645\u062c\u0645\u0648\u0639\u0647\u200c\u0627\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc\u200c\u0634\u062f\u0647 \u0627\u0632 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0627\u0633\u062a. \u0634\u0645\u0627 \u0627\u0632 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u0648 \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0637\u0648\u0631 \u0645\u0624\u062b\u0631 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u062f\u0631 \u06cc\u06a9 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0634\u0628\u06a9\u0647 \u0627\u062c\u062a\u0645\u0627\u0639\u06cc\u060c \u06cc\u06a9 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u06cc (\u0627\u0637\u0644\u0627\u0639\u0627\u062a [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":5699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[1],"tags":[609,607,606,608,605],"class_list":["post-5690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1","tag-----flask--sqlite","tag------python--flask","tag---flask---cors---","tag--crud---flask---","tag---flask--sqlite----"],"aioseo_notices":[],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/5690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/comments?post=5690"}],"version-history":[{"count":1,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/5690\/revisions"}],"predecessor-version":[{"id":5692,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/posts\/5690\/revisions\/5692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media\/5699"}],"wp:attachment":[{"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/media?parent=5690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/categories?post=5690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parmin.cloud\/blog\/wp-json\/wp\/v2\/tags?post=5690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}