Your SlideShare is downloading. ×
0
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Introduction To Django
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction To Django

1,710

Published on

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

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

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,710
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
62
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduction to TRAN TUAN ANH skynetwork.org LE VIET HONG deltaviet.com
  • 2. 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.
  • 3. 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
  • 4. Lets Build a Project spamstr/
        • __init__.py
        • manage.py
        • settings.py
        • urls.py
    ./django-admin.py startproject example
  • 5. Lets Build a Project spamstr/
        • person/
        • __init__.py
        • models.py
        • views.py
    ./manage.py startapp person
  • 6. models.py
  • 7. models.py
  • 8. models.py
  • 9. Create Your Database
        • ...
        • Creating table
        • peopleCreating table
        • phones
        • ...
    ./manage.py syncdb
  • 10. urls.py
  • 11. views.py
  • 12. views.py
  • 13. index.html
  • 14. ./manage.py runserver
  • 15. Administration
  • 16. Administration
  • 17. Thank You http :// www.djangoproject.com

×