0% found this document useful (0 votes)
61 views42 pages

A Summer Internship Report On: Web Application Development by Using Python Django

Uploaded by

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

A Summer Internship Report On: Web Application Development by Using Python Django

Uploaded by

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

A

SUMMER INTERNSHIP REPORT


On

Web Application development by using


PYTHON DJANGO

Submitted by

Bhargav Bhatt

211430116546

Guided By:
Prof. Roshni Mandli

A Summer Internship Submitted to


Gujarat Technological University In fulfillment for the award of degree of
Bachelor of Engineering in Information Technology

ACADEMIC YEAR – 2023-2024

NEW L. J. INSTITUTE OF ENGINEERING AND TECHNOLOGY


Pakwan, Behind Rajpath Club Gate to Sindhu Bhavan Road,
Sarkhej - Gandhinagar Highway,Ahmedabad, Gujarat 380054

CERTIFICATE

ii
iii
ACKNOWLEDGEMENT

iv
I wish to express my sincere gratitude to my External guide HARSH RUPANI
for continuously guiding me at the company and answering all my doubts
with patience. I would also like to thank Dr. Gayatri S. Pandi (H.O.D. of IT
Department) for motivating me every time whenever I get confused, I would
also like to thank my Internal Guide Ms. Roshni Mandli for helping me
through my internship by giving me the necessary suggestions and advices
along with their valuable co-ordination in completing this Internship.

I also thank my parents, friends and all the members of the family for
their precious support and encouragement which they had provided in
completion of my work. In addition to that, I would also like to mention the
company personals who gave me the permis sion to use and experience the
valuable resources required for the Internship.

Thus, in conclusion to the above said, I once again thank the staff
members of CreArt SOLUTIONS for their valuable support in completion of
the Internship.

Thank You

v
Notice Hub Web App

Enrollment No.: 211430116546 Student Name: Bhargav Bhatt


NEW L. J. Institute of Engineering and Technology (143)
Semester: VII , Information Technology Department

Abstract

Industrial training in 7th semester has been a superb experience for me. This
training experience will help me in my future. Also, to build my carrier as an
IT Engineer. I took my Industrial training at CreArt Solutions company
which specialize in delivering cutting-edge web application development
solutions tailored to meet the unique needs of their clients.

Python programming was essential throughout my internship, blending


seamlessly with Django. Its clear syntax aided in understanding Django's
concepts, while its flexibility helped create models and implement app logic
effectively. This combination was crucial in developing the NoticeHub app.

Python is a widely used high-level, general-purpose, interpreted, dynamic


programming language. Its design philosophy emphasizes code readability, and
its syntax allows programmers to express concepts in fewer lines of code than
would be possible in languages such as C++ or Java. The language provides
constructs intended to enable clear programs on both a small and large scale.
Python supports multiple programming paradigms, including object-oriented,
imperative and functional programming or procedural styles. It features a
dynamic type of system and automatic memory management and has a large
and comprehensive standard library. Python interpreters are available for
installation on many operating systems, allowing Python code execution on a
wide variety of systeProf.
CHAPTERS PAG

Title Page i
Completion Certificate ii
Declaration iii

Acknowledgements iv
Abstract v
Table of Contents vi
CHAPTER 1 INTRODUCTION 01
1.1 Introduction 01

1.2 Company Profile 02


1.3 Company Products 03
1.4 Company Mission and Vision 04
TABLE OF CONTENTS

vi

NO
05

CHAPTER 2 Role and Responsibilities During Internship

2.1 Objective 05
2.2 Introduction to Python Programming 06
2.2 Role and Responsibilities During Internship 07
CHAPTER 3 Daily Task 08
3.1 Daily Task 10
CHAPTER 4 Internship Work 11

4.1 Internship Work 11

CHAPTER 5 Conclusion 37

5.1 Conclusion 37

CHAPTER 6 Future Enhancement 38

