SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Introduction ot Django
What is a Framework?
• A framework is a set of rules, ideas, and
beliefs which is used to deal with the
problems and decide what to do.
What is Django?
• Django is used for website development or
app development. It is a framework of Python
which is used widely in web development.
• Django enables rapid and quick development
of web applications.
• It is an open-source Python framework that
works on Model View Template. It is the most
used Python framework.
Why Django ?
• It’s fast and simple
• It’s Secure
• It Suits any web application project
• It’s well-established
• MVT Support and Object-oriented
• Built-in Authentication
• Packaging System
Which companies uses Django?
• YouTube
• Instagram
• Spotify
• The Washington Post
• Bitbucket
What’s inside the course?
• How to setup the Django application
• URLs, routes, and views
• Templates and static files
• Data, models, and relationships
• Working with forms
• Class-based views
• File upload
• Sessions
• Cookies
• Frontend and admin area
• A real live project of building a blog
Django MVT
• Model: The model is going to act as the interface
of your data.
• View: The view is the user interface. It is the data
that a user sees when a user renders a website.
• Template: It consists of static parts of HTML
output, and some special part describes how the
dynamic content is inserted in the program
Installation process
• Download and install python
• Check you pip is working
• install django
pip freeze (package)
pip install Django
django-admin –version
django-admin startproject <project_name>
Run
• python manage.py runserver
• Python manage.py runserver <port_no>
• Templates for html file
• Static for javascript images
• Media for dynamic images
Create Url/Routes
Views.py
urls.py
Dynamic url/routes
views.py
urls.py

Weitere ähnliche Inhalte

Ähnlich wie Introduction ot Django with practical work and implimantation.pptx

Ähnlich wie Introduction ot Django with practical work and implimantation.pptx (20)

python full stack course in hyderabad...
python full stack course in hyderabad...python full stack course in hyderabad...
python full stack course in hyderabad...
 
Django course
Django courseDjango course
Django course
 
Software Engineering - Trends & Industry Practices
Software Engineering - Trends & Industry PracticesSoftware Engineering - Trends & Industry Practices
Software Engineering - Trends & Industry Practices
 
Django PPT.pptx
Django PPT.pptxDjango PPT.pptx
Django PPT.pptx
 
Why you should use Django in your next project.
Why you should use Django in your next project.Why you should use Django in your next project.
Why you should use Django in your next project.
 
Website essentials and analytics
Website essentials and analyticsWebsite essentials and analytics
Website essentials and analytics
 
Portal and Intranets
Portal and Intranets Portal and Intranets
Portal and Intranets
 
USG Summit - September 2014 - Web Management using Drupal
USG Summit - September 2014 - Web Management using DrupalUSG Summit - September 2014 - Web Management using Drupal
USG Summit - September 2014 - Web Management using Drupal
 
Introduction to django
Introduction to djangoIntroduction to django
Introduction to django
 
Neev Python Django Competencies
Neev Python Django CompetenciesNeev Python Django Competencies
Neev Python Django Competencies
 
Advantages Of Using Django Framework To Build Scalable.pdf
Advantages Of Using Django Framework To Build Scalable.pdfAdvantages Of Using Django Framework To Build Scalable.pdf
Advantages Of Using Django Framework To Build Scalable.pdf
 
Django Documentation
Django DocumentationDjango Documentation
Django Documentation
 
Django framework
Django frameworkDjango framework
Django framework
 
Keeping User Generated Content Flexible with Neo4j - Greg Jordan @ GraphConne...
Keeping User Generated Content Flexible with Neo4j - Greg Jordan @ GraphConne...Keeping User Generated Content Flexible with Neo4j - Greg Jordan @ GraphConne...
Keeping User Generated Content Flexible with Neo4j - Greg Jordan @ GraphConne...
 
Concepts and applications of Django.pptx
Concepts and applications of Django.pptxConcepts and applications of Django.pptx
Concepts and applications of Django.pptx
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
 
Introduction to django
Introduction to djangoIntroduction to django
Introduction to django
 
Django framework
Django frameworkDjango framework
Django framework
 
Django interview Questions| Edureka
Django interview  Questions| EdurekaDjango interview  Questions| Edureka
Django interview Questions| Edureka
 
Django
DjangoDjango
Django
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
 
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
WSO2Con2024 - Facilitating Broadband Switching Services for UK Telecoms Provi...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
From Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST APIFrom Theory to Practice: Utilizing SpiraPlan's REST API
From Theory to Practice: Utilizing SpiraPlan's REST API
 

Introduction ot Django with practical work and implimantation.pptx

  • 2. What is a Framework? • A framework is a set of rules, ideas, and beliefs which is used to deal with the problems and decide what to do.
  • 3. What is Django? • Django is used for website development or app development. It is a framework of Python which is used widely in web development. • Django enables rapid and quick development of web applications. • It is an open-source Python framework that works on Model View Template. It is the most used Python framework.
  • 5. • It’s fast and simple • It’s Secure • It Suits any web application project • It’s well-established • MVT Support and Object-oriented • Built-in Authentication • Packaging System
  • 6. Which companies uses Django? • YouTube • Instagram • Spotify • The Washington Post • Bitbucket
  • 7. What’s inside the course? • How to setup the Django application • URLs, routes, and views • Templates and static files • Data, models, and relationships • Working with forms • Class-based views • File upload • Sessions • Cookies • Frontend and admin area • A real live project of building a blog
  • 8. Django MVT • Model: The model is going to act as the interface of your data. • View: The view is the user interface. It is the data that a user sees when a user renders a website. • Template: It consists of static parts of HTML output, and some special part describes how the dynamic content is inserted in the program
  • 9. Installation process • Download and install python • Check you pip is working • install django pip freeze (package) pip install Django django-admin –version django-admin startproject <project_name>
  • 10. Run • python manage.py runserver • Python manage.py runserver <port_no> • Templates for html file • Static for javascript images • Media for dynamic images