After accumulating a large number of apps over the years in a single
web project, I would say that the time it takes to reverse urls has
become quite significant, especially if we have multiple links on
screen using the reverse function.
Would there be a noticeable difference if we go back to
thanks
that worked
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
returned an empty dict
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
Hello,
I got a model with a type field
class R(mode):
type = CharField(max_length=100)
Here is what im trying to do using sql notation:
SELECT typ,count(*) FROM R GROUP BY type
The following
R.objects.aggregate(Count('type'))
returns the same result as
SELECT count(*) R
is it
I can confirm it worked.
Thanks guys!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
Hello all,
is it possible to filter based on an aggregate value? like count using
django orm?
for example:
class Group(model):
name = CharField()
class Member(model):
name = charfield()
group = ForeignKey(Group)
How can I filter the groups that have 10+ members using the django
://www.djangoproject.com/documentation/model-api/#model-inheritance
I am not sure how much control you have over it in current admin, but
maybe newform admin branch would give you the needed control? I am
sure soeone can elaborate
- kbs
On May 25, 7:01 am, Itai Tavor <[EMAIL PROTECTED]> wrote:
> Thanks
7 matches
Mail list logo