6.1 Future Enhancement 38


vi
201430116061

CHAPTER: 1 INTRODUCTION

1.1 Introduction

CreArt Solutions is dedicated to delivering cutting-edge solutions that empower


businesses to thrive in the digital age. With a team of skilled professionals, they
leverage the latest technologies and industry best practices to develop robust
software applications tailored to their clients' unique needs. The company is
committed to excellence, innovation, and delivering measurable results. The
services provided by the company are
● Web App Development
● UI / UX Creative Design
● Mobile App Development
● Digital Marketing and SEO
● Full Stack Development ● AI / ML Services

Page 1
201430116061

1.2 Company Profile

CreArt Solution is a privately owned venture of IT Solution and IT


Consultant formed in 2013. We always aspire to create a resistant future.
We believe in bringing Business , People and Technology together in wat
forward. CreArt Solution is focused on rigorous development and
comprehensive quality.

CreArt Solution is dedicated towards perfection in every aspect.


Professionalism is the main ingredient of CreArt Solution. We strongly
believe in delivering the best services to the clients till their satisfaction.
Main objective of CreArt Solution is to provide professional , qualitative ,
innovation and accessible services in every possible form.

Page 2
201430116061

1.3 Company Products

CreArt Solution is working since 2013 in various countries along with vast
portfolio of various projects.1498+ products in UI/UX , 4568+
Ecommerce & Web App , 3790+ SEO & Digital Marketing. It provide
sustainable mobility by delivering owners , customers . and their Projects.

1.4 Company Mission and Vision

Mission is to “Bringing Business , people and Technology together in the


way forward”. Main objective is to provide professional, qualitative
,innovative and accessible services in every possible form

Page 3
Enrollment Number: 211430116546

Role and Responsibilities During Internship

CHAPTER: 2 Role and Responsibilities During Internship

2.1 Objective

The primary objective of this internship was two-fold: to achieve proficiency


in Python Django and to develop a functional PublisherSubscriber app.
With these objectives in mind, I aimed to:
1. Master Python Django Fundamentals: Through this internship, my goal
was to dive deep into the core concepts of the Python Django framework. I
aimed to be comfortable in creating models, views, templates, and
managing database interactions.
2. Learn Real-world Application Development: The internship provided a
unique opportunity to apply theoretical knowledge to real-world scenarios.
I set out to learn how to structure a web application, manage user
authentication, handle forms, and create interactive and responsive web
pages. The aim was to not just write code, but to create solutions that align
with industry best practices.
3. Develop a Notice Hub App: I aimed to design and implement an
application that allowed users to subscribe to various topics and receive
updates in real-time.

Page 4
Enrollment Number: 211430116546

Role and Responsibilities During Internship

2.2 Introduction to Python Programming


• Python programming was essential throughout my internship, blending
seamlessly with Django.

• Its clear syntax aided in understanding Django's concepts, while its


flexibility helped create models and implement app logic effectively. This
combination was crucial in developing the NoticeHub app.

• Python is a widely used high-level, general-purpose, interpreted, dynamic


programming language. Its design philosophy emphasizes code readability,
and its syntax allows programmers to express concepts in fewer lines of
code than would be possible in languages such as C++ or Java.

• The language provides constructs intended to enable clear programs on both


a small and large scale. Python supports multiple programming paradigms,
including object-oriented, imperative and functional programming or
procedural styles.

• It features a dynamic type of system and automatic memory management


and has a large and comprehensive standard library.

• Python interpreters are available for installation on many operating systems,


allowing Python code execution on a wide variety of systeProf.

Page 5
Enrollment Number: 211430116546

Role and Responsibilities During Internship

2.3 Role and Responsibilities During Internship

• Learned Python Django fundamentals.


• Developed models, views, and templates.
• Managed user authentication and security.
• Implemented real-time communication using WebSockets.
• Conducted testing, debugging, and documentation.

Page 6
Enrollment Number: 201430116061

