0% found this document useful (0 votes)
6 views11 pages

DJango

The document outlines a course on full stack web development using Django, detailing steps to create a virtual environment, install Django, and create a Django project and application. It includes algorithms and commands for each process, demonstrating how to set up and run a Django application. The results confirm successful creation of the virtual environment, project, and application pages.

Uploaded by

muthuram603
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views11 pages

DJango

The document outlines a course on full stack web development using Django, detailing steps to create a virtual environment, install Django, and create a Django project and application. It includes algorithms and commands for each process, demonstrating how to set up and run a Django application. The results confirm successful creation of the virtual environment, project, and application pages.

Uploaded by

muthuram603
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

DJango

Full stack web development using Django

Value
Added
Course

[DATE]
[Company name]
[Company address]
14/8/24

1.How to create virtual


environment

AIM:
To develop the create virtual environment in Django.

Algorithm:
1. Install virtualenv:
2. Navigate to Project Directory.
3. Create Virtual Environment.
4. Activate Virtual Environment.
5. Install Django.
6. Create Django Project.
7. Deactivate Virtual Environment.

Commands:

python --version
pip install django
python -m django --version
python –m venv django-venv
cd django-venv ( change directory)
cd scripts
activate
Command prompt:

pip list
cd..
python –m pip install django
pip list
cd scripts
deactivate

Result:
Thus the Django virtual environment successfully created.
21/8/24

2.How to install dajnago and create


project

AIM:
To develop the create virtual environment in Django.
Algorithm:
1. Install virtualenv:
2. Navigate to Project Directory.
3. Create Virtual Environment.
4. Activate Virtual Environment.
5. Install Django.
6. Create Django Project.
7. Deactivate Virtual Environment.
Commands:

python –m venv django-venv


cd django-venv
cd scripts
activate
pip install django
cd..
django-admin --version
django-admin startproject new
Open visual studio:

• Open folder Django-venv


• Open terminal
• Cd new
• Python manage.py runserver
• Copy the path and paste in the
browser

Result:
Thus the Django was installed and Django project page successfully created.
21/8/24

3.HOW TO CREATE FIRST DJANGO


APPLICATION

AIM:
To develop the create virtual environment in Django.
Algorithm:
1. Install virtualenv:
2. Navigate to Project Directory.
3. Create Virtual Environment.
4. Activate Virtual Environment.
5. Install Django.
6. Create Django Project.
7. Deactivate Virtual Environment.
Visual Studio:

• Open folder Django-venv


• Cd new
• Python manage.py startapp
My_application
• Open Settings.py
• Installed_Apps= ‘ My_application’,
• Open Terminal
• Cd new
• Python manage.py runserver
Open visual studio:

• Open folder Django-venv


• Open terminal
• Cd new
• Python manage.py runserver
• Copy the path and paste in the
browser

Result:
Thus the Django application page was created successfully created.

You might also like