17. More useful middleware
ProfilerMiddleware
See profiler output with url?prof
DebugFooter
SQL and templates logged in footer
18. Abusing the test client
from django.test.utils import setup_test_environment
setup_test_environment()
from django.test.client import Client
c = Client()
r = c.get('/2008/speaking/')
print r
r.template
r.context
19. Test Driven Development
www.djangoproject.com/documentation/testing/
www.slideshare.net/simon/advanced-django/