Hi everybody, I started working with Django very recently and I'm basically a PHP developer so I'm pretty much confused with lots of different things right now as I'm getting used to Django ;)
Here's my problem : First off, I fetch values from my database : s = Score.objects.filter(blablabla).order_by(blablabla) but among the fields returned above there's this one field called "moment" for which I need all occurences to be passed through a function called "DateFr()". However I can't call a function in the template, and I'm somehow not able to perform a "for ... in s" as Django returns " 'Score' object is unsubscriptable " Could anyone help me out with this? Thank you very much :] Vedlen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---