Living on the Edge

This Week in Django 26 - 2008-06-16

Posted on June 17, 2008

This Week in Django is a weekly podcast about all things Django.

This week we talk about the Django 1.0 Roadmap, EuroPython Sprint, tons of source commits, great stuff happening in the NewForms-Admin branch, some cool projects from the community, and the Tip of the Week.

Please see the Show Notes below for all the pertinent information and links

Downloads

AAC Enhanced Podcast (32.4 MB, 55:28, AAC)

MP3 Edition (38.1 MB, 55:28, MP3)

OGG Edition (30.8 MB, 55:28, Vorbis)

The Enhanced Podcast version contains screenshots and easy access links to all of the items we discuss throughout the podcast.

Feeds Available

iTunes Feeds are available. By subscribing using the iTunes feeds the podcasts will automatically be downloaded for you when we release them.

iTunes Feeds

This Week in Django – AAC Edition

This Week in Django – MP3 Edition

Regular RSS Feeds

This Week in Django – AAC Edition

This Week in Django – MP3 Edition

This Week in Django – OGG Edition

Give Us Feedback

Want to give us some feedback on the show? We’re always looking for ideas or suggestions that will help improve each episode. Please contact us at feedback __at__ thisweekindjango.com.

Show Notes

Big News (1:37)

EuroPython Django Sprint – We are holding an official Django sprint, July 10th until saturday July 12th, during the EuroPython conference. Join us in the push to 1.0.

Tracking Trunk (9:19)

  • Fixed serialization for multi-model inheritance (7600)
    • Serializers were including all superclass fields in their output. Now only local fields are included.
    • Implicit OneToOne? primary keys were not correctly added to the metamodel, so they were always marked to be serialized, even though they were primary
    • Model saving was too aggressive about creating new parent class instances during deserialization. Raw save on a model now skips saving of the parent class.

Branching and Merging (17:06)

Community Catchup (29:58)

  • Django Dash Results – Congratulations to all the participants. Check the results for information on all the winners.
    • 1st Place – Benjamin Pollack and Tyler Hicks-Wright – Their site was a code review site with Mercurial integration.
    • 2nd Place – Eric Florenzano and Tony HauberFeedalizer is a syndication feed aggregation based on popular feeds ranked by users.
    • 3rd Place – Justin Lilly and Jannis Leidel – A site connecting developers & translators with rankings for translators and groupings.
  • A Better Serialization Framework – A series of interesting posts by fiam on creating what he calls a better serialization framework.

Tip of the Week (41:59)

If you have a template tag that you want to automatically load into context for all of your templates, you can take the same approach Django does with the built-in template tags.

This must be done early on in the load process, so in your __init__.py for the app or project, just do:


from django.template import add_to_builtins
add_to_builtins('template_utils.templatetags.generic_content')

Thank You! (44:56)

  • Code Swarm – Python – amazing swarm representation of Python code commits over years of time. You have to see this!
Comments
  1. Eddy MulyonoJune 18, 2008 @ 12:58 PM

    FYI, http://www.djangoproject.com/community/ attributes posts from fi.am to Alberto García Hierro.

    Loving the show,

    -Eddy

  2. EmptyJune 20, 2008 @ 10:51 AM

    Eddy, thanks for the information. I’ll let people know. Thank you for listening to the show.

  3. Andreas MarrJune 20, 2008 @ 01:59 PM

    Thanks for mentioning the debug-footer from djangosnippets.org. I was just doing django work, while listening to the podcast.

    So, here comes the next round for the debug-footers ;)

    http://www.djangosnippets.org/snippets/817/

    with the code inspection you guys mentioned. I think this thing is getting pretty insane for a simple debug-footer.

  4. EmptyJune 21, 2008 @ 11:58 PM

    Andreas: Wow, I like the enhancements. This looks really nice. And thanks for the kudos.