On Sun, Dec 28, 2008 at 7:29 AM, Justin Bronn wrote:
>
> Ariel,
>
>> Is it a gis issue or an aggregation one?
>
> As I indicated in private correspondence, this was a matter of
> updating GeoQuery.get_columns to reflect Russell's aggregation
> changes. I've attached to #3566 a patch for Russell'
On Dec 27, 2008, at 12:23, wei guangjing wrote:
> from __future__ import with_statement
> from django.contrib.auth.models import User
> from django.db import using
>
> with using('db1'):
>print User.objects.count() # db1 user count
>with using('db2'):
>print User.objects.count() #
I did this with some middleware having lots of sub-domains,
red.whatever.com, yellow.whatever.com etc... but I forget what it
was/is called. It's probably on Django snippets.
This looks like it might help...
http://eikke.com/django-domain-redirect-middleware/
--~--~-~--~~