<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>django Archives - Codeplaners</title>
	<atom:link href="https://codeplaners.com/tag/django/feed/" rel="self" type="application/rss+xml" />
	<link>https://codeplaners.com/tag/django/</link>
	<description>Code Solution</description>
	<lastBuildDate>Sun, 23 May 2021 05:30:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>

<image>
	<url>https://codeplaners.com/wp-content/uploads/2020/09/cropped-favicon-social-32x32.png</url>
	<title>django Archives - Codeplaners</title>
	<link>https://codeplaners.com/tag/django/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install Django on Windows</title>
		<link>https://codeplaners.com/how-to-install-django-on-windows/</link>
					<comments>https://codeplaners.com/how-to-install-django-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 23 May 2021 05:27:45 +0000</pubDate>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[install django]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">https://codeplaners.com/?p=822</guid>

					<description><![CDATA[<p>Hi Dev, Today, i we will show you how to install django on windows. This article will give you simple example of how to install django on windows. you will learn how to install django on windows. Django is one of the most popular web frameworks in Python. It is secure. It is free and &#8230; <a href="https://codeplaners.com/how-to-install-django-on-windows/" class="more-link">Continue reading<span class="screen-reader-text"> "How to Install Django on Windows"</span></a></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-django-on-windows/">How to Install Django on Windows</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi Dev,</p>
<p>Today, i we will show you how to install django on windows. This article will give you simple example of how to install django on windows. you will learn how to install django on windows. </p>
<p>Django is one of the most popular web frameworks in Python. It is secure. It is free and open-source.</p>
<p>So let&#8217;s follow few step to create example of how to install Django on Windows.</p>
<p><img decoding="async" style="border: 3px solid #ff5722;" src="https://codeplaners.com/wp-content/uploads/2021/05/djangoview.png" alt="How to Install Django" ></p>
<h3>Step 1:- Install Python</h3>
<p>Before installing Django, install Python. You can check out this guide I written, <a href="https://codeplaners.com/how-to-install-python-on-windows/" target="_blank" style="color:red;" rel="noopener noreferrer">how to install python on windows</a></p>
<h3>Step 2:- Open Command Prompt</h3>
<p>Windows logo key and R(Win+R) and type cmd and then click ok.</p>
<p><img decoding="async" style="border: 3px solid #ff5722;" src="https://codeplaners.com/wp-content/uploads/2021/05/cmd.png" alt="How to Install Django" ></p>
<h3>Step 3:- Check Python Installation</h3>
<pre class="brush: python; title: ; notranslate">
python --version
</pre>
<pre class="brush: python; title: ; notranslate">
C:\Users\dell&gt;python --version
Python 3.9.5
</pre>
<h3>Step 4:- Create Project Directory</h3>
<p>let’s create a project directory. We will name it <strong>django_project</strong> since this article is just a example. If you want to give some other name, then you can give </p>
<p>create the directory:-</p>
<pre class="brush: python; title: ; notranslate">
mkdir django_project
</pre>
<pre class="brush: python; title: ; notranslate">
cd django_project
</pre>
<h3>Step 5:- Create Virtual Environment</h3>
<p>You can learn more about virtualenv <a href="https://realpython.com/python-virtual-environments-a-primer/" target="_blank" style="color:red;" rel="noopener noreferrer">here.</a></p>
<p>create virtual environment, type <strong>python -m venv venv</strong> type and wait</p>
<pre class="brush: python; title: ; notranslate">
python -m venv venv
</pre>
<h3>Step 6:- Activate Virtual EnvironmentPermalink</h3>
<p>Run the following command</p>
<pre class="brush: python; title: ; notranslate">
venv\Scripts\activate
</pre>
<p>virtualenv is activated, you will see (venv) at the beginning of the prompt.</p>
<pre class="brush: python; title: ; notranslate">
(venv) PS C:\Users\Stanley\django_project&gt;
</pre>
<h3>Step 7:- Install Django</h3>
<p>run the following command to start the installation</p>
<pre class="brush: python; title: ; notranslate">
pip install django
</pre>
<h3>Step 8:- Start a New Project</h3>
<p>django-admin startproject to create our Django project structure called “testsite”.</p>
<p>Run the following command:</p>
<pre class="brush: python; title: ; notranslate">
django-admin startproject testsite
</pre>
<pre class="brush: python; title: ; notranslate">
cd testsite
</pre>
<h3>Step 9:- Run the Server</h3>
<p>run the development server using the <strong>manage.py runserver</strong>.</p>
<pre class="brush: python; title: ; notranslate">
python manage.py runserver
</pre>
<pre class="brush: python; title: ; notranslate">
http://127.0.0.1:8000/
</pre>
<p><img decoding="async" style="border: 3px solid #ff5722;" src="https://codeplaners.com/wp-content/uploads/2021/05/djangoview.png" alt="How to Install Django" ></p>
<p>The post <a rel="nofollow" href="https://codeplaners.com/how-to-install-django-on-windows/">How to Install Django on Windows</a> appeared first on <a rel="nofollow" href="https://codeplaners.com">Codeplaners</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codeplaners.com/how-to-install-django-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