Future
Enhancement

CHAPTER: 3
Daily Task

3.1 Daily Task


Days Date Activities

● Introductory Remarks about Python


● A Brief History of Python
● Python Versions
● Installing Python
Day 1 27/07/2023
● How to execute Python program
● Writing your first program

● Deepened understanding of Python syntax


Day 2 28/07/2023 and data types.
● Explored variables, operators, and basic
input/output.
● Worked on simple coding exercises.

● Learned about control structures: if


Day 3 29/07/2023 statements and loops.
● Implemented conditional logic in code.
● Practiced loop constructs with examples.

Page 7
Enrollment Number: 201430116061

Future
Enhancement

● Introduced to functions in Python: defining,


Day 4 31/07/2023 calling, and parameters.
● Explored the concept of scope and variable
visibility.
● Worked on function-based tasks.

● Deep dived into Python data structures: lists,


tuples, dictionaries.
Day 5 01/08/2023

● Learned about their properties and


manipulation methods.
● Solved problems involving data structures.

● Introduced to Django framework and its


Day 6 02/08/2023 benefits.
● Set up a new Django project using
Djangoadmin start project.
● Explored project structure, including
manage.py and settings.py.

● Created Django models the project's data


Day 7 03/08/2023 entities.
● Understood and implemented relationships
between models.

Page 8
Enrollment Number: 201430116061

Future
Enhancement

● Developed Django views and templates,


Day 8 04/08/2023 ● Explored template inheritance and template
tags.

● Implemented real-time communication in


Day 9 05/08/2023 Django between user & admin.
Utilized Django, integrated with settings.py,
for real-time updates.
● Focused on advanced topics: generators,
Day 10 07/08/2023 decorators, and comprehensions.
● Understood their usage in simplifying code
and enhancing performance.

● Implemented examples with these concepts.


Gained understanding of web application
Day 11 08/08/2023
structure.

● Implemented real-time communication in


Day 12 09/08/2023 Django between user & admin.
Utilized Django, integrated with settings.py,
for real-time updates.

Page 9
Enrollment Number: 201430116061

Future
Enhancement

● Final day of the internship.


Day 13 10/08/2023 ● Enabled real-time updates for new notices in
the "NoticeHub" project.
● Consolidated knowledge gained during the
Django project.

Page 10
Enrollment Number: 201430116061

Internship Work

CHAPTER: 4 Internship Work


Week – 1 From
Date:27/07/2023 To 30/07/2023 ● Internship Work:
Days Date Activities

● Introductory Remarks about Python


● A Brief History of Python
● Python Versions
● Installing Python
Day 1 27/07/2023
● How to execute Python program
● Writing your first program

● Deepened understanding of Python syntax


Day 2 28/07/2023 and data types.
● Explored variables, operators, and basic
input/output.
● Worked on simple coding exercises.

● Learned about control structures: if


Day 3 29/07/2023 statements and loops.
● Implemented conditional logic in code.
● Practiced loop constructs with examples.

● Introduced to functions in Python: defining,


Day 4 31/07/2023 calling, and parameters.
● Explored the concept of scope and variable
visibility.
● Worked on function-based tasks.

Page 37
Enrollment Number: 201430116061

Internship Work

● Deep dived into Python data structures: lists,


Day 5 01/08/2023 tuples, dictionaries.
● Learned about their properties and
manipulation methods.
● Solved problems involving data structures.

Week – 2
From Date: 31/07/2023 To 06/08/2023
● Introduced to Django framework and its
Day 6 02/08/2023 benefits.
● Set up a new Django project using
Djangoadmin start project.
● Explored project structure, including
manage.py and settings.py.

● Created Django models the project's data


Day 7 03/08/2023 entities.
● Understood and implemented relationships
between models.

Page 38
Enrollment Number: 201430116061

Internship Work

● Developed Django views and templates,


Day 8 04/08/2023 ● Explored template inheritance and template
tags.

