

{"id":68322,"date":"2019-08-26T15:02:16","date_gmt":"2019-08-26T09:32:16","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=68322"},"modified":"2021-06-21T12:19:24","modified_gmt":"2021-06-21T06:49:24","slug":"django-web-hosting-and-ide","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/","title":{"rendered":"Django Web Hosting and IDE &#8211; An Easy-to-Implement Guide for Beginners"},"content":{"rendered":"<p>We have spent a good time learning Django. The framework is simple, modular yet very powerful. There is a catch though. We have been running our website on the local computer.<\/p>\n<p>A website\u2019s true application is on the web. I am sure we all concur on that. So, we have to put out a website online. It is also referred to as going live, on a production server, etc.<\/p>\n<p>These all mean the same thing. Hosting is the part where you can showcase your work to the public. When websites go live, it becomes accessible by the public. People can see and access what you have built. It\u2019s a wonderful feeling. You will get the notion when you do it for your project.<\/p>\n<p>In this article on Django web hosting, we are not going to make a new Django application from scratch. Actually, we are not going to develop anything on Django in this article. We are going to learn how to upload it on a server computer.<\/p>\n<p>We are using the SQLite database in this article. You should change your project settings accordingly.<\/p>\n<p>We are going to learn the below-mentioned topics in this Django web hosting tutorial:<\/p>\n<ul>\n<li>What is the Production Environment?<\/li>\n<li>Git &#8211; Introduction &amp; Installation<\/li>\n<li>Hosting Service of Choice \u2013 pythonanywhere.com<\/li>\n<li>Setting up the Production Environment<\/li>\n<li>Configuring Settings for a Production Environment<\/li>\n<li>Uploading Project on Server<\/li>\n<li>Creating a Superuser<\/li>\n<li>Making a Django Web Application<\/li>\n<li>Settings for Security<\/li>\n<li>Settings for Static Files and Allowed Hosts<\/li>\n<li>Search the URL in the Browser<\/li>\n<\/ul>\n<p>This Django article is going to be a long one. It is highly recommended that you follow all the steps. Django is relatively easier to put on a production server. Still, the process takes some time of around 30 mins. Let\u2019s start the Django web hosting tutorial.<\/p>\n<h3>What is Production Environment?<\/h3>\n<p>A server computer is nothing but a computer. The special thing about a server computer is that it&#8217;s connected to internet 24&#215;7. It has a <em>server program, backend and everything your website needs.<\/em> Therefore, it is often called a production environment.<\/p>\n<p>A suitable example could be a smartphone manufacturing factory. The end product of this factory is ready for end-user. The same thing is your website on the server. The server is the factory which processes your website. The user consumes the processed product. Every website on the internet is on a server. That server provides the developer with a production environment.<\/p>\n<p>A production environment is capable of running and serving your website to users. The production environment can include:<\/p>\n<ul>\n<li>Computer Hardware<\/li>\n<li>Operating System like windows, ubuntu, etc.<\/li>\n<li>Support for a programming language like Python Interpreter<\/li>\n<li>Web Server like Apache, Nginx, etc.<\/li>\n<li>Application server<\/li>\n<li>Databases on which our website is built<\/li>\n<li>Some extra tools like a load balancer, proxy server, etc.<\/li>\n<\/ul>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68345\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components.png\" alt=\"server components - Django Web Hosting and IDE\" width=\"829\" height=\"373\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components.png 829w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components-150x67.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components-300x135.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components-768x346.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/server-components-520x234.png 520w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/a><\/p>\n<p>So, there are a lot of components on a web server. Server technology is a domain in its own. We need not bother about it. For our purpose, we just need a server which is connected to internet 24&#215;7.<\/p>\n<p>That server can be situated in local premises or you can choose a hosting platform. Generally, developers prefer hosting platforms. It has its own benefits. In this article, we are going to learn how to host our website using one of these hosting platforms.<\/p>\n<p>Hosting platforms provide infrastructure as a service to developers. So developers need not buy hardware. They can skip to the part of the software configuration. This is an application of cloud computing and is called <strong>IaaS (Infrastructure as a Service)<\/strong>. These hosting companies can also provide a <strong>PaaS (Platform as a Service)<\/strong>. You can actually create a computer with chosen hardware specifications. You can select everything from OS to software installed. Cloud technology has lots of applications. We are going to use one of them.<\/p>\n<p>Hosting platforms are better for every developer who is a beginner. Since we as developers get a chance to showcase our work for free. We will be using pythonanywhere.com for this purpose. There are several hosting platforms available like <em>AWS, Heroku, Digital Ocean,<\/em> etc.<\/p>\n<p>You can check out this website to know which hosting service provide Django support:<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/djangofriendly.com\/index.html\">Django Friendly Website<\/a><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68346\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_.png\" alt=\"djangofriendly.com - Django Web Hosting and IDE\" width=\"1900\" height=\"939\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_.png 1900w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_-300x148.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_-768x380.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_-1024x506.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/djangofriendly.com_-520x257.png 520w\" sizes=\"auto, (max-width: 1900px) 100vw, 1900px\" \/><\/a><\/p>\n<p>There are a lot of them since Django is a powerful framework. Ultimately, it depends on you to use whatever platform. Generally, developers choose the one which is easiest to start working with.<\/p>\n<h3>Git &#8211; Introduction &amp; Setup<\/h3>\n<p>This part is for developers who have no experience with Git. Feel free to skip if you have installed Git and have an account on GitHub. We are going to introduce Git and GitHub in this article.<\/p>\n<p>So, Git is a version control system which means it will track your progress on the software. There are many similar tools but currently, Git is the most popular. Beginners often think Git and GitHub as the same thing. They are very different.<\/p>\n<p>As stated earlier, Git is a version control system. It is a piece of software that you can install on your computer. You can track the changes you made to the project. It is a powerful software for fast and manageable development. You can make repositories of your code and then mark what changes were made. It really helps out when you have been making changes to project over a long period of time. Remember <a href=\"https:\/\/data-flair.training\/blogs\/django-migrations-and-database-connectivity\/\"><em><strong>Django migrations tutorial<\/strong><\/em><\/a>. The migrations were acting like a version control system for models. Git is the same but for a whole software.<\/p>\n<p>We need to download Git for your operating system:<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/git-scm.com\/\">Git Download for OS<\/a><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68347\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm.png\" alt=\"git-scm website - Django Web Hosting and IDE\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-scm-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Download and Install git as instructions are given on the link above. Once you have installed Git, try executing this command in Terminal\/ PowerShell.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<p style=\"text-align: center\"><em><strong>git &#8211;version<\/strong><\/em><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68348\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version.png\" alt=\"git version - Django Web Hosting and IDE\" width=\"1317\" height=\"744\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version.png 1317w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version-150x85.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version-300x169.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version-768x434.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version-1024x578.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-version-520x294.png 520w\" sizes=\"auto, (max-width: 1317px) 100vw, 1317px\" \/><\/a><\/p>\n<p>If this works, then you have successfully installed Git on your machine. It is an amazing utility for project management and version control. You should learn about this tool. It will help you a lot in project collaboration and working with a team.<\/p>\n<h3>What is GitHub?<\/h3>\n<p>GitHub is a hosting platform for Git. As you have experienced, Git is a command-line tool and can be difficult for beginners. GitHub provides a graphical UI so it is fairly easy then Git. Although, GitHub is really powerful when you use it alongside Git.<\/p>\n<p>The Github.com provides developers a place to freely host their project code. That can be manipulated by the Git CLI tool. Its integration is what makes this tool awesome and so productive.<\/p>\n<p>Just open <a href=\"https:\/\/github.com\/\">Github website<\/a> for making an account. This GitHub account is a developer\u2019s portfolio. So, I advise you to upload your work on the platform. This will help you a lot in getting a job or recommendation.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68349\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository.png\" alt=\"github site - make a new repository\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Okay, so you need to make a GitHub account. Just follow along with the instructions provided by the website. Ok so, now we are prepared to make some changes in the project.<\/p>\n<p>Let\u2019s get started with configuring some settings in Django.<\/p>\n<h2>Django Web Hosting Process<\/h2>\n<p>We are going to host our website on pythonanywhere.com. Its really easy and you get to do it for free. The free account does have some limitations. It is more than enough for our Django Project. We will also need to have an account on this platform.<\/p>\n<p>So, visit pythonanywhere.com and make a free account now.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/www.pythonanywhere.com\">pythonanywhere website<\/a><\/p>\n<p>Click on the signup link and follow along with the instructions.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68350\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere.png\" alt=\"making account on pythonanywhere\" width=\"1457\" height=\"734\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere.png 1457w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere-150x76.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere-300x151.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere-768x387.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere-1024x516.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/making-account-on-pythonanywhere-520x262.png 520w\" sizes=\"auto, (max-width: 1457px) 100vw, 1457px\" \/><\/a><\/p>\n<p>Click on <strong>Create a Beginner account link<\/strong>. Then fill in your name and email. Then we are good to go.<\/p>\n<h3>Setting up the Production Environment<\/h3>\n<p>Now we need to make a repository on GitHub. Open github.com and make a new repository.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68351\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1.png\" alt=\"github site - make a new repository\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/github-site-make-a-new-repository-1-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Use a small and sensible name. Once you have made the repository, start git bash program. You can also execute these commands on the command line or the terminal or PowerShell.<\/p>\n<p>First, move to the directory where the project exists. For example:<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68352\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location.png\" alt=\"project location - Django Web Hosting\" width=\"1524\" height=\"786\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location.png 1524w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location-150x77.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location-300x155.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location-768x396.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location-1024x528.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-location-520x268.png 520w\" sizes=\"auto, (max-width: 1524px) 100vw, 1524px\" \/><\/a><\/p>\n<p>The highlighted folder contains manage.py and other apps. You get the idea of the root. Now you need to move to this level from the command line.<\/p>\n<p>Once, you reach this level type in this command:<\/p>\n<p style=\"text-align: center\"><em><strong>git init<\/strong><\/em><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68353\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init.png\" alt=\"git init - Django Web Hosting \" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-init-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>If you are using git bash then this will be the output. You can run the same command in PowerShell, Windows Command Prompt or Terminal.<\/p>\n<p>This command will initialize an empty git repository. Then you can add code or project in this repository.<\/p>\n<p>Command to <strong>add your project in the repository<\/strong>:<\/p>\n<p style=\"text-align: center\"><strong><em>git add project_name<\/em><\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68354\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command.png\" alt=\"git add command - Django Web Hosting\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-add-command-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>This will add the files in the repository. Now we can commit the changes to the repository. We will be using this command to commit the changes made so far. You will be using these commands a lot.<\/p>\n<p style=\"text-align: center\"><em><strong>git commit project_name -m \u2018first_commit\u2019<\/strong><\/em><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68355\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit.png\" alt=\"git commit command\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-commit-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>If you see an output like this then we have done a good job so far. git commit is used to commit your changes in code. We have given a message of first_commit in the command. That can be any message you want to associate with your code. That message is displayed on GitHub or when you track your changes. It&#8217;s really helpful if these messages are short and accurate.<\/p>\n<p>Now, to add these files to a repository on GitHub.com, type in this command:<\/p>\n<p style=\"text-align: center\"><em>git remote add origin <strong>repository URL<\/strong><\/em><\/p>\n<p>Now, for repository URL, you can copy the URL of the repository tab (as you can see in the URL bar). Just paste it in place of repository_url. That\u2019s it.<\/p>\n<div id=\"attachment_68356\" style=\"width: 1904px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-68356\" class=\"wp-image-68356 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url.png\" alt=\"git remote URL - Django Web Hosting and IDE\" width=\"1894\" height=\"929\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url.png 1894w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url-1024x502.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-url-520x255.png 520w\" sizes=\"auto, (max-width: 1894px) 100vw, 1894px\" \/><\/a><p id=\"caption-attachment-68356\" class=\"wp-caption-text\">Git Remote URL of Repository<\/p><\/div>\n<div id=\"attachment_68357\" style=\"width: 1930px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-68357\" class=\"wp-image-68357 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command.png\" alt=\"git remote command\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-remote-command-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><p id=\"caption-attachment-68357\" class=\"wp-caption-text\">Git Remote Command<\/p><\/div>\n<p>One, last step we need to perform. We need to push this code to online repository now. For that execute this command:<\/p>\n<p style=\"text-align: center\"><strong><em>git push -u origin master<\/em><\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68358\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command.png\" alt=\"git push command - Django Web Hosting\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>===============================================================<br \/>\n<strong>Note &#8211;<\/strong><br \/>\nIf the command above not works you can use this command:<\/p>\n<p style=\"text-align: center\"><em><strong>git push -f origin master<\/strong><\/em><\/p>\n<p>===============================================================<\/p>\n<p>When you execute this command, this popup appears. You need to login for the command to be executed. As these changes will be registered by your name on GitHub.com.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68359\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1.png\" alt=\"git push command - Django Web Hosting\" width=\"1920\" height=\"1030\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1-768x412.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1-1024x549.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-push-command-1-520x279.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Your push command was successfully executed. Now, you can check the repository online. Our GitHub work is now complete.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68360\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository.png\" alt=\"git repository\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-repository-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Now, we are working with pythonanywhere.com. Open &#8211; <a href=\"https:\/\/www.pythonanywhere.com\/\">pythonanywhere website<\/a> and log in to your account. Click on the console&#8217;s link. There click on Bash link.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68361\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console.png\" alt=\"opening bash console - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/opening-bash-console-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>As you can see the highlighted boxes in the above screenshot.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68362\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere.png\" alt=\"bash pythonanywhere - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/bash-pythonanywhere-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Since its pythonanywhere.com you get Python pre-installed. This is one of the reasons PythonAnywhere is chosen as hosting services.<\/p>\n<p>We will make a virtual environment for our project to run.<\/p>\n<p>Run this command in bash:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mkvirtualenv --python=python3.7 env_name<\/pre>\n<p><strong>Command Display:<\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68363\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment.png\" alt=\"make virtual environment - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/make-virtual-environment-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Now, we will install Django on the server. It&#8217;s really easy. Just execute this command.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">pip install django==2.2.1<\/pre>\n<p>We have been using that version of Django. It is the latest version currently.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68364\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django.png\" alt=\"installing django - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/installing-django-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h3>Uploading the Project on Server<\/h3>\n<p>Now, finally, it\u2019s time to load our website on the server. Now you will just need the repository URL for this. Then execute this command in bash.<\/p>\n<p style=\"text-align: center\"><em>git clone <strong>repository_url<\/strong><\/em><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68365\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone.png\" alt=\"git clone - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/git-clone-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Now, we will migrate all the models. As we have done a lot of time in our project. Just move to the manage.py file and run the commands. The commands are the same for PowerShell and Terminal users.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68366\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations.png\" alt=\"python migrations - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/python-migrations-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p><em><strong>Want to revise about Django Models? Here is the <a href=\"https:\/\/data-flair.training\/blogs\/django-models\/\">Django Models Tutorial<\/a><\/strong><\/em><\/p>\n<h3>Creating Superuser in Django<\/h3>\n<p>We will now create a superuser. Since we have cloned our project therefore only code was cloned. There is no data entry on the website\u2019s database.<\/p>\n<p>Execute this command to make superuser.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Python manage.py createsuperuser<\/pre>\n<p><strong>Command Display:<\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68367\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser.png\" alt=\"creating superuser - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/creating-superuser-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>You should know, this user has total control of the project. Therefore, make the password strong and use the original email id.<\/p>\n<p><em>Any queries in the Django web hosting article till now? Share your views in the comment section.<\/em><\/p>\n<h3>Making a Django Web Application<\/h3>\n<p>Now, follow along the pictures and instructions to get everything right.<\/p>\n<p>Click on the <strong>web<\/strong> link and then on<strong> create a new web app<\/strong> link (as highlighted in the screenshot).<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68368\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1.png\" alt=\"create web app step 1\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-web-app-step-1-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Click <strong>next<\/strong>, when a prompt comes. Then select <strong>manual configuration<\/strong> option.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68369\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2.png\" alt=\"create new web app step 2\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-2-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Select the <strong>python 3.7<\/strong> option.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68370\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3.png\" alt=\"create new web app step 3 - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/create-new-web-app-step-3-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>After clicking next, you will get to this page.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68371\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website.png\" alt=\"open the website - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-the-website-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>You can click on the link highlighted but you will see a different page. We need to configure the WSGI file to redirect to our web app.<\/p>\n<p>Now scroll down to <strong>virtualenv<\/strong> section.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68373\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv.png\" alt=\"path to virtualenv - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-virtualenv-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Your virtual environment will be: home\/<strong>user_name<\/strong>\/.virtualenvs\/<strong>env_name<\/strong><\/p>\n<p>Now, to set up the path to the actual project folder.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68372\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path.png\" alt=\"project path\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/project-path-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Move up to code section and enter the path in the highlighted area.<\/p>\n<p>This path can be easily looked up to in <strong>Files<\/strong> link.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68374\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab.png\" alt=\"files tab - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/files-tab-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>From there you get the path.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68375\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code.png\" alt=\"path to source code - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/path-to-source-code-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>The path is a bit long, but it should show no errors. Remember that your folder contains manage.py at the inner level.<\/p>\n<p>We need to modify the WSGI file.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68376\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file.png\" alt=\"opening wsgi file\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/open-wsgi-file-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Click on the highlighted link to open the file. After the file is opened, erase the whole code and paste this code.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">import os\r\nimport sys\r\n#DataFlair\r\npath = '\/home\/karansmittal\/DataFlairDjango\/dfdjangotutorial'\r\nif path not in sys.path:\r\n    sys.path.append(path)\r\nos.chdir(path)\r\nos.environ['DJANGO_SETTINGS_MODULE'] = 'dfdjangotutorial.settings'\r\n\r\nimport django\r\ndjango.setup()\r\n\r\nfrom django.core.wsgi import get_wsgi_application\r\napplication = get_wsgi_application()<\/pre>\n<p><strong>Console Display:<\/strong><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68377\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file.png\" alt=\"wsgi file - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/wsgi-file-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Then click on the <strong>Save<\/strong> button. Now it will open our website.<\/p>\n<h3>Security Settings<\/h3>\n<p>We also need to add the pythonanywhere.com host to settings.py file. Otherwise, we may get <strong>DisallowedHost<\/strong> page.<\/p>\n<p>Now locate settings.py from <strong>files<\/strong> link.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68379\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link.png\" alt=\"settings.py from files link\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/settings.py-from-files-link-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>In the ALLOWED_HOSTS list, add URL of a website.<\/p>\n<p style=\"text-align: center\"><em><strong>User_name.pythonanywhere.com<\/strong><\/em><\/p>\n<p>In the same file, change DEBUG = False. Also, change your security key. Since the same code is on GitHub. Don\u2019t worry I have changed the key after completing the tutorial.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68380\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings.png\" alt=\"security settings - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/security-settings-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Well, you can complete the tutorial at this point. There is still one important configuration remaining.<\/p>\n<p>Go to <strong>web<\/strong> link. Then click on <strong>reload web app<\/strong> button. It is in green color.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68381\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload.png\" alt=\"reload - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<h3>Settings for Static Files<\/h3>\n<p>We need to set up static files. If we don\u2019t then we won&#8217;t have that beautiful CSS and JavaScript on our website.<\/p>\n<p>To enable static files, open the <strong>web<\/strong> link again. Then move to <strong>Static Files<\/strong> section.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68382\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files.png\" alt=\"static files - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p>Enter <strong>URL<\/strong> here as:<\/p>\n<p style=\"text-align: center\"><em><strong>\/static\/admin<\/strong><\/em><\/p>\n<p>Enter <strong>path<\/strong> here as:<\/p>\n<p style=\"text-align: center\"><em>Home\/<strong>user_name<\/strong>\/.virtualenvs\/<strong>env_name<\/strong>\/lib\/python3.7\/site-packages\/django\/contrib\/admin\/static\/admin<\/em><\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68383\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured.png\" alt=\"static files configured - Django Web Hosting &amp; IDE\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/static-files-configured-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p><strong>User_name<\/strong> is your username on pythonanywhere.com. <strong>env_name<\/strong> is the name of the environment.<\/p>\n<p>After you have done these settings, again reload your web app.<\/p>\n<p style=\"text-align: center\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-68384\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app.png\" alt=\"reload web app\" width=\"1920\" height=\"943\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app.png 1920w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app-150x74.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app-300x147.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app-768x377.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app-1024x503.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/reload-web-app-520x255.png 520w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\n<p><em><strong>Don&#8217;t miss the <a href=\"https:\/\/data-flair.training\/blogs\/django-static-files-handling\/\">Django Static Files Handling Tutorial\u00a0<\/a><\/strong><\/em><\/p>\n<p>Well done!! You have performed a great job of Django web hosting.<\/p>\n<p>We have completed the setup of a live website. Share your website URLs in comments to let us see what you have created.<\/p>\n<p>You can visit this website on <em><strong>karansmittal.pythonanywhere.com<\/strong><\/em><\/p>\n<h2>Summary<\/h2>\n<p>This comes to the end of Django web hosting tutorial. You just did an amazing task. It takes a good amount of time to learn a technology and to actually build something from it. This opens your way to the world. You are now a full stack developer who can build a website and host the same. There are many concepts to learn and grow but this website is your result to the world.<\/p>\n<p>We will learn some more amazing concepts in further articles. We have set up our website on pythonanywhere.com. I hope that you got the basic idea of how to set up a Django application. Now, you can also try AWS, Heroku as they also provide some free accounts. They are a bit complex than pythonanywhere.com but the same concept is followed.<\/p>\n<p>Any questions regarding the concept of Django Web Hosting? Share your queries in the comment section below.<\/p>\n<p><em><strong>Cracking Django interview made easy by <a href=\"https:\/\/data-flair.training\/blogs\/django-interview-questions\/\">Top Django Interview Questions<\/a><\/strong><\/em><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1436,&quot;href&quot;:&quot;https:\\\/\\\/djangofriendly.com\\\/index.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250419082743\\\/https:\\\/\\\/djangofriendly.com\\\/index.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 07:02:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 23:46:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-20 02:49:30&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-01 10:17:37&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 09:14:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-31 19:31:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 14:30:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 00:38:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-03 04:51:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 01:47:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-24 06:41:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 14:47:21&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-16 02:12:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-16 12:28:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-30 01:49:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-04 10:18:51&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-04 10:18:51&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1437,&quot;href&quot;:&quot;https:\\\/\\\/git-scm.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251201021527\\\/https:\\\/\\\/git-scm.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 07:02:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 23:46:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-20 02:49:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-01 10:17:37&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-31 19:31:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 14:30:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 00:38:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-03 04:51:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 01:47:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-24 06:41:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 14:47:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-16 02:12:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-16 12:28:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-30 01:49:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-04 10:18:56&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-04 10:18:56&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1438,&quot;href&quot;:&quot;https:\\\/\\\/github.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251209044639\\\/https:\\\/\\\/github.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 07:02:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-12 23:46:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-20 02:49:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-01 10:17:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-19 09:14:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-31 19:31:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 14:30:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-22 04:36:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 00:38:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 04:51:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 01:47:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-24 06:41:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 14:47:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-16 02:12:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-16 12:28:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-30 01:49:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-04 10:18:53&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-04 10:18:53&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1439,&quot;href&quot;:&quot;https:\\\/\\\/www.pythonanywhere.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251206122819\\\/https:\\\/\\\/www.pythonanywhere.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 07:02:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-12 23:46:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-20 02:49:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-01 10:17:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-19 09:14:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-31 19:31:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 14:30:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-28 00:38:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 04:51:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 01:47:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-24 06:42:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-04 14:47:45&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-16 02:12:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-16 12:28:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-30 01:49:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-04 10:18:47&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-04 10:18:47&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1439,&quot;href&quot;:&quot;https:\\\/\\\/www.pythonanywhere.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251206122819\\\/https:\\\/\\\/www.pythonanywhere.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 07:02:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-12 23:46:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-20 02:49:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-01 10:17:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-19 09:14:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-31 19:31:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 14:30:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-28 00:38:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-03 04:51:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 01:47:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-24 06:42:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-04 14:47:45&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-16 02:12:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-16 12:28:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-30 01:49:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-04 10:18:47&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-04 10:18:47&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have spent a good time learning Django. The framework is simple, modular yet very powerful. There is a catch though. We have been running our website on the local computer. A website\u2019s true&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":68553,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19149],"tags":[20927,20925,20929,20928,20926],"class_list":["post-68322","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-django","tag-django-web-application","tag-django-web-hosting","tag-production-environment","tag-static-files-settings","tag-superuser"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Django Web Hosting and IDE - An Easy-to-Implement Guide for Beginners - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn the complete process of Django web hosting in a detailed manner. The tutorial is specially designed for beginners to setup your website on pythonanywhere.com.\" \/>\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-web-hosting-and-ide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Django Web Hosting and IDE - An Easy-to-Implement Guide for Beginners - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn the complete process of Django web hosting in a detailed manner. The tutorial is specially designed for beginners to setup your website on pythonanywhere.com.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/\" \/>\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-08-26T09:32:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-21T06:49:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\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=\"13 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Django Web Hosting and IDE - An Easy-to-Implement Guide for Beginners - DataFlair","description":"Learn the complete process of Django web hosting in a detailed manner. The tutorial is specially designed for beginners to setup your website on pythonanywhere.com.","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-web-hosting-and-ide\/","og_locale":"en_US","og_type":"article","og_title":"Django Web Hosting and IDE - An Easy-to-Implement Guide for Beginners - DataFlair","og_description":"Learn the complete process of Django web hosting in a detailed manner. The tutorial is specially designed for beginners to setup your website on pythonanywhere.com.","og_url":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-08-26T09:32:16+00:00","article_modified_time":"2021-06-21T06:49:24+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.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":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Django Web Hosting and IDE &#8211; An Easy-to-Implement Guide for Beginners","datePublished":"2019-08-26T09:32:16+00:00","dateModified":"2021-06-21T06:49:24+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/"},"wordCount":2609,"commentCount":6,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.jpg","keywords":["Django web application","Django Web Hosting","Production Environment","Static Files Settings","superuser"],"articleSection":["Django Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/","url":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/","name":"Django Web Hosting and IDE - An Easy-to-Implement Guide for Beginners - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.jpg","datePublished":"2019-08-26T09:32:16+00:00","dateModified":"2021-06-21T06:49:24+00:00","description":"Learn the complete process of Django web hosting in a detailed manner. The tutorial is specially designed for beginners to setup your website on pythonanywhere.com.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/08\/Django-Web-Hosting-Tutorial.jpg","width":802,"height":420,"caption":"Django-Web-Hosting-Tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/django-web-hosting-and-ide\/#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 Web Hosting and IDE &#8211; An Easy-to-Implement Guide for Beginners"}]},{"@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\/68322","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=68322"}],"version-history":[{"count":5,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/68322\/revisions"}],"predecessor-version":[{"id":74549,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/68322\/revisions\/74549"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/68553"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=68322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=68322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=68322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}