Hoi Armijn, misschien heb ik de vraag van de OP niet goed begrepen. Maar op deze wijze kun je toch echt een Nederlandse notatie voor een DateField in een model (http://docs.djangoproject.com/en/dev/ref/models/fields/#datefield) in een template weergeven (http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ttag-now) met behulp van het date filter (http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date). Wat bedoel je met "toch echt fout"?
groet, dimitri 2009/5/13 Armijn Hemel <[email protected]>: > On Tue, 2009-05-12 at 21:11 +0200, dimitri pater - serpia wrote: >> in settings.py >> LANGUAGE_CODE = 'nl' >> in je template: >> {{ datum|date:"l d M" }} wordt dinsdag 12 Mei > > Dat hoop ik niet, want dat is in het Nederlands toch echt fout :-P > > armijn > > -- > ------------------------------------------------------------------------- > [email protected] | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group > ------------------------------------------------------------------------- > > _______________________________________________ > Python-nl mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-nl > -- --- You can't have everything. Where would you put it? -- Steven Wright --- please visit www.serpia.org _______________________________________________ Python-nl mailing list [email protected] http://mail.python.org/mailman/listinfo/python-nl
