Django day 3:

starting with creation of our first website

Siddhant"Wang"
3 min readApr 7, 2023

Welcome to day three of our Django tutorial series! If you missed the previous tutorials, you can find the link to day two’s tutorial here.

Today, we will be taking a significant step forward in our learning journey by creating our very own website using Django.

Creating your first website

Step 1:Creating Folder and Django-admin

First, we need to create a folder where we want our project to be located. For example, you can create a folder named “LessGOGO” and save all the required files in this folder. Within this folder, you need to create a new folder named “textutils1”.

so, I have created LessGOGO folder and I will be saving all the required files in this folder, and look at the below image, I have created textutils1 folder in LessGOGO folder

now open the Windows PowerShell or the best thing is to use the terminal given by Visual studio itself. You can access it by clicking on Terminal and then new terminal OR use “CTRL+SHIFT+`".

Then you can change into your django project directory to textutils1 and type the following commands.

E:\Djj\LessGOGO\textutils1\>django-admin startproject textutils1

this will give you the following output : (it has created another textutils1 file in textutils1 folder)

Make sure you have the manage.py file in your directory.

After this use the following code:

E:\Djj\LessGOGO\textutils1\>python manage.py runserver

this will result in following output:

here we have that localhost https link which we can use to access our web django.

I hope you have understood todays tutorial, in case you haven’t you can check out the same video I am following. Click here.

I hope you found today’s tutorial helpful. In case you need further clarification, you can check out the same video tutorial I’m following from CodeWithHarry’s playlist. Click here to access it.

Happy learning!

--

--