

{"id":51904,"date":"2019-03-11T16:01:27","date_gmt":"2019-03-11T10:31:27","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=51904"},"modified":"2021-06-21T12:19:43","modified_gmt":"2021-06-21T06:49:43","slug":"django-project-layout","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/django-project-layout\/","title":{"rendered":"Django Project Layout and Different Files Structure in Root Directory"},"content":{"rendered":"<p>In this <strong>Django tutorial<\/strong>, we will be learning about the layout of a Django project and files inside the Django project. As we learned in the previous tutorials that Django is a \u201cBatteries- Included\u201d framework which is made for rapid development with a pragmatic design.<\/p>\n<p>When you <strong>create a Django project<\/strong>, the Django framework itself creates a root directory of the project with the project name on it. That contains some files and folder, which provide the very basic functionality to your website and on that strong foundation you will be building your full scaled website.<\/p>\n<h2><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51936\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg\" alt=\"Django Project Layout &amp; Files Structure\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/h2>\n<h3>Files in the Django Project Root Directory<\/h3>\n<p>By root directory, we mean about the directory which contains your manage.py file. Additional files like db.sqlite, which is a database file\u00a0may be present when we will be migrating our project.<\/p>\n<p>Django root directory is the default app which Django provides you. It contains the files which will be used in maintaining the whole project.<\/p>\n<p>The name of Django root directory is the same as the project name you mentioned in django-admin startproject [projectname]. This root directory is the project\u2019s connection with Django.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51927\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory.png\" alt=\"Naming of Root Directory\" width=\"1899\" height=\"1001\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory.png 1899w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory-150x79.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory-300x158.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory-768x405.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory-1024x540.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Naming-of-Root-Directory-520x274.png 520w\" sizes=\"auto, (max-width: 1899px) 100vw, 1899px\" \/><\/a><\/p>\n<p>The files in root directory have their specific purposes and once you will understand them Django will look much more logical to you.\u00a0All these files are just for completing special purposes and they are in very logical order.<\/p>\n<p>We will be starting with the manage.py file.<\/p>\n<h3>1. manage.py<\/h3>\n<p>This file is the command line utility of the project and we will be using this file only to deploy, debug and test with the project.<\/p>\n<p>The file contains the code for starting the server, migrating and controlling the project through command-line.<br \/>\nThis file provides all the functionality as with the django-admin and it also provides some project specific functionalities. During this tutorial,\u00a0we will frequently use some of the commands that are\u00a0runserver, makemigrations, migrate etc. We will be using these commands more frequently than others.<\/p>\n<p><strong>runserver<\/strong> is a command to start the test server provided by Django framework and that is also one of the advantages of Django over other frameworks.<\/p>\n<p><strong>makemigrations<\/strong> is the command for integrating your project with files or apps you have added in it. This command will actually check for any new additions in your project and then add that to the same.<\/p>\n<p><strong>migrate, <\/strong>the last command\u00a0is to actually add those migrations you made in the last command with the whole project. You can get the idea as the former command is used for saving the changes in the file and later one to actually apply that change to the whole project then the single file.<\/p>\n<h3>2. my_project<\/h3>\n<p>my_project is the python package of the project. It has the configuration files of project settings.<\/p>\n<h4><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51932\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory.png\" alt=\"Files in Root Directory\" width=\"1543\" height=\"450\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory.png 1543w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory-150x44.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory-300x87.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory-768x224.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory-1024x299.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Files-in-Root-Directory-520x152.png 520w\" sizes=\"auto, (max-width: 1543px) 100vw, 1543px\" \/><\/a><\/h4>\n<h4>i. __init__.py<\/h4>\n<p>The __init__.py file is empty and it exists in the project for the sole purpose of telling the python interpreter that this directory is a package. That\u2019s one of the standard rules of <strong>python packages<\/strong>.<\/p>\n<p>Although we won\u2019t be doing anything on this file.<\/p>\n<h4>ii. settings.py<\/h4>\n<p>The\u00a0settings.py is the main file where we will be adding all our applications and middleware applications. As the name suggests this is the main settings file of the Django project. This file contains the installed applications and middleware information which are installed on this Django project.<\/p>\n<p>Every time you install a new app or custom application you will be adding that in this file.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51933\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look.png\" alt=\"setting.py file look\" width=\"1723\" height=\"902\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look.png 1723w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look-150x79.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look-300x157.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look-768x402.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look-1024x536.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/setting.py-file-look-520x272.png 520w\" sizes=\"auto, (max-width: 1723px) 100vw, 1723px\" \/><\/a><\/p>\n<p>This file should look like this. You can see that there are some pre-installed applications. These applications are by default there to provide all the basic functionality you will ever need for your website like Django\u00a0admin app which we will be covering in the upcoming tutorials.<\/p>\n<h4>iii. urls.py<\/h4>\n<p>urls.py file contains the project level URL information. URL is universal resource locator and it provides you with the address of the resource (images, webpages, web-applications) and other resources for your website.<\/p>\n<p>The main purpose of this file is to connect the web-apps with the project. Anything you will be typing in the URL bar will be processed by this urls.py file. Then, it will correspond your request to the designated app you connected to it.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/urls.py-file-look.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51934\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/urls.py-file-look.png\" alt=\"urls.py file look\" width=\"448\" height=\"162\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/urls.py-file-look.png 448w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/urls.py-file-look-150x54.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/urls.py-file-look-300x108.png 300w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/a><\/p>\n<p>Here this file by default adds one URL to the admin app. The path () takes two arguments.<\/p>\n<p>1st is the URL to be searched in the URL bar on the local server and 2nd is the file you want to run when that URL request is matched, the admin is the pre-made application and the file is URL&#8217;s file of that app. This file is the map of your Django project.<\/p>\n<h4>iv. wsgi.py<\/h4>\n<p>Django is based on python which uses WSGI server for web development. This file is mainly concerned with that and we will not be using this file much.<\/p>\n<p>wsgi is still important though if you want to deploy the applications on Apache servers or any other server because Django is still backend and you will need its support with different servers.<\/p>\n<p>But you need not to worry because for every server there is a Django middleware out there which solves all the connectivity and integration issues and you just have to import that middleware for your server, it\u2019s very simple.<\/p>\n<h3>Summary<\/h3>\n<p>In this tutorial we learned about the Django project layout and how all the files in the Django architecture align and what\u2019s their purpose.<\/p>\n<p>These files are the very basics and will be present in any <strong>Django<\/strong> application you create individually. Their main task is to provide you all the backend support and resolve connectivity issues. It happens while you handle the database creation.<\/p>\n<p>It also manages frontend and the uniqueness of your website or web-application.<\/p>\n<p>Any queries or suggestions regarding the tutorial? Just enter in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Django tutorial, we will be learning about the layout of a Django project and files inside the Django project. As we learned in the previous tutorials that Django is a \u201cBatteries- Included\u201d&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":51936,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19149],"tags":[19228,19201,19229,19230],"class_list":["post-51904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-django","tag-django-files-structure","tag-django-project","tag-django-project-layout","tag-django-root-directory"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Django Project Layout and Different Files Structure in Root Directory - DataFlair<\/title>\n<meta name=\"description\" content=\"Django project layout covers files structure in a Django root directory; manage.py, init.py, settings.py, urls.py and wsgi.py.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/django-project-layout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Django Project Layout and Different Files Structure in Root Directory - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Django project layout covers files structure in a Django root directory; manage.py, init.py, settings.py, urls.py and wsgi.py.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/django-project-layout\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-11T10:31:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-21T06:49:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Django Project Layout and Different Files Structure in Root Directory - DataFlair","description":"Django project layout covers files structure in a Django root directory; manage.py, init.py, settings.py, urls.py and wsgi.py.","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:\/\/data-flair.training\/blogs\/django-project-layout\/","og_locale":"en_US","og_type":"article","og_title":"Django Project Layout and Different Files Structure in Root Directory - DataFlair","og_description":"Django project layout covers files structure in a Django root directory; manage.py, init.py, settings.py, urls.py and wsgi.py.","og_url":"https:\/\/data-flair.training\/blogs\/django-project-layout\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-03-11T10:31:27+00:00","article_modified_time":"2021-06-21T06:49:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Django Project Layout and Different Files Structure in Root Directory","datePublished":"2019-03-11T10:31:27+00:00","dateModified":"2021-06-21T06:49:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/"},"wordCount":986,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg","keywords":["Django Files Structure","Django Project","Django Project Layout","Django Root Directory"],"articleSection":["Django Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/django-project-layout\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/","url":"https:\/\/data-flair.training\/blogs\/django-project-layout\/","name":"Django Project Layout and Different Files Structure in Root Directory - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg","datePublished":"2019-03-11T10:31:27+00:00","dateModified":"2021-06-21T06:49:43+00:00","description":"Django project layout covers files structure in a Django root directory; manage.py, init.py, settings.py, urls.py and wsgi.py.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/django-project-layout\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/03\/Django-Project-Layout-Files-Structure.jpg","width":1200,"height":628,"caption":"Django Project Layout & Files Structure"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/django-project-layout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Django Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/django\/"},{"@type":"ListItem","position":3,"name":"Django Project Layout and Different Files Structure in Root Directory"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/51904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=51904"}],"version-history":[{"count":10,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/51904\/revisions"}],"predecessor-version":[{"id":97568,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/51904\/revisions\/97568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/51936"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=51904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=51904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=51904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}