Introduction to Django

Jacob Kaplan-Moss (Revolution Systems, LLC)
Python
Location: D137-138
Average rating: ****.
(4.47, 19 ratings)
Introduction
  • Django’s philosophy
  • Some basic terminology
  • Getting started
Models
  • What’s a model?
  • Writing models
  • The model API
  • Model metadata
  • Relationships (foreign key, many-to-many, one-to-one)
The Django admin
  • What is it?
  • Activating the admin
  • Live demo
Views
  • What are views?
  • URLs; Mapping URLs to views
  • Dissecting a request
  • Writing a view
Templates
  • What’s a template?
  • Why use templates?
  • Writing templates.
  • Tags/filters
  • Template inheritance
Forms
  • What makes a “good” web form?
  • Defining and handling basic forms
  • Using model forms
Wrap-up
  • What’s next?
  • Where to go for help

If people have their own laptops with Django installed, they’ll be able to follow along with the tutorial as it goes. I won’t, however, be able to spend time helping attendees install Django—that can just take forever. The complete code for the tutorial will be available so that attendees can hack and tweak as we go. In the past about half the audience has done so; the other half simply took notes or fooled around with their own projects.

Photo of Jacob Kaplan-Moss

Jacob Kaplan-Moss

Revolution Systems, LLC

Jacob Kaplan-Moss is one of the lead developers and co-creator of Django. Jacob’s an experienced software developer with a focus on web application architecture. He’s a consultant with Revolution Systems, where he helps companies deploy and scale websites using Python and Django. Jacob previously worked for the Lawrence Journal-World, a locally-owned newspaper in Lawrence, Kansas, where he helped develop and eventually open source Django.

Comments on this page are now closed.

Comments

Beverly Block
07/17/2012 1:34pm PDT

Pitched perfectly for the expertise level as advertised. Jacob handled the failure of the WiFi very well.

Steve Rippl
07/16/2012 8:40pm PDT

Informative and well paced talk.

Picture of Jacob Kaplan-Moss
Jacob Kaplan-Moss
07/16/2012 8:41am PDT

Attendees can find slides and exercise material at training.revsys.com/oscon20...>

Sponsors

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts