1. Skip to navigation
  2. Skip to content

Entries tagged “malcolmt”

Django's Queryset-Refactor Merged!

written by Michael Trier, on Apr 27, 2008 9:14:00 AM.

Just as Malcolm Tredinnick stated on This Week in Django 19, the Queryset-Refactor branch has been merged into trunk. Changeset 7477 makes that happen.

I’m sure there will be plenty of future blog posts talking about some of enhancements / changes that were made, but some of the highlights:

  • Ordering has been made consistent with the double-underscore syntax in filtering.
  • New update method that can update multiple records database side.
  • Addition of reverse method.
  • New values_list method that returns a tuple of values. This is a really nice addition.

Plus, tons of bug fixes, lots of reorganization that makes future enhancements much simpler, and lots of other goodness. See the Queryset Refactor Branch page on the wiki for more information.

For a lot of open source projects this type of thing would not have a huge impact, since with most projects the developers are running their code off of released versions. With Django, most developers have been accustomed to running their code, (yes, even production code), off of the trunk. With two very large branches, NewForms-Admin and Queryset-Refactor, it was often a difficult situation in deciding which branch would be the primary code base. For most of my stuff, I benefited more from the changes in Queryset-Refactor, and so I often settled on using that as my “trunk”. With the merge of Queryset Refactor I can shift to using NewForms-Admin (as soon as it merges to trunk), and be able to continue to enjoy all of the good stuff in Queryset Refactor.

An incredible amount thanks goes to Malcolm Tredinnick for all his work on this branch. He has done a tremendous job with the refactoring and enhancing of Django’s querysets.

This Week in Django 19 - 2008-04-20

written by Michael Trier, on Apr 21, 2008 10:02:00 PM.

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

SPECIAL FEATURE – Internationalisation

This is the first part of a two part series on Internationalisation. This week we are privileged to talk to Malcolm Tredinnick, Django core developer. Malcolm educates us on what internationalisation is all about, how it is implemented in Django, and some of the areas that can be improved in the future.

Additionally, we also discuss a lot of changesets in the Queryset Refactor Branch, and a couple of blog posts from the Django community.

It is our longest show yet, but definitely worth your attention. This is a must listen podcast.

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

Downloads

AAC Enhanced Podcast (79.3 MB, 1:41:32, AAC)

MP3 Edition (69.8 MB, 1:41:32, MP3)

OGG Edition (56.8 MB, 1:41:32, 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

Special Feature – Internationalization (1:39)

Malcolm Tredinnick, Django core developer, joins us to discuss internationalisation. Malcolm has often played the role of expert on internationalization / localization issues, speaks several languages, and works closely with the Django translators.

To learn more about Malcolm Tredinnick, be sure to add his blog, Defying Classification, to your RSS feeds and listen to our interview with Malcolm on This Week in Django 13

  • What is the difference between internationalisation and localisation?
  • Python 3.0 will feature full unicode support. What does that mean for Django? Will there be any benefits?
  • I attended a discussion by Tim Bray, who I suppose is a recognized internationalisation expert, and by the end of the discussion I felt like the idea of creating truly internationlised applications is somewhat hopeless. What are your thoughts about this?
  • How does translation support appear to the end-user in something like Django? (how they set which language to use, what Django does, etc).
  • Justin Lilly, a Django user and rabid fan of the show, wanted to ask, “I’m curious how many different ways there are to declare gettext-like things.. ugettext, gettext, (as a commonly used alias).. any more I don’t know?” So what about it? What’s the differences?
  • What is the difference between unicode and utf-8? Is there a difference?
  • What sort of things do developers need to watch out for when writing code for an international audience?
  • What can we do to improve the support in third-party applications for Internationalisation?
    • People learn differently so maybe we need to explore as many ways as possible to educate people. We can use things like tutorials or screencasts.
    • are internationalised.
  • Goal is to get Django to pass the Turkey test yet, but it’s a goal.
  • How do you handle sorting in Django?

Tracking Trunk (59:37)

  • Updated Markdown Filter to Support v1.7 (7423) – From the mailing list, “Additionally, the encoding argument has been removed from both markdown and Markdown. Markdown expects unicode (or ascii) input and it is the users responsibility to ensure that’s what is provided. Therefore, all output is in unicode. Only markdownFromFile accepts an encoding.”

Branching & Merging (1:01:57)

Community Catchup (1:24:12)

  • The limits of Django – Interesting post by Alberto García Hierro where he discusses the process he used to optimize queries. His final solution ended up being a C library. The post received tons of interest and he provided a followup, The limits of Django: the answers, where he addresses some of the questions he received.

Thank You! (1:38:43)

This Week in Django 13 - 2008-03-02

written by Michael Trier, on Mar 3, 2008 1:56:00 PM.

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

This week we are privileged to have Malcolm Tredinnick, Django core developer, on the show to talk to us about working on Django, the Queryset Refactor branch, and some of his writing. We also discuss a few source commits, some cool projects from the community, and the Win Cool Stuff Contest.

You don’t want to miss this one!

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

Downloads

AAC Enhanced Podcast (55.2 MB, 01:09:07, AAC)

MP3 Edition (47.5 MB, 01:09:07, MP3)

OGG Edition (37.7 MB, 01:09:07, 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

Django Interview – Malcolm Tredinnick (0:34)

Tracking Trunk (39:53)

Community Catchup (54:33)

  • Win Cool Stuff Contest – Submit a Tip of the Week or an IRC Ad Nauseam item, including question and answer and we will enter your name into our drawing to win one of our two cool prizes. See the post for full details:

Thank You! (1:06:38)