Skip to content

HimakarC/Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django

--> To Install and Use Django, you need to install python firstly.
--> After successfull installation of python

Use This command to create virtual environment
--> py -m venv "environment-name"
To activate the virtual environment in CMD, use
--> environment-name\Scripts\activate.bat
To switch to the virtual environment in VS Code, use
--> environment-name/Scripts/Activate.ps1

After switching to the virtual environment, install Django using the command:
--> pip install django

Now start a project of your own, by using command
--> django-admin startproject projectname

To run the project, you must use the default name "manage.py"
--> python manage.py runserver "port-number(what you wish)"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published