Report
Report
Report
A PROJECT REPORT
Submitted by
200170111004
In
BACHELOR OF ENGINEERING
May, 2024
Vishwakarma Government Engineering College
CERTIFICATE
This is to certify that the internship report submitted along with the
internship entitled Data Science has been carried out by Deven Jaimin
DECLARATION
I hereby declare that the Internship / Project report submitted along with
Engineering College under the supervision of Prof. Chintan Dave and that
no part of this report has been directly copied from any students’ reports or
Dave and all the faculty members for helping me through my internship
I also thank to my parents, friends all the family members for their
the college personals who gave me the permission to use and experience the
Thus, in the conclusion to the above said, I once again thank the faculties and
Thanking you
Figure 4.1.1................................................................................................................................
Figure 4.1.2................................................................................................................................
Figure 4.1.3................................................................................................................................
Figure 4.1.4................................................................................................................................
Figure 4.1.5................................................................................................................................
Figure 4.1.6................................................................................................................................
Figure 5.2.1................................................................................................................................
Figure 5.2.2................................................................................................................................
Figure 5.3.1................................................................................................................................
Figure 5.4.1................................................................................................................................
Figure 6.1.1................................................................................................................................
Figure 6.1.2................................................................................................................................
Figure 6.1.3................................................................................................................................
Figure 6.1.4................................................................................................................................
Figure 7.1.1................................................................................................................................
Figure 7.1.2................................................................................................................................
Figure 7.1.3................................................................................................................................
Figure 7.1.4................................................................................................................................
Web development refers to the process of creating and maintaining websites and web
applications that are accessible over the internet. It involves a combination of
programming, design, content creation, and server management to build interactive and
visually appealing online experiences. Web development encompasses both the front-
end, which focuses on the user interface and user experience, and the back-end, which
deals with the server-side logic and data management.
Python and Django are a powerful duo in the world of web development,
enabling developers to create dynamic and feature-rich websites and
applications. Python, known for its simplicity and versatility, serves as the
programming language of choice, while Django, a high-level web
framework, provides a structured and efficient way to build web
applications. This section introduces the synergistic relationship between
Python and Django, highlighting their key attributes and how they contribute
to modern web development.
5. URL Routing and Views: Django's URL routing and view system
simplify the mapping of URLs to specific view functions, enhancing
navigation and user experience.
Popularity of Python:
Python's popularity has grown significantly over the years, making it one of
the most widely used programming languages. Its popularity is attributed to:
Community Support:
Server-Side Scripting:
Python's role in web development starts on the server side, where it handles
various tasks:
Web Frameworks:
Front-End Development:
Python's versatility extends beyond building web applications. It's often used
for:
2. Template Engine:
• Django includes a robust template engine that separates the presentation
layer from the application logic.
• Templates are written in HTML with Django template tags, allowing
developers to dynamically generate HTML content based on data from
the backend.
• Template inheritance simplifies the creation of consistent and
maintainable page layouts across the application.
4. URL Routing:
• Django includes a URL routing mechanism that maps URLs to views,
allowing developers to define how different URLs in the application
should be handled.
• URLs can be defined with parameters, making it possible to pass data to
views and create dynamic, data-driven web applications.
Figure 4.1.1
Figure 4.1.2
Figure 4.1.3
This command will create the database tables defined in Django’s built-in
apps and any additional apps you create later.
Figure 4.1.4
Figure 4.1.5
Figure 4.1.6
1. settings.py:
• This file contains the configuration settings for your Django project.
• It includes settings for databases, middleware, installed apps,
authentication, templates, and more.
• You'll often need to modify this file to configure your project according
to your requirements, such as setting up the database, specifying static
and media file locations, and configuring third-party apps.
2. urls.py:
• This file defines the URL routing for your Django project.
• It maps URLs to views (Python functions that handle HTTP requests).
• You define URL patterns using regular expressions, and when a user
accesses a URL, Django's URL dispatcher uses this file to determine
which view function should handle the request.
• URLs can also be organized into separate apps by creating app-specific
urls.py files.
3. views.py:
• This file contains the view functions for your Django project.
• Views are Python functions that take a web request and return a web
response.
• They are responsible for processing HTTP requests, interacting with
models (if needed), and returning an HTTP response (usually an HTML
page).
• You define views to handle various parts of your application, such as
rendering web pages, handling form submissions, or serving JSON data.
Figure 5.2.1
After defining your models, create and apply migrations to update the
database schema:
Figure 5.2.2
Figure 5.3.1
Figure 5.4.1
Figure 6.1.1
Figure 6.1.2
Figure 6.1.3
Figure 6.1.4
Figure 7.1.1
Figure 7.1.2
Figure 7.1.3
Login Page:
Django
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Introduction
Python Constructors
https://www.shiksha.com/online-courses/articles/constructors-in-python-definition-types-andrules/
OOPs Concepts
https://www.geeksforgeeks.org/python-oops-concepts/