George Karpenkov wrote:
Given your experience, the chances are that you're right, however, I
don't see any way how we can pass a generator which will not be called
until the form class is instantiated.
Why should a call matter? The body of the generator is not executed
until first iteration at
Hi Ivan,
Given your experience, the chances are that you're right, however, I
don't see any way how we can pass a generator which will not be called
until the form class is instantiated.
We can't pass a generator function to choices (list() call will fail);
we can pass the generator expression bu
On Wed, Mar 24, 2010 at 4:03 AM, Shai Berger wrote:
> Hi,
>
> I've been doing some translation work and ran into the humanize.ordinal
> template tag; I found it extremely English-specific. It works by choosing
> suffixes ("st", "nd", "rd", "th") to add to numeric representation (turning
> e.g. 22
George Karpenkov wrote:
http://code.djangoproject.com/ticket/13181
I'm -1 on complicating it this way. The ability to pass a callable for
choices is covered by passing a generator. Am I missing something?
--
You received this message because you are subscribed to the Google Groups "Django
d
Hi again,
On Tuesday 23 March 2010, s.kuzmenko wrote (I'm assuming you intended this to
go to the group, rather than just me):
> That's a hard one. In some languages those suffixes will depend on the noun
> they refer to. To elaborate further your French example, the equivalent
> of "1st" would
Hi,
I've been doing some translation work and ran into the humanize.ordinal
template tag; I found it extremely English-specific. It works by choosing
suffixes ("st", "nd", "rd", "th") to add to numeric representation (turning
e.g. 22 to "22nd") according to the last digit or two.
In my languag
On Tue, Mar 23, 2010 at 12:32 PM, replyforall wrote:
> Hi Django community,
>
> Wanted to see if you might be able to help out with a near-term
> project.
>
> We're looking for a freelance contractor for front-end implementation
> for our Django site. The implementation should be done using Django
Hi Django community,
Wanted to see if you might be able to help out with a near-term
project.
We're looking for a freelance contractor for front-end implementation
for our Django site. The implementation should be done using Django
template language.
Required skills: strong familiarity with XHTM
On Tue, Mar 23, 2010 at 12:20 PM, George Karpenkov
wrote:
> once again, I'm happy to write a patch if people think it's a good
> idea
Love it! :)
Regards
Rajeev J Sebastian
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this