Introduction To Django
Upcoming SlideShare
Loading in...5
×
 

Introduction To Django

on

  • 1,912 views

Introduction to Django by Tran Tuan Anh and Le Viet Hong.

Introduction to Django by Tran Tuan Anh and Le Viet Hong.

Statistics

Views

Total Views
1,912
Views on SlideShare
1,909
Embed Views
3

Actions

Likes
1
Downloads
55
Comments
0

1 Embed 3

http://www.slideshare.net 3

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Introduction To Django Introduction To Django Presentation Transcript

  • Introduction to TRAN TUAN ANH skynetwork.org LE VIET HONG deltaviet.com
  • What is Django?
    • Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
    • Django makes it easier to build better Web apps more quickly and with less code.
    • The Web framework with perfectionists with deadlines.
  • Django Components
    • M odels - Django ORM
    • T emplates - Django Template Engine
    • V iews - Python function, Request in Response out.
    Think MTV instead of MVC URL Patterns - Regular expression based
  • Lets Build a Project spamstr/
        • __init__.py
        • manage.py
        • settings.py
        • urls.py
    ./django-admin.py startproject example
  • Lets Build a Project spamstr/
        • person/
        • __init__.py
        • models.py
        • views.py
    ./manage.py startapp person
  • models.py
  • models.py
  • models.py
  • Create Your Database
        • ...
        • Creating table
        • peopleCreating table
        • phones
        • ...
    ./manage.py syncdb
  • urls.py
  • views.py
  • views.py
  • index.html
  • ./manage.py runserver
  • Administration
  • Administration
  • Thank You http :// www.djangoproject.com