Friday, November 7, 2008

This Week in Django 43

with hosts Brian Rosner and Michael Trier

Bookmark and Share

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

This week we talk about Django 1.0.1 Beta, a few source commits, some cool projects from the community, and a Tip of the Week.

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

Show Notes

TWiD Updates

  • Corrected some nagging errors in search and sitemaps
  • Django From the Ground Up: Episode 13 Eric Florenzano continues his series “Django from the Ground Up” and in this episode Eric walks you through configuring server and deploying your project – including Apache, nginx, Django, some reusable apps, and PostgreSQL.
  • Upgraded to 1.0.1 Beta
  • Poll Results – Now that 1.0 is out and Django will be using timed releases, do you plan to run
    a) Django trunk – 37%
    b) The 1.0 point releases – 33%
    c) The 1.0.X branch and update often – 29%
  • This Week’s Poll – (Brought to you by Rob Hudson) Which 3rd party re-usable Django app would you most like to see in Django 1.1?
    a) django-notification
    b) django-tagging
    c) django-registration
    d) django-mailer
    e) django-openid
    f) none, 3rd party apps don’t belong in django proper

Big News (14:10)

Tracking Trunk (19:38)

Community Catchup (26:12)

  • Standalone Django App Testing – Brian Rosner codes up a cool bootstrap script that makes it simple to run tests without having to ensure the you have a setting.py file or that the application is on your python path.
  • Development to Deployment in Django – Will Larson delivers another great and thorough post. This time he focuses on how to structure your development environment so deployment is made easy.
  • Remote/telecommuting Gig Filtering The popular DjangoGigs.com website now offers the ability to filter job opportunities for remote/telecommuting gigs… for those looking to save on gas :)
  • A WYSIWYM editor widget for Django’s admin interface – TinyMCE has long been the popular default/fallback WYSIWG editor for adding a rich test editor to your Django admin. Jannis details adding a WYSIWYM (hat You See Is What You Mean), which offers a sells itself as “leaving the details of the document’s visual layout, and to concentrate on its structure and meaning, while trying to give the user as much comfort as possible.”. Another added sale for Jannis was that it’s jquery based.
    • Updates to django-dbtemplates – Jannis also updated djang-dbtemplate to support versioning (integrated with django-reversion), as well as new ustomizable caching backend features.
  • Generating PDFs with Django – The second of the two posts from UsWareTech, if you’re interested in using your existing HTML templates to generate PDFs then you should read this quick blog post on using Pisa, the python Html2Pdf library.

Tip of the Week (50:25)

Template Debugging – Great tip by Eric Holscher.


>>> from django.template.loader import get_template
>>> get_template('mine/index.html')

>>> get_template('mine/error.html')
Traceback (most recent call last):
 [Chopped a bunch off]
  File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 362, in find_filter
    raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name)
django.template.TemplateSyntaxError: Invalid filter: 'wtf'

Thank You! (53:48)

  • Running Time: 59:59
  • Download: AAC, MP3, OGG

Comments - 4 people have already said something. Join the discussion.

  • BrettH said

    Pisa is dual licenced. Either free and GPL, or if you don't want to contribute your code back to the community and publish your source code there is a commercial licence.

  • Sean O'Connor said

    Thanks for mentioning sPaste on the show!

    It's always awesome to see people take notice of it in the community and you guys gave me some good ideas for ways I can improve the project page.

  • Mikkel Høgh said

    Please be careful with the volume. I usually listen to TWiD when I'm driving, so I have it kinda loud so I can hear it over the engine noise, but I find myself adjusting the volume every 30 seconds or so.

    Brian's volume level is kinda even, but Michael tends to jump a lot, I don't know if it's because you move closer to the microphone or whatnot, and then there's the jingles, which tends to be a couple of notches louder than the rest, so every few minutes, my ears are blasted with those too.

    Can we get a version with no jingles?

  • Ross Dakin said

    http://dangoproject.org/