Re: How to import UGETTEXT_LAZY ON DJANGO 4.0

2024-08-29 Thread joseph Nwani
ngallen2 >> >> >> >> *From:* django...@googlegroups.com *On >> Behalf Of *David Nugent >> *Sent:* 10 December 2021 07:50 >> *To:* django...@googlegroups.com >> *Subject:* Re: How to import UGETTEXT_LAZY ON DJANGO 4.0 >> >> >> >

Re: How to import UGETTEXT_LAZY ON DJANGO 4.0

2021-12-10 Thread Jason
89%20960> | Emial: ngal...@gmail.com | > Skype: ngallen2 > > > > *From:* django...@googlegroups.com *On > Behalf Of *David Nugent > *Sent:* 10 December 2021 07:50 > *To:* django...@googlegroups.com > *Subject:* Re: How to import UGETTEXT_LAZY ON DJANGO 4.0 > &g

RE: How to import UGETTEXT_LAZY ON DJANGO 4.0

2021-12-09 Thread ngallen4
-users@googlegroups.com Subject: Re: How to import UGETTEXT_LAZY ON DJANGO 4.0 Simply change it to gettext_lazy. You don't need the deprecated functions, they were for python 2. Regards, David On Fri, Dec 10, 2021 at 3:43 PM mailto:ngall...@gmail.com> > wrote: It seems Django has remov

Re: How to import UGETTEXT_LAZY ON DJANGO 4.0

2021-12-09 Thread David Nugent
Simply change it to gettext_lazy. You don't need the deprecated functions, they were for python 2. Regards, David On Fri, Dec 10, 2021 at 3:43 PM wrote: > It seems Django has removed ‘ugettext_lazy`(from django.utils.translation > import ugettext_lazy as _) from Django version 4.0.x > > How can

How to import UGETTEXT_LAZY ON DJANGO 4.0

2021-12-09 Thread ngallen4
It seems Django has removed 'ugettext_lazy`(from django.utils.translation import ugettext_lazy as _) from Django version 4.0.x How can I handle translation on Django version 4.0.x? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscri