{"id":80892,"date":"2021-06-16T09:00:41","date_gmt":"2021-06-16T03:30:41","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=80892"},"modified":"2021-06-16T09:00:41","modified_gmt":"2021-06-16T03:30:41","slug":"django-project-structure-layout","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/","title":{"rendered":"Django Project Structure and File Structure"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Django makes use of a directory structure to arrange different parts of the web application. It <\/span><span style=\"font-weight: 400\">creates a project and an app folder for this.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Creating a proper project and organizing it helps in keeping the project DRY (Don\u2019t Repeat Yourself) and clean.<\/span><\/p>\n<p><span style=\"font-weight: 400\">When we create a Django project, the Django itself creates a root directory of the project with the project name you have given on it. It contains the necessary files that would provide basic functionalities to your web applications.\u00a0<\/span><\/p>\n<h3>Different files in Django Root Directory<\/h3>\n<p><span style=\"font-weight: 400\">You can search for the directory by searching the name of the project you have created using the command django -admin startproject (project_name).<\/span><\/p>\n<p><span style=\"font-weight: 400\">We will be using Visual studio for further work. I will recommend this to you as well.<\/span><\/p>\n<h3>1. manage.py<\/h3>\n<p><span style=\"font-weight: 400\">If you are not new to Django, you must have seen the word \u201ccommand-line utility\u201d many times. But what does this mean?<\/span><\/p>\n<p><span style=\"font-weight: 400\">Well, by using the command-line utility, you can migrate i.e., either import or export metadata objects across different domains or setup. You can create one or more objects within an object or its multiple objects.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Now straight away coming to the topic. What is manage.py?<\/span><\/p>\n<p><span style=\"font-weight: 400\">This file is used as a command-line utility for our projects. We will use this file for\u00a0<\/span><span style=\"font-weight: 400\">debugging, deploying, and running our web applications.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The file contains the code for running the server, makemigrations or migrations, and several other commands as well, which we perform in the code editor.<\/span><\/p>\n<p><span style=\"font-weight: 400\">It performs the same things as django-admin but also provides some project-specific\u00a0<\/span><span style=\"font-weight: 400\">functionality.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">There are several commands under manage.py. Few important ones are as follows:<\/span><\/p>\n<h4>a. Runserver<\/h4>\n<p><span style=\"font-weight: 400\">This command is used to start the test server for our web application,\u00a0<\/span><span style=\"font-weight: 400\">provided by the Django framework.<\/span><\/p>\n<h4>b. makemigrations<\/h4>\n<p><span style=\"font-weight: 400\"> We use this command to apply new migrations across projects and apps that have been carried out due to the changes in the database.<\/span><\/p>\n<h4>c. migrate<\/h4>\n<p><span style=\"font-weight: 400\">This is the prior step of the <\/span><b>makemigration<\/b><span style=\"font-weight: 400\"> command. We use this for making the changes to the modules in the database.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Below in the image is the list of tasks you can perform with manage.py.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_STructure_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80993\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_STructure_1.png\" alt=\"Django Project Structure\" width=\"465\" height=\"320\" \/><\/a><\/p>\n<h3>Project files<\/h3>\n<p><span style=\"font-weight: 400\">Project is the name you have given to your project while typing <\/span><b>django -admin startproject (project_name). <\/b><span style=\"font-weight: 400\">In my case it is TechVidvan. It contains configuration files of the project.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80994\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_2.png\" alt=\"Django Project Layout\" width=\"385\" height=\"492\" \/><\/a><\/p>\n<h4>1.\u00a0__init.py_<\/h4>\n<p><span style=\"font-weight: 400\">This is an empty file as you can see below in the image. The function of this file is to tell the Python interpreter that this directory is a package and involvement of this __init.py_ file in it makes it a python project.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django-Project-STructure_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80995\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django-Project-STructure_3.png\" alt=\"Django Project Structure\" width=\"1920\" height=\"1028\" \/><\/a><\/p>\n<h4>2. settings.py<\/h4>\n<p><span style=\"font-weight: 400\">It contains the Django project configuration.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The setting.py is the most important file, and it is used for adding all the applications and middleware applications. This is the main setting file of the Django project.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">This contains several variable names, and if you change the value, your application will work accordingly.<\/span><\/p>\n<p><span style=\"font-weight: 400\">It contains sqlite3 as the default database. We can change this database to Mysql, PostgreSQL, or MongoDB according to the web application we create.<\/span><\/p>\n<p><span style=\"font-weight: 400\">It contains some pre-installed apps and middleware that are there to provide basic functionality.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80996\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_4.png\" alt=\"Django Project Layout\" width=\"1920\" height=\"1028\" \/><\/a><\/p>\n<h4>3. urls.py<\/h4>\n<p><span style=\"font-weight: 400\">URL is a universal resource locator, it contains all the endpoints that we should have for our website. It is used to provide you the address of the resources (images, webpages, websites, etc) that are present out there on the internet.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In simpler words, this file tells Django that if a user comes with this URL, direct them to that particular website or image whatsoever it is.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Layout_5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80997\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Layout_5.png\" alt=\"Django Layout\" width=\"1920\" height=\"1032\" \/><\/a><\/p>\n<h4>4. wsgi.py<\/h4>\n<p><span style=\"font-weight: 400\">When you will complete your journey from development to production, the next task is hosting your application. Here you will not be using the Django web server, but the WSGI server will take care of it<\/span><\/p>\n<p><span style=\"font-weight: 400\">WSGI stands for <\/span><b>Web Server Gateway Interface<\/b><span style=\"font-weight: 400\">, it describes the way how servers interact with the applications.<\/span><\/p>\n<p><span style=\"font-weight: 400\">It is a very easy task, you just have to import middleware according to the server you want to use. For every server, there is Django middleware available that solves all the integration and connectivity issues.<\/span><\/p>\n<h4><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_STructure_6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80998\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_STructure_6.png\" alt=\"Django Project Structure\" width=\"1920\" height=\"1032\" \/><\/a><\/h4>\n<h4>5. asgi.py<\/h4>\n<p><span style=\"font-weight: 400\">ASGI works similar to WSGI but comes with some additional functionality.\u00a0 <\/span><span style=\"font-weight: 400\">ASGI stands for <\/span><b>Asynchronous Server Gateway Interface<\/b><span style=\"font-weight: 400\">. It is now replacing its predecessor WSGI.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-81000\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_7.png\" alt=\"Django Project Layout\" width=\"1920\" height=\"1028\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>Django Application Files<\/h3>\n<p><span style=\"font-weight: 400\">Django uses the concept of Projects and apps for managing the codes and presents them in a readable format. A Django project contains one or more apps within it, which performs the work simultaneously to provide a smooth flow of the web application.<\/span><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">For example, a real-world Django e-commerce site will have one app for user authentication, another app for payments, and a third app for item listing details: each will focus on a single functionality.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In the example below, we have created a Project named <\/span><b>\u201cTechVidvan\u201d<\/b><span style=\"font-weight: 400\"> and an App called <\/span><b>\u201cHelloWorld\u201d<\/b><\/p>\n<p><span style=\"font-weight: 400\">Type the following command in the terminal:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Python manage.py startapp HelloWorld<\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400\"><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_Last.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80999\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django_Project_Layout_Last.png\" alt=\"Django Project Layout\" width=\"1920\" height=\"1028\" \/><\/a>Once the app is created, the following sub-files will be present under that app.<\/span><\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django-file-structure-normal-image.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-80991\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/06\/Django-file-structure-normal-image.jpg\" alt=\"\" width=\"700\" height=\"628\" \/><\/a><\/p>\n<h4>1.\u00a0 _init_.py<\/h4>\n<p><span style=\"font-weight: 400\">This file provides the same functionality as that in the _init_.py file in the Django project structure. It is an empty file and does not need any modifications. It just represents that the app directory is a package.<\/span><\/p>\n<h4>2.\u00a0 admin.py<\/h4>\n<h4><span style=\"font-weight: 400\">Admin.py file is used for registering the Django models into the Django administration.<\/span><\/h4>\n<p><span style=\"font-weight: 400\">It is used to display the Django model in the Django admin panel. <\/span><span style=\"font-weight: 400\">It performs three major tasks:<\/span><\/p>\n<p><span style=\"font-weight: 400\">a. Registering models<\/span><\/p>\n<p><span style=\"font-weight: 400\">b. Creating a Superuser<\/span><\/p>\n<p><span style=\"font-weight: 400\">c. Logging in and using the web application<\/span><\/p>\n<p><span style=\"font-weight: 400\">We will learn more about the admin panel in the next article about Admin Interface.<\/span><\/p>\n<h4>3. apps.py<\/h4>\n<p><span style=\"font-weight: 400\">Apps.py is a file that is used to help the user include the application configuration for their app.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Users can configure the attributes of their application using the apps.py file.<\/span><\/p>\n<p><span style=\"font-weight: 400\">However, configuring the attributes is a rare task a user ever performs, because most of the time the default configuration is sufficient enough to work with.<\/span><\/p>\n<h4>4. models.py<\/h4>\n<p><span style=\"font-weight: 400\">Models.py represents the models of web applications in the form of classes. It is considered the most important aspect of the App file structure.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Models define the structure of the database. It tells about the actual design, relationships between the data sets, and their attribute constraints.\u00a0<\/span><\/p>\n<h4>5. views.py<\/h4>\n<p><span style=\"font-weight: 400\">Views are also an important part when we talk about the Django app structure. Views provide an interface through which a user interacts with a Django web application. It contains all the views in the form of classes.<\/span><\/p>\n<p><span style=\"font-weight: 400\">We use the concept of Serializers in Django Rest_Framework for making different types of views. Some of these are CustomFilter Views, Class-Based List Views, and Detail Views.<\/span><\/p>\n<h4>6. urls.py<\/h4>\n<p><span style=\"font-weight: 400\">Urls.py works the same as that of the urls.py in the project file structure. The primary aim being, linking the user\u2019s URL request to the corresponding pages it is pointing to.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You won\u2019t find this under the app files. We create this by clicking on the New file option written on the top, after the Project name.<\/span><\/p>\n<h4>7. tests.py<\/h4>\n<p><span style=\"font-weight: 400\">Tests.py allows the user to write test code for their web applications. It is used to test the working of the app.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Its working is quite complex. We will discuss it in more detail in the upcoming articles.<\/span><\/p>\n<h3>Summary<\/h3>\n<p><span style=\"font-weight: 400\">This brings us to the end. In this tutorial, we have discussed the Django project layout.<\/span><\/p>\n<p><span style=\"font-weight: 400\">All the files we have discussed above are within every Django application you create. The main aim of these files is to provide you with backend support.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">However, the settings.py and urls.py are the two main files we will be working with. Making changes to these files will bring unique functionalities to the web application you create.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django makes use of a directory structure to arrange different parts of the web application. It creates a project and an app folder for this.\u00a0 Creating a proper project and organizing it helps in&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":80990,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3383],"tags":[3529,3530,3531],"class_list":["post-80892","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-django","tag-django-file-structure","tag-django-project-layout","tag-django-project-structure"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Django Project Structure and File Structure - TechVidvan<\/title>\n<meta name=\"description\" content=\"Django uses directory structure to arrange the different parts of web application. Learn about the Django project structure &amp; file structure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Django Project Structure and File Structure - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Django uses directory structure to arrange the different parts of web application. Learn about the Django project structure &amp; file structure.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-16T03:30:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-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=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Django Project Structure and File Structure - TechVidvan","description":"Django uses directory structure to arrange the different parts of web application. Learn about the Django project structure & file structure.","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:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/","og_locale":"en_US","og_type":"article","og_title":"Django Project Structure and File Structure - TechVidvan","og_description":"Django uses directory structure to arrange the different parts of web application. Learn about the Django project structure & file structure.","og_url":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-06-16T03:30:41+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-structure.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Django Project Structure and File Structure","datePublished":"2021-06-16T03:30:41+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/"},"wordCount":1308,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-structure.jpg","keywords":["Django File Structure","Django Project Layout","Django Project Structure"],"articleSection":["Django Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/","url":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/","name":"Django Project Structure and File Structure - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-structure.jpg","datePublished":"2021-06-16T03:30:41+00:00","description":"Django uses directory structure to arrange the different parts of web application. Learn about the Django project structure & file structure.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-structure.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Django-file-structure.jpg","width":1200,"height":628,"caption":"Django Project structure"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/django-project-structure-layout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Django Project Structure and File Structure"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/80892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=80892"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/80892\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/80990"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=80892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=80892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=80892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}