Category Archives: django

Django :: i18n

What’s up with so many languages? E.g. in Switzerland there are four official languages, and in Norway there are two: bokmÃ¥l and nynorsk (details). I’ll be describing what I had to do to get a good user experience with these … Continue reading

Posted in django | Leave a comment

Django :: making a date dropdown field

It seems like it is hard to input valid dates in a free-form text format for a significant portion of users. Personally, I don’t like many of the popup calendar widgets since they usually rely on Javascript for rendering — … Continue reading

Posted in django | Leave a comment

Django :: looking at newforms

(This is rapidly getting outdated, go read the source at http://code.djangoproject.com/browser/django/trunk/django/newforms for the current state…). Django is getting new form handling code, currently in the module django.newforms but it will migrate to django.forms in a future release. The code is … Continue reading

Posted in django | Leave a comment

Django :: Custom Field

If you don’t do so allready, you should really get into the habit of looking at the validation errors your users are seeing. If you’re using the idiomatic Django view code this is very easy to do. After you get … Continue reading

Posted in django | Leave a comment