This Week in Django 30 - 2008-07-20
This Week in Django is a weekly podcast about all things Django.
This week we discuss the NewForms-Admin merge into Trunk, DjangoCon, a few source commits, 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 (41.8 MB, 49:31, AAC)
MP3 Edition (34.1 MB, 49:31, MP3)
OGG Edition (27.9 MB, 49:31, 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 (0:47)
-
NewForms-Admin Branch Merges to Trunk – A huge step towards Version 1.0.
- Version 1.0 Sprint Schedule
- NewForms Admin Documentation
- Updated NewForms Documentation
- newforms-admin Migration and Screencast – Great way to get started and make the migration to NewForms-Admin.
- Pre-NFA Merge Tag
- DjangoCon Web Site and DjangoCon Schedule Released – It’s quite a lineup. We hope to see everyone there.
Tracking Trunk (15:04)
-
Removed the mysql_old backend
(7949)
– According to Malcolm Tredinnick, it smells bad and has no friends.
-
newforms -> forms switch
(7971)
** django.newforms is now django.forms. Updated your code.
-
Added support for optgroups in models and form fields
(7977)
- Documentation on new optgroups support
-
Performance Improvements for urlize and urlizetrunc filters
(7985)
– This one has bit us on the Django Logger.
Community Catchup (26:16)
-
Kevin Fricovsky – joins the This Week in Django team as Community Evangelist. Kevin will be working to produce the show, contacting guests, gathering news items, coming up with ideas. Kevin has been doing this work regularly anyway so it’s great of him to team up with us to help out the program:
- Monty Lounge Industries – Kevin’s web strategy, design, and development company.
- How I Work Daily – Kevin’s blog. You should have this one in your feedreader.
- PyWorks conference – to be held in Atlanta, GA on November 12-14, 2008.
- PyOhio – Reminder that this free one day conference is in Columbus, OH on July 26, 2008.
- – via Kevin Fricovsky using the new Twitter Search capability to track all tweets about django.
- Jinja2 Final aka Jinjavitus Released – Armin Ronacher and the rest of the Pocoo team announced the release of this wicked-fast Django inspired template engine.
- OSCON Python BoF – Tuesday, July 22nd 7pm – 10pm from Jax Bar and Restaurant. Via Jason Kirtland’s excellent blog discorporate.
Tip of the Week (38:32)
This tip comes to us via Ben Jao Ming in his post Django auto-translation of field values.
If you need to translate content in a field then gettext
is not going to help you out. Since you can create your own custom fields it’s easy to wrap a CharField
with the translation behavior:
from django.db import models
from django.utils.translation import gettext_lazy as _
class AutoTranslateField(models.CharField):
__metaclass__ = models.SubfieldBase
def to_python(self, value):
return str(_(value))
Just add whatever translations you know of to the locale file and run compilemessages
.
Thank You! (42:45)
-
– Awesome video by Bram Moolenaar
- Vim Cheatsheet PDF
- Brian Rosner
- Brian Rosner Blog
- TWiD Live