Weekly TWiD yearning satisfied

May 20, 2008

I can’t say enough about the value TWiD has had for me. Because I haven’t yet had the opportunity to work with Django in a day-to-day professional capacity, it has been easy to let my Django learning slip through the cracks. But with TWiD I have a sure-fire way to keep my interest going week […]

Read the full article →

Beautiful weather in Vienna

May 17, 2008

We’ve had some fantastic weather over the last 10 days or so here in Vienna, Austria.  It’s been very clear and sunny, yet not too hot.  About a week ago I left the building at work (that’s in the 7th district), looked at the sky, and decided I needed to walk rather than jump on […]

Read the full article →

How one becomes lazy (when one is being translated by Django)

May 17, 2008

I’ve enjoyed digging even deeper into the lazy text questions that I came up with last time. The “thingamajig” returned by ugettext_lazy indeed waits until unicode is called upon it, then it runs through translation. You can see this by the way ugettext_lazy is defined. It’s in core/utils/translation/__init__.py: core/utils/translation/__init__.py ugettext_lazy = lazy(ugettext, unicode) That call […]

Read the full article →

How lazy can text get?

May 15, 2008

Inspired by Malcolm Tredinnick‘s appearance on TWiD 19, I decided to create a small dummy site and work through the steps of translating it to German. Setting up all the translation files was easy enough, but then the first thing that bit me was overlooking this instruction on Django’s Internationalization documentation page: Always use lazy […]

Read the full article →