SlideShare a Scribd company logo
Django
Presentation by: Sachin Kumbhojkar Msc(CA) , Freelancer
What is DJANGO ?
Django is a high-level Python Web framework
that encourages rapid development and
clean, pragmatic design
Oh man I feel like
Now !
Lets talk like humans
•Django is a framework for python
•Enables fast software development
•Follows Model View Control pattern
Basic Info
•Python Framework
•License Type: BSD
•Follows MVC architecture
•Maintained by Django software foundation
•Websites that uses django
•Instagram
•Mozilla
•Pinterest
Key Features
Mocked up your head ?
Don’t worry , here is the Explaination
1. Object Relational Mapper
In Simple terms
Absolutely no ‘Locha’ to retrieve data
Hmm… then how will we manage database ?
You can write and access your database and its
queries
ENTIRELY IN PYTHON
Wanna see How ?
Example
Creating a table named person having columns
first_name and last_name having length 30
Mysql
create table person (first_name
text(30),last_name text(30));
Django
class Person(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
But dude you can still write sql queries if needed
2. Automatic Admin Interface
Does this sounds interesting ?
Django
Provides you with Admin interface
No need to create it explicitly
Django admin interface
The django admin interface gets
created at the time of creation of a
new project
You just need to enable it with few
steps
3. Elegant Url design
You can define your own urls
and the actions too
Like the url is
127.0.0.1/myapp/yodudeareyouthere
you can define what should happen after
anyone entering this url
4. Template System
Django has its own templating languages
Which supports
Dynamic Templates
And provide you with data also
In short template is the User Interface for
application
What is the use ?
to separate design, content and Python code.
5. Cache System
Now first of all lets learn how to pronounce it
http://www.youtube.com/watch?v=_rCcV6M
iQZ0
Cache is pronounced as CASH
Now what is that
The cache system actually lets you cache/save
the dynamic pages
Use ?
You don’t need to handle each request for
them
6. Internationalization
Django has full support for
Multi-language application (speaking languages
not programming languages ), letting you specify
translation strings and providing hooks for
language-specific functionality.
Remember
Django is just a framework for python which is
written in python itself
Everything you do in Django , at the end of
the day its python
So the basic python rules apply here also
, such as code indentation , classes etc
Do send
Comments / Questions / Ideas
To
sachin755@gmail.com
Django part 1

More Related Content

Similar to Django part 1

Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdfDjango Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
SudhanshiBakre1
 
Python & Django
Python & DjangoPython & Django
Python & Django
Allan114858
 
Concepts and applications of Django.pptx
Concepts and applications of Django.pptxConcepts and applications of Django.pptx
Concepts and applications of Django.pptx
sushmitjivtode4
 
Introduction To Django
Introduction To DjangoIntroduction To Django
Introduction To Django
Tuan Anh Tran
 
divyanshBajaj.pptx
divyanshBajaj.pptxdivyanshBajaj.pptx
divyanshBajaj.pptx
lakshyarajSinghchund1
 
Pymongo password change made easy
Pymongo password change made easyPymongo password change made easy
Pymongo password change made easy
Darshan Jayarama
 
Django Seminar
Django SeminarDjango Seminar
Django Seminar
Yokesh Rana
 
Django Workflow and Architecture
Django Workflow and ArchitectureDjango Workflow and Architecture
Django Workflow and Architecture
Andolasoft Inc
 
Django Article V0
Django Article V0Django Article V0
Django Article V0Udi Bauman
 
Django & React
Django & ReactDjango & React
Django & React
Osman SELVİ
 
Django
DjangoDjango
Django Framework Overview forNon-Python Developers
Django Framework Overview forNon-Python DevelopersDjango Framework Overview forNon-Python Developers
Django Framework Overview forNon-Python Developers
Rosario Renga
 
CTE 323 - Lecture 1.pptx
CTE 323 - Lecture 1.pptxCTE 323 - Lecture 1.pptx
CTE 323 - Lecture 1.pptx
OduniyiAdebola
 
Django Interview Questions and Answers
Django Interview Questions and AnswersDjango Interview Questions and Answers
Django Interview Questions and Answers
Python Devloper
 
Django, What is it, Why is it cool?
Django, What is it, Why is it cool?Django, What is it, Why is it cool?
Django, What is it, Why is it cool?
Tom Brander
 
Django
DjangoDjango
Django
Django Django

Similar to Django part 1 (20)

Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdfDjango Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
Django Tutorial_ Let’s take a deep dive into Django’s web framework.pdf
 
Introduction to django
Introduction to djangoIntroduction to django
Introduction to django
 
Python & Django
Python & DjangoPython & Django
Python & Django
 
Concepts and applications of Django.pptx
Concepts and applications of Django.pptxConcepts and applications of Django.pptx
Concepts and applications of Django.pptx
 
Django Girls Tutorial
Django Girls TutorialDjango Girls Tutorial
Django Girls Tutorial
 
Introduction To Django
Introduction To DjangoIntroduction To Django
Introduction To Django
 
divyanshBajaj.pptx
divyanshBajaj.pptxdivyanshBajaj.pptx
divyanshBajaj.pptx
 
Pymongo password change made easy
Pymongo password change made easyPymongo password change made easy
Pymongo password change made easy
 
Django Seminar
Django SeminarDjango Seminar
Django Seminar
 
Django Workflow and Architecture
Django Workflow and ArchitectureDjango Workflow and Architecture
Django Workflow and Architecture
 
Django Article V0
Django Article V0Django Article V0
Django Article V0
 
Django & React
Django & ReactDjango & React
Django & React
 
dJango
dJangodJango
dJango
 
Django
DjangoDjango
Django
 
Django Framework Overview forNon-Python Developers
Django Framework Overview forNon-Python DevelopersDjango Framework Overview forNon-Python Developers
Django Framework Overview forNon-Python Developers
 
CTE 323 - Lecture 1.pptx
CTE 323 - Lecture 1.pptxCTE 323 - Lecture 1.pptx
CTE 323 - Lecture 1.pptx
 
Django Interview Questions and Answers
Django Interview Questions and AnswersDjango Interview Questions and Answers
Django Interview Questions and Answers
 
Django, What is it, Why is it cool?
Django, What is it, Why is it cool?Django, What is it, Why is it cool?
Django, What is it, Why is it cool?
 
Django
DjangoDjango
Django
 
Django
Django Django
Django
 

Recently uploaded

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 

Django part 1

  • 1. Django Presentation by: Sachin Kumbhojkar Msc(CA) , Freelancer
  • 2. What is DJANGO ? Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design Oh man I feel like
  • 3. Now ! Lets talk like humans •Django is a framework for python •Enables fast software development •Follows Model View Control pattern
  • 4. Basic Info •Python Framework •License Type: BSD •Follows MVC architecture •Maintained by Django software foundation •Websites that uses django •Instagram •Mozilla •Pinterest
  • 6. Mocked up your head ? Don’t worry , here is the Explaination
  • 7. 1. Object Relational Mapper In Simple terms Absolutely no ‘Locha’ to retrieve data Hmm… then how will we manage database ?
  • 8. You can write and access your database and its queries ENTIRELY IN PYTHON Wanna see How ?
  • 9. Example Creating a table named person having columns first_name and last_name having length 30
  • 10. Mysql create table person (first_name text(30),last_name text(30));
  • 11. Django class Person(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) But dude you can still write sql queries if needed
  • 12. 2. Automatic Admin Interface Does this sounds interesting ?
  • 13. Django Provides you with Admin interface No need to create it explicitly
  • 14. Django admin interface The django admin interface gets created at the time of creation of a new project You just need to enable it with few steps
  • 15. 3. Elegant Url design You can define your own urls and the actions too Like the url is 127.0.0.1/myapp/yodudeareyouthere you can define what should happen after anyone entering this url
  • 16. 4. Template System Django has its own templating languages Which supports Dynamic Templates And provide you with data also In short template is the User Interface for application What is the use ? to separate design, content and Python code.
  • 17. 5. Cache System Now first of all lets learn how to pronounce it http://www.youtube.com/watch?v=_rCcV6M iQZ0 Cache is pronounced as CASH
  • 18. Now what is that The cache system actually lets you cache/save the dynamic pages Use ? You don’t need to handle each request for them
  • 19. 6. Internationalization Django has full support for Multi-language application (speaking languages not programming languages ), letting you specify translation strings and providing hooks for language-specific functionality.
  • 20. Remember Django is just a framework for python which is written in python itself Everything you do in Django , at the end of the day its python So the basic python rules apply here also , such as code indentation , classes etc
  • 21. Do send Comments / Questions / Ideas To sachin755@gmail.com