SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à Introduction ot Django with practical work and implimantation.pptx

Similaire à 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
 

Dernier

Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Marc Lester
 

Dernier (20)

Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14Spring into AI presented by Dan Vega 5/14
Spring into AI presented by Dan Vega 5/14
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Transformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksTransformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with Links
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
Salesforce Introduced Zero Copy Partner Network to Simplify the Process of In...
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
Auto Affiliate  AI Earns First Commission in 3 Hours..pdfAuto Affiliate  AI Earns First Commission in 3 Hours..pdf
Auto Affiliate AI Earns First Commission in 3 Hours..pdf
 
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
 
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
 
Sinoville Clinic ](+27832195400*)[🏥Abortion Pill Prices Sinoville ● Women's A...
Sinoville Clinic ](+27832195400*)[🏥Abortion Pill Prices Sinoville ● Women's A...Sinoville Clinic ](+27832195400*)[🏥Abortion Pill Prices Sinoville ● Women's A...
Sinoville Clinic ](+27832195400*)[🏥Abortion Pill Prices Sinoville ● Women's A...
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
 
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
 

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