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