Chapter 15 Django Based Web Application Part I
Chapter 15 Django Based Web Application Part I
Part - I
CBSE Syllabus Based
Class -12
CHAPTER -15 CS
CHAPTER-9 IP
By-
Neha Tyagi
PGT CS
KV 5 Jaipur II Shift
Blog- www.pythontrends.wordpress.com
YouTube Channel : “Python Trends”
E-mail: python.kvs@gmail.com
Neha Tyagi, KV 5 Jaipur II Shift
Introduction
• Now a days, Internet has invaded in all spheres of our lives whether
directly or indirectly.
• Websites have own separate roll on internet.
• Many frameworks are available today for developing efficient websites.
• Django is one such framework that is used along with Python to develop
dynamic websites.
• Django framework is used to develop Dynamic websites with python.
• In this chapter, we will learn about django framework.
– URL Mapping
– Database Manipulation
– Templating
– Security Measures
• Some other web framework are-
ZEND, Flask, Ruby, Perl etc.
• A web framework will do majority of work and utilize your
code in it and a library’s function can be utilized in an
application being developed by you.
Neha Tyagi, KV 5 Jaipur II Shift
What is Django?
• Django is pronounces as ‘Jango’, ‘D’ remains silent.
• This is a high level Python web framework which speeds
up development of a website.
• This is a free and open source web application
framework.
• For web development, it provides exiting components.
• It prevents repetition of work.
• The most amazing idea of this is reusability.
• Django is a trademark of Django Software Foundation.
• It comes under BSD (Berkeley Source Distribution).
Components
inside
components
inside
ClassXII
We need to make an
entry of student in
INSTALLED_APPS in
setting.py. By doing so,
app will be registered in
project.