This Week in Django is a weekly podcast about all things Django.
This week we talk about a few of the Django 1.1 potential features, 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
- Eric Florenzano continues his series “Django From the Ground Up” where he walks through the entire process of building a web application with Django. This past week Eric added episodes 4 – 7. He’s moving at a fierce pace.
- Poll Results – What’s your favorite feature of 1.0?
- NewForms Admin – 51%
- Improved ORM – 30%
- GeoDjango – 15%
- Jython Compatibility – 5%
- This Week’s Poll – What 1.1 potential feature are you most looking forward to?
- Orm Aggregation
- Model Validation
- Integrate Databrowse into the Admin
- Batch changes in the Admin
- Add support for streamed content
- Class-Based Generic Views
Big News (5:59)
- Version 1.1 Features – Brian and Michael talk about some of the 1.1 potential features that they are looking forward to.
Tracking Trunk (19:11)
- Correctly handle URL patterns with the same name but different signatures
(9087)– Great for preventing clashes between URL naming between third-party apps.
- Restored documentation
(9090)– When the docs refactor happened some documentation ended up getting lost in the mix. This is one of those changes
- Created 1.0.X release branch
(9095)– Allows easier future changes on trunk.
Community Catchup (24:30)
- django-faq – A simple faq application for your Django powered site. Kevin also made note to provide this app as an example of creating
a reusable app following best practices – allowing for template overrides, extra_context arguments, etc.
- django-batchadmin – Adds the ability to multi-select rows in the Django Admin list view and execute actions on the selected rows – “think mass delete”. Also provides the ability to create custom actions to apply to the selected rows. The default action is Delete.
- Django Command Extensions Screencast Eric Holscher continues with his excellant screencast tutorials this time tackling the terrific django_command_extensions project which provides an enormous amount of productivity helpers via custom Django management command.
- django-urls – Another Simon Willison project that is currently experimental, with the goal of replacement for Django’s get_absolute_url method.
- NWSGI – NWSGI is a .NET implementation of the Python WSGI specification using IronPython. It is implemented as an ASP.NET HttpHandler. The main goal is to provide an easy path for running Python web applications/frameworks (such as Django, Trac, etc.) on IIS7.
- django-genshi 1.1.1 – django-genshi is a small wrapper library around Genshi that provides an API similar to django.template. Included are imitations of Context and RequestContext. There is also an implemention of the Django template loader system adapted for Genshi, and a selection of shortcut functions. Genshi is based on abstract markup streams, it is possible for a template to be rendered to multiple output representations (such as HTML or XHTML). The decision of which to render is usually based on the HTTP Accept header.
- A server memory leak – Ned Batchelder has a great write up on a server memory leak they were experiencing with a Django application when moving to Django 1.0. His post walks you through the in-depth analysis that was performed in order to track down the root of the problem. It’s a very good read.
Tip of the Week (42:41)
This week’s tip comes from Rob Hudson.
Sometimes you want to register a model but you don’t need to specify any Admin options. Well, although it was not documented this is entirely possible as the second argument to admin.site.register is completely optional.
from django.contrib import admin from myproject.myapp.models import Authoradmin.site.register(Author)
Thank You! (45:54)
- DjangoBot – Brian Rosner’s incredible IRC bot that keeps the world safe and ponies flying high.
Comments - 5 people have already said something. Join the discussion.
sean said…
wonderful job!
thanks for your work
wang said…
Thanks for you guys' great work!
Christopher Clarke said…
Hey on Safari
the line
admin.site.register(Author)
is not visible
Great job i always find little gems when i listen this week its batch-admin
Empty said…
Christopher: yes we need to do some tweaking of the CSS. Our wonderful designer, Kevin Fricovsky, is on vacation. Sigh. :)
Ross Dakin said…
Great job guys!
One request: is it possible to equalize your voices or mic volumes a bit? It seems that one of you is consistently louder than the other, causing me to drive with one hand on the volume knob.