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

Introduction To Django

on

  • 8,168 views

Slides from the Introduction to Django presentation at Refresh Denver.

Slides from the Introduction to Django presentation at Refresh Denver.

Statistics

Views

Total Views
8,168
Slideshare-icon Views on SlideShare
8,149
Embed Views
19

Actions

Likes
10
Downloads
345
Comments
1

2 Embeds 19

http://www.slideshare.net 14
http://ancientage.eecs.umich.edu 5

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • 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.
    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
  • 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
    • Models - Django ORM
    • Templates - Django Template Engine
    • Views - Python function, Request in Response out.
    Think MTV instead of MVC URL Patterns - Regular expression based
  • Lets Build a Project ./django-admin.py startproject spamstr
    • spamstr/
      • __init__.py
      • manage.py
      • settings.py
      • urls.py
  • Lets Add an App ./manage.py startapp person
    • spamstr/
      • person/
        • __init__.py
        • models.py
        • views.py
  • models.py
  • models.py
  • models.py
  • Create Your Database ./manage.py syncdb
        • ...
        • Creating table peopleCreating table phones
        • ...
  • 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/