● Implemented real-time communication in


Day 9 05/08/2023 Django between user & admin.
● Utilized Django, integrated with
settings.py, for real-time updates.

Week – 3

From Date: 07/08/2023 To 10/08/2023


● Focused on advanced topics: generators,
Day 10 07/08/2023 decorators, and comprehensions.
● Understood their usage in simplifying code
and enhancing performance.

● Implemented examples with these


Day 11 08/08/2023 concepts.
● Gained understanding of web application
structure.
● Implemented real-time communication in
Day 12 09/08/2023 Django between user & admin.
● Utilized Django, integrated with
settings.py, for real-time updates.

Page 39
Enrollment Number: 201430116061

Internship Work

● Final day of the internship.


Day 13 10/08/2023 ● Enabled real-time updates for new notices
in the "NoticeHub" project.
● Consolidated knowledge gained during the
Django project.

Week 1: Python Introduction (Day 1-3) Day 1: Orientation and Python


Introduction
● Introduction to Python Programming:
o Python is a widely used high-level, general-purpose, interpreted,
dynamic programming language. o Its design philosophy emphasizes
code readability, and its syntax allows programmers to express
concepts in fewer lines of code than would be possible in languages
such as C++ or Java. o The language provides constructs intended to
enable clear programs on both a small and large scale. o Python
supports multiple programming paradigms, including objectoriented,
imperative and functional programming or procedural styles.
o It features a dynamic type of system and automatic memory
management and has a large and comprehensive standard library. o
Python interpreters are available for installation on many operating

Page 40
Enrollment Number: 201430116061

Internship Work

systems, allowing Python code execution on a wide variety of


systeProf.

o Writing your first program:

● Output:

Day 2: Exploring Python Syntax and Basic Coding Exercises.


● Exploring Python's syntax, including variables, data types, and operators.
● Conducting basic coding exercises to practice Python concepts.
● Gaining familiarity with input/output operations and simple calculations.
● Discussing the importance of clean and readable code.
● Recognizing the role of Python as the foundational language for Django
development.
● Laying the groundwork for more complex programming tasks in the future.

Page 41
Enrollment Number: 201430116061

Internship Work

Day 3: Control Structures


● Learning about control structures like if statements for conditional logic.
● Applying conditional statements to make decisions in code.
● Exploring loop constructs like for and while loops for repetitive tasks.
● Discuss real-world scenarios where control structures are essential.
● Practical coding exercises to solidify understanding of control flow.

Page 42
Enrollment Number: 201430116061

Internship Work

Week 2: Building Foundations with Python Basics (Day 4-9)

Day 4: Functions and Variables

● Delving into functions: defining, calling, and understanding parameters.


● Grasping the concept of variable scope: local and global variables.
Page 43
Enrollment Number: 201430116061

Internship Work

● Exploring the role of functions in code organization and reusability.


● Distinguishing between different types of variables and their applications.
● Practicing function creation and utilization through hands-on examples.
● Recognizing the significance of modular programming.

Day 5: Python Libraries and Modules

● Exploring the vast landscape of Python libraries and modules.


● Understanding the distinction between built-in and external modules.
● Learning to import and use modules to enhance code functionality.
Page 44
Enrollment Number: 201430116061

Internship Work

● Exploring common use cases for popular Python libraries.


● Recognizing the role of libraries in saving development time.
● Experimenting with modules through hands-on coding exercises.

Day 6: Basic Web Development with Django

● Introduction to web development using the Django framework.


● Understanding the role of Django in creating web applications.
● Setting up a basic Django project and exploring its structure.
● Learning to handle routing, templates, and dynamic content in Django.

Page 45
Enrollment Number: 201430116061

Internship Work

● Recognizing Django’s simplicity and suitability for small to medium-sized


projects.
● Building a foundation for more complex web development with Django.

Day 7: Deepening into Django

