Introduction to
What is Django? <ul><li>Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic...
Django Components <ul><li>Models - Django ORM </li></ul><ul><li>Templates - Django Template Engine </li></ul><ul><li>Views...
Lets Build a Project ./django-admin.py startproject spamstr <ul><li>spamstr/ </li></ul><ul><ul><li>__init__.py </li></ul><...
Lets Add an App ./manage.py startapp person <ul><li>spamstr/ </li></ul><ul><ul><li>person/ </li></ul></ul><ul><ul><ul><li>...
models.py
models.py
models.py
Create Your Database ./manage.py syncdb <ul><ul><ul><li>... </li></ul></ul></ul><ul><ul><ul><li>Creating table peopleCreat...
urls.py
views.py
views.py
index.html
./manage.py runserver
Admin
Admin
Thank You Django - http://www.djangoproject.com / spamstr-django http://github .com/skabber/spamstr-django/
Upcoming SlideShare
Loading in...5
×

Introduction To Django

7,474

Published on

Slides from the Introduction to Django presentation at Refresh Denver.

Published in: Technology
1 Comment
10 Likes
Statistics
Notes
  • I am new to django and in this tutorial, forms were mentioned but not defined. can you please add those forms please tell where to keep these forms in django project.
    Thanks.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
7,474
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
441
Comments
1
Likes
10
Embeds 0
No embeds

No notes for slide
  • Introduction To Django

    1. 1. Introduction to
    2. 2. What is Django? <ul><li>Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. </li></ul><ul><li>Django makes it easier to build better Web apps more quickly and with less code. </li></ul><ul><li>The Web framework with perfectionists with deadlines. </li></ul>
    3. 3. Django Components <ul><li>Models - Django ORM </li></ul><ul><li>Templates - Django Template Engine </li></ul><ul><li>Views - Python function, Request in Response out. </li></ul>Think MTV instead of MVC URL Patterns - Regular expression based
    4. 4. Lets Build a Project ./django-admin.py startproject spamstr <ul><li>spamstr/ </li></ul><ul><ul><li>__init__.py </li></ul></ul><ul><ul><li>manage.py </li></ul></ul><ul><ul><li>settings.py </li></ul></ul><ul><ul><li>urls.py </li></ul></ul>
    5. 5. Lets Add an App ./manage.py startapp person <ul><li>spamstr/ </li></ul><ul><ul><li>person/ </li></ul></ul><ul><ul><ul><li>__init__.py </li></ul></ul></ul><ul><ul><ul><li>models.py </li></ul></ul></ul><ul><ul><ul><li>views.py </li></ul></ul></ul>
    6. 6. models.py
    7. 7. models.py
    8. 8. models.py
    9. 9. Create Your Database ./manage.py syncdb <ul><ul><ul><li>... </li></ul></ul></ul><ul><ul><ul><li>Creating table peopleCreating table phones </li></ul></ul></ul><ul><ul><ul><li>... </li></ul></ul></ul>
    10. 10. urls.py
    11. 11. views.py
    12. 12. views.py
    13. 13. index.html
    14. 14. ./manage.py runserver
    15. 15. Admin
    16. 16. Admin
    17. 17. Thank You Django - http://www.djangoproject.com / spamstr-django http://github .com/skabber/spamstr-django/
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×