20111208

Configurable Work Schedules and Work Regimes

The lists of choices for fields jobs.Contract.schedule and jobs.Contract.regime are no longer hard-coded but configurable. New models jobs.Schedule and jobs.Regime.

get_salutation

  • When gender is empty, returns an empty string (instead of “Mr”)

  • Now uses internationalization instead of a hard-coded set of strings. This uses Django’s Contextual markers because in German, the string “Mr” must become either “Herr” or “Herrn” depending on whether we want the “nomiative” or “indirect” form.