Category Archives: Django

Django localized date template filter

UPDATE! This is going to be redundant in Django 1.2, in which you can add DATE_FORMAT to your django.po files. I’ve often been frustrated that using settings.DATE_FORMAT does not give a localized date. Granted that the name of a month … Continue reading

Posted in Django, Python | Tagged , , | Leave a comment

Presenting: django-simple-wiki

It was bothering me that all the wikis I tried, all had either errors, feature lacks, too many dependencies or were simply unmaintained. So I decided to create yet another one. Curiously, the third hit when googling ‘django wiki’ is … Continue reading

Posted in Django, Python | Tagged , , , , | 1 Comment

Django tip: Translating your application names (app_label)

This MUST be a common issue for international developers: We use some geeky English name for our application and afterwards find that the translated admin index looks a little silly in the eyes of our native speaking users. Apparently a … Continue reading

Posted in Django | Tagged , , , | 2 Comments

Django auto-translation of field values

What’s really nice in Django is the gettext implementation and the _ convention. But when running django-admin.py makemessages we’re not generating any translations for dynamic values such as field values. So let’s say that we have a model and we’d … Continue reading

Posted in Django | Tagged , , | 2 Comments

Tip: Extending Django flatpages

I did a Google search and since nothing came up, I’m writing this little tip on creating your own CMS by extending Django’s flatpages. What’s good about flatpages is that they’re included in Django and has some basic code to … Continue reading

Posted in Computers, Django, Web | Tagged , | 4 Comments