Summer in Vienna

I’m repeating myself, but I must say again how nice the weather has been.  Next month is going to be crazy in Vienna as it co-hosts Euro 2008.  So for now it’s a bit of the “calm before the storm”, so to speak.
Yesterday after work I enjoyed one of the many attractions along the Danube [...]

More



Django debugging

Spent a while reviewing Simon Willison’s Debugging Django presentation.  Asserting False to get exception pages and dropping into pdb with set_trace() weren’t new to me, but pdb.pm() and, most especially, using the test client in an interactive shell were new ideas and very interesting indeed.  Check it out if you don’t know what I mean [...]

More



Weekly TWiD yearning satisfied

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 [...]

More



Beautiful weather in Vienna

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 [...]

More



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

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 to lazy [...]

More



How lazy can text get?

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 translations in [...]

More



It’s time for Total Django Immersion

As part of my effort to better focus on Django, I hereby announce the beginning of my Total Django Immersion (TDI). During TDI I shall…

Listen to each new TWiD as it comes out.
During the "Tracking Trunk" part of TWiD, choose one or two of the more interesting commits, use Django Trac to examine their [...]

More



First post at new blog

I’ve retired multiple blogs in the past, but it’s nice to be back and finally writing something again.  The desire to resume blogging relates to my desire to pursue new directions in my programming career.
I’ve earned my keep for several years using Microsoft-only products, yet for the past three years the contagious excitement of the [...]

More