On May 4, 7:10 pm, Ethan Jucovy wrote:
> On Wed, May 4, 2011 at 7:19 PM, Ethan Jucovy wrote:
> > This also feels a little hacky, but IMHO cleaner than messing with
> >> builtins.
>
> Looking at django/template/__init__.py -- it does seem like INSTALLED_APPS
> and django.template.builtins are th
I'm trying to use the Template library outside of a normal Django
webapp and am having difficulty figuring out the right way to register
a custom filter.
The current implementation works, but I don't like accessing the guts
of the template module (see below), or calling my custom Library a
"builtin
On Jul 15, 8:54 am, Up2L8 wrote:
> Is there any way Ticket #10977 could get rolled up into the 1.1
> release?
>
> Using the intersection and union operators seems borked for some
> applications and it sounds like this should fix it.
I guess I should mention that it seems th
Is there any way Ticket #10977 could get rolled up into the 1.1
release?
Using the intersection and union operators seems borked for some
applications and it sounds like this should fix it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
thod for querysets:
>
> http://docs.djangoproject.com/en/dev/ref/models/querysets/#count
>
> However, for this, it may be easiest to use raw sql within Django:
>
> http://docs.djangoproject.com/en/dev/topics/db/sql/
>
> -Raman
>
> On May 13, 6:43 pm, Up2L8 wrote:
>
> > Is th
Is there a way to do something like this in django?
SELEC COUNT(t1.id), COUNT(t2.id)
FROM Test_testrun t1
LEFT JOIN Test_testrun t2 ON t2.id = t1.id AND t2.passed=True
Sorry for my newbness, I've been searching for awhile now with no
luck.
Eric
--~--~-~--~~~---~--~-
6 matches
Mail list logo