● Transitioning to the Django framework for advanced web development.


● Learning about Django's architecture: models, views, and templates.
● Exploring how models define the data structure and relationships in a web
application.
● Understanding views as the bridge between data and templates, handling user
requests.
● Grasping the role of templates in rendering dynamic and interactive web pages.

Page 46
Enrollment Number: 201430116061

Internship Work

● Preparing to create more complex and interactive web applications using


Django.

Day 8: Introduction to Django Templates and Forms

● Understanding Django's template system and how it helps in rendering HTML.


● Creating and using templates to display dynamic data from the database.
● Introduction to forms and form handling in Django.
● Building and rendering basic forms using Django's Form class.
● Handling form submissions and data validation.

Page 47
Enrollment Number: 201430116061

Internship Work

Day 9: Working with Django Models and Databases

● Recap of Django models and their role in defining the database schema.
● Connecting Django models to the database using migrations.
● Implementing relationships between settings.py, manage.py and views.py.
● Exploring database.

Page 48
Enrollment Number: 201430116061

Internship Work

Day 10: User and Admin Authentication and Permissions

● Implementing user registration and login functionality.


● Utilizing Django's built-in authentication views and forProf.

Page 49
Enrollment Number: 201430116061

Internship Work

● Understanding user authentication middleware and decorators.


● Managing user permissions and roles.
● Securing views and resources based on user roles.

Page 50
Enrollment Number: 201430116061

Internship Work

Day 11: Basic Operations with Django Views

● Revisiting the concept of views in Django and their role in handling HTTP
requests.
● Creating URLs and routing to appropriate views.
● Utilizing Django's Form class to handle form rendering, submission, and data
validation.
● Understanding context data and rendering templates with dynamic data fetched
from the database.

Page 51
Enrollment Number: 201430116061

Internship Work

Day 12: Implementing Publisher-Subscriber Method with Django Signals

● Introduction to the publisher-subscriber pattern and its significance.


● Understanding Django's signals as a way to implement this pattern.
● Creating custom signals and connecting them to specific events in the
application.
● Defining signal handlers to respond to signals and perform specific actions.
● Implementing real-world scenarios using Django signals, such as sending
notifications or updating related data when certain events occur.

Page 52
Enrollment Number: 201430116061

Internship Work

Day 13: Deepening into Django

● Reflecting on the journey from Python basics to web development with Django.
● Summarizing the accomplishments and knowledge gained over the internship.
● Crafting a presentation showcasing the progression, challenges, and outcomes.
● Presenting the "NoticeHub" project, highlighting features
and functionalities.
● Emphasizing growth in Python programming, Django framework, and web
development.
● Concluding the internship with a sense of achievement and enthusiasm for
future endeavors.

Page 53
Enrollment Number: 201430116061

Internship Work

Page 54
Enrollment Number: 201430116061

Internship Work

CHAPTER: 5 Conclusion
5.1 Conclusion:

Embarking on this immersive internship journey from July 27th to August 10th,
the exploration of Python Django and the creation of the "NoticeHub" project has
been a remarkable odyssey. Over these two weeks, I delved into the intricate realm
of web development, navigating through the intricate threads of the Django
framework.
In conclusion, this internship was like an artist's canvas where Python and Django
combined effortlessly, breathing life into the remarkable creation called
"NoticeHub." As I conclude this phase, I eagerly anticipate exploring more
possibilities driven by Python's elegance and Django's capabilities

Page 55
Enrollment Number: 211430116546
Future Enhancement

CHAPTER: 6 Future Enhancement

6.1 Future Enhancement:

1. User Profiles: Implement personalized profiles for subscribers to manage


subscriptions and preferences.
2. Content Analytics: Develop tools for publishers to track content
performance and engagement
3. Real-Time Interactions: Enable real-time discussions between publishers
and subscribers.
4. Responsive Design: Ensure mobile accessibility and responsive layout.
Page 55

You might also like