0% found this document useful (0 votes)
10 views

Chapter One Introduction To Python Django

Uploaded by

africanoo mahaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Chapter One Introduction To Python Django

Uploaded by

africanoo mahaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Python Django Web

Development

BY:Eng Mohamed Ahmed Mohamed


Introducing…Django
 What is a Python Django?
 A high-level Web framework is software that eases the pain of
building dynamic Web sites. It abstracts common problems of Web
 development and provides shortcuts for frequent programming
tasks..
 Flexible template language that can be used to generate HTML, or
any other format
 Includes ORM that supports many databases – Postgresql, MySQL,
Oracle, SQLite
 Lots of extras included –sessions, caching, authentication.
Django Overview
 Django was started in 2003, released under BSD in 2005, and the
Django Software Foundation was established in 2008.
 Object Relational Mapper engine that handles
 Models = relational database schema (models.py)
 Views = http request and web template system (views.py)
 Controller = Regex URL dispatcher (urls.py)

 Django Packages - Allows for third party components to be


added available through pip
 CSRF, built in authentication, strong password storage, admin
portal, and other out of the box features.
Installation Preparation
 Download and Install Python 3.4 or any other
 Install pip:
pip install django

 Install virtualenv
pip install virtualenv
What is a in Django
Technical Details for starting
project
 Create project folder in your computer
 Open your cmd and write these commands
 Django-admin startproject NTU
 Cd NTU
 Python manage.py runserver. See the ip address billow and
write to your browser.
 Python manage.py startapp NTUH. To start an application in
the project NTU.
Django MVT Files
Thank You
Question

And

Answers

You might also like