Django Toolbox
description
Transcript of Django Toolbox
![Page 1: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/1.jpg)
The Django Toolboxeverybody needs these
![Page 2: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/2.jpg)
Lay of the land
What to expect in this
![Page 3: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/3.jpg)
Step 1
Make a blogging app
![Page 4: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/4.jpg)
Step 2
Writing some content
![Page 5: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/5.jpg)
Step 3
Maybe we need some new fields
![Page 6: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/6.jpg)
Database Changes...
![Page 7: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/7.jpg)
Road to Recovery
Not to be confused with the highway to hell
![Page 9: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/9.jpg)
Project Mayhem
His name was schemamigration
![Page 10: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/10.jpg)
Don't worry...
we'll do a live demo soon...
![Page 11: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/11.jpg)
Beyond Basics
Because we've all got our corner cases
![Page 12: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/12.jpg)
And there was
much joy and rejoicing, and the quest for the holy grail
could now continue
![Page 13: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/13.jpg)
Pesky Templates
Debugging with printline
![Page 14: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/14.jpg)
500...
![Page 15: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/15.jpg)
A better way
There has to be one
![Page 16: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/16.jpg)
https://github.com/django-debug-toolbar/django-debug-
toolbar
![Page 17: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/17.jpg)
Crushing the Context
And the SQL, headers, settings, signals, etc.
![Page 18: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/18.jpg)
Live Demo
Part Deux
![Page 19: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/19.jpg)
Problem Solved
![Page 20: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/20.jpg)
Take a ReST
Make the backend boring
![Page 21: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/21.jpg)
Yo DawgHeard you like javascript
![Page 22: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/22.jpg)
Libraries Everywhere
PistonTastypie django-rest-
framework
![Page 23: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/23.jpg)
JavascriptjQuery
YUIBackbone
Marionette JSEmberAngular
![Page 24: Django Toolbox](https://reader034.fdocuments.in/reader034/viewer/2022052316/558b414bd8b42a5b668b4631/html5/thumbnails/24.jpg)
Final Demo