Slide 1

Slide 1 text

Jake Trent October 2009 Python Web Apps copyright 2009 Intellectual Reserve, Inc.

Slide 2

Slide 2 text

"The web framework for perfectionists with deadlines."

Slide 3

Slide 3 text

History 6 years old 2003 - Lawrence Journal-World 2005 - Open-sourced 3 Sept 2008 - Version 1.0 29 July 2009 - Version 1.1

Slide 4

Slide 4 text

Demo Hymn Organizer - Create meetings, assign organists, parishioners vote on hymns

Slide 5

Slide 5 text

manage.py startproject startapp syncdb runserver dumpdata loaddata

Slide 6

Slide 6 text

settings.py database paths INSTALLED_APPS

Slide 7

Slide 7 text

MTV instead of - model view controller django - model template view/url

Slide 8

Slide 8 text

urls.py regex name reverse()

Slide 9

Slide 9 text

views.py locals() render_to_response()

Slide 10

Slide 10 text

models.py *Field max_length unique choices auto_now auto_now_add editable null blank

Slide 11

Slide 11 text

Templates date truncatewords pluralize default {% block %} {% include %} {% for %} {% if %}

Slide 12

Slide 12 text

admin.py ModelAdmin list_display prepopulated_fields

Slide 13

Slide 13 text

forms.py Form ModelForm model exclude/include

Slide 14

Slide 14 text

INSTALLED_APPS django.contrib.comments {% load %}

Slide 15

Slide 15 text

Pagination django.core.paginator object_list templatetags

Slide 16

Slide 16 text

context_processors RequestContext TEMPLATE_CONTEXT_PROCESSORS

Slide 17

Slide 17 text

INSTALLED_APPS django-voting django-registration

Slide 18

Slide 18 text

Feeds django.contrib.syndication

Slide 19

Slide 19 text

More Topics Django! Signals Middleware templatetags ORM

Slide 20

Slide 20 text

Community Active and helpful djangoproject.com - home/docs djangofriendly.com - hosts djangoprojects.com - projects that use it djangopeople.com - people that use it djangosnippets.org - code

Slide 21

Slide 21 text

More Django Demo code - bitbucket.org/jtsnake/hymnorganizer/ Slides & Tutorials - aprilandjake.com/tag/django/