24
The Django Toolbox everybody needs these

Django Toolbox

Embed Size (px)

DESCRIPTION

This was a presentation given at San Diego Python's Django Day: http://www.meetup.com/pythonsd/events/95751792/ https://github.com/pythonsd/learning-django

Citation preview

Page 1: Django Toolbox

The Django Toolboxeverybody needs these

Page 2: Django Toolbox

Lay of the land

What to expect in this

Page 3: Django Toolbox

Step 1

Make a blogging app

Page 4: Django Toolbox

Step 2

Writing some content

Page 5: Django Toolbox

Step 3

Maybe we need some new fields

Page 6: Django Toolbox

Database Changes...

Page 7: Django Toolbox

Road to Recovery

Not to be confused with the highway to hell

Page 8: Django Toolbox

http://south.aeracode.org/

Page 9: Django Toolbox

Project Mayhem

His name was schemamigration

Page 10: Django Toolbox

Don't worry...

we'll do a live demo soon...

Page 11: Django Toolbox

Beyond Basics

Because we've all got our corner cases

Page 12: Django Toolbox

And there was

much joy and rejoicing, and the quest for the holy grail

could now continue

Page 13: Django Toolbox

Pesky Templates

Debugging with printline

Page 14: Django Toolbox

500...

Page 15: Django Toolbox

A better way

There has to be one

Page 17: Django Toolbox

Crushing the Context

And the SQL, headers, settings, signals, etc.

Page 18: Django Toolbox

Live Demo

Part Deux

Page 19: Django Toolbox

Problem Solved

Page 20: Django Toolbox

Take a ReST

Make the backend boring

Page 21: Django Toolbox

Yo DawgHeard you like javascript

Page 22: Django Toolbox

Libraries Everywhere

PistonTastypie django-rest-

framework

Page 23: Django Toolbox

JavascriptjQuery

YUIBackbone

Marionette JSEmberAngular

Page 24: Django Toolbox

Final Demo