You are on page 1of 15

APOLLO INSTITUTE OF

ENGINEERING AND TECHNOLOGY


A
INTERNSHIP
on
Web Development using Python (Django Framework)

Branch: I.T
Submitted By:
Semester : 7th
Tirth oza
(211210116526)
Internal Guide : Prof. KAJAL CHAUHAN
External Guide : CHINTAN NAGRECHA

Academic Year: 2022-2023


• Agenda
1. Description
2. Company profile
3. What is Django ?
4. Features of Django
5. Django installation setup
6. Benefits of using Django
7. User & system Requirements
8. Making database using Djangoframework at backend.
9. API Integration in Webpages using Django Framework
• Description…

 Python is an interpreted, object oriented, high level programming language.


 Python simple, easy to learn syntax emphasize readability and therefore reduce the cost of
program maintenance.
 Python supports modules and packages, which encourages program modularity and code
reuse.
• Company profile…

InfoLabz IT Services Pvt. Ltd. is a leading IT company that provides technical solutions and
services. We strive to provide you with innovative and client-focused solutions. We help our
customers modernise their networks in order to improve their market strategy and
profitability.
• Introduction
1. In these 15 days internship I have learn about Django Framework.
2. It consists of data about multiple users and also multiple product.
3. We used PyCharm to create this project.
• What is Django ?

 Django is a web application framework written in python programming language.


 The django is very demanding due to its rapid development feature.
 Django is a high level python web framework.
 Django is based on MVT(model view templates) design pattern.
 It takes less time to build application after collecting client requirement.
 This framework uses a famous tag line : The web framework for perfectionists with
deadlines.
• Features of Django…

I. Open source
II. Highly Secure
III. Rapid development
IV. Scalable
V. Vast & supported community
• Django installation Setup…
 Install django framework : pip install django
• Django properly installed or not ?

 Django properly install or not : django-admin


• Create project
 Create django project : django-admin startproject (project-name)
• Benefits of using Django

1) Easy to understand and easily maintainable code.


2) Write less do more with python django combination.
• Tools and technologies
Tools used during Internship:-
1. PyCharm
2. Web Browser to run localhost
3. DB browser
Technologies used during Internship:-

1. Python

2. Django Framework
• User & system Requirements
1) Django system requirements state that you will need at least 4 GB of RAM.
2) Django will run on PC system with Windows 7,8,8.1 and upwards.
3) Django is a Python web framework, thus requiring Python to be installed on your
machine.
4) Django is a rapid web development framework that can be used to develop fully fleshed
web applications in a short period of time.
5) The last but not least reason to learn Django is Python, Python has a huge library and
features such as Web Scraping, Machine Learning, Image Processing, Scientific
Computing, etc.…
• Making database using Djangoframework at backend.
1) First you have to create a new project using django-admin startproject
2) Then you have to create the app folder using django-admin startapp
3) You have to registered it into the settings.py
4) Then model should creates as the database table in the app folder.
5) Then it must be registered in the admin.py python file
6) Then you have to run the server using python manage.py runserver
7) Then it we have to login to Django administration
8) After that overview tables overview is created in the Django administration portal
9) For checking the database tables we have to check the queries in the sqllite db
browser.
• API Integration in Webpages using Django Framework

1. First project is created Django-admin startproject (project name)


2. Then the app folder is created Django-admin startapp (app name)
3. Then in the project folder we have to create templates folder and in that we have to create html file
4. Then views should be created in the views.py python file
5. Then we have to create the urls python file in the project folder as urls.py
6. Then we have to initialize the urls in the app folder as the urls.py python file.
7. Then we api integration should be done using the urls = requests query
8. Then at the last part we have to give the for loop for in the html file and were you have to use the
image.url from the news api and the we have to give the value for the title and content should be
initialize and also the time and date.

You might also like