Re: ugettext() and ugettext_lazy() - error and difference

2009-08-28 Thread Karen Tracey
On Fri, Aug 28, 2009 at 2:49 AM, Léon Dignòn wrote: > > Hi, > > I don't exactly understand the difference between ugettext() and > ugettext_lazy(). I read the documentation and I've read that > ugettext_lazy translates a string on access. Sounds more efficient. > But why

ugettext() and ugettext_lazy() - error and difference

2009-08-28 Thread Léon Dignòn
Hi, I don't exactly understand the difference between ugettext() and ugettext_lazy(). I read the documentation and I've read that ugettext_lazy translates a string on access. Sounds more efficient. But why do I get this error on that code? from django.db import models from