On Mar 2, 2007, at 20:06 , voltron wrote: > I´m poking around trying to understand things a little more. Can > someone tell me what the parenthesis in this field declaration is for? > > # Code snippet > > session_key = models.CharField(_('session key') ...# more code
_(<foo>) is shortcut for calling gettext_lazy(<foo>) to lazily translate given string. Next time post this type of questions in (to quote Jacob) django- users (http://groups.google.com/group/django-users/); django-dev is for discussion of developing Django, not for discussion of using Django. You'll have a lot more luck if you redirect your question to django-users. -- Nebojša Đorđević - nesh, ICQ#43799892 Studio Quattro - Niš - Serbia http://studioquattro.biz/ | http://code.google.com/p/django-utils/ Registered Linux User 282159 [http://counter.li.org] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---