I don't think you can do that in you feild define phrase..
but you can use the pre_save hook to auto populate it with the current
logged user's name.Try to find the threadlocal middle ware,it can help you
to handle it!
-
Best regards,
etng
[EMAIL PROTECTED]
http://www.etng.net/blo
It seems that you've made a typo. change {{myDict.key}} to {{myDict.keys}}
On Dec 14, 2007 3:03 PM, Steve Freitas <[EMAIL PROTECTED]> wrote:
>
> I have a dictionary, and I'd like to iterate over the keys, using the
> keys to look up the result, like:
>
> {% for key in myDict %}
> The key is {{key
2 matches
Mail list logo