Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Django Master Class. Notes and slides from the OSCON tutorial I gave yesterday with Jacob Kaplan-Moss and Jeremy Dunck.

Tagged , , , , , , ,

4 comments

  1. Why did you (and I presume it's still in the unit testing section) choose to synchronise the counter numbers from the Python code, rather than using a trigger in the database?

    Other than because it provided a nice example ;)

    Peter Bowyer - 24th July 2007 19:30 - #

  2. I tend to favour keeping all of my application logic in the application code (I've never been that attracted to triggers), but you're right: in this case a DB trigger would have been a great solution.

    Simon Willison - 24th July 2007 22:18 - #

  3. Great presentation! It gave me a bit of insight into a few areas I hadn't gotten around to checking out - and the GIS stuff looks like it will come in handy too. I've manually written 'Find your closest xyz' code and it isn't nice stuff to work with. Having a normalised GIS approach would kick ass.

    Thanks for putting the slides online and sharing with us.

    Ross Poulton - 25th July 2007 05:06 - #

  4. You guys gave a great presentation. I've been using Django for a couple of years, but I still learned some great new stuff. Thanks!

    Adam Endicott - 26th July 2007 00:02 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site