I looked at the sample code there, and it tells me how to run two Django
applications under the same vhost--but I still have the problem of needing to
deal with the /x/ in http://foo.bar.com/x/admin/. Is there a way to use
mod_python (or something else) to proxy requests for http://foo.bar.com/x
Hi,
I'd like to host several django applications at http://foo.bar.com/x,
http://foo.bar.com/y, etc. Currently I'm managing them all in the same vhost,
using Apache locations to direct each URL to a different Django project.
However, this technique requires me to rewrite my urls.py to accept ^x
Thanks for the tip--APN.zip was a ForeignKey with null=True. The SQL queries
helped me verify. Appreciate it!
-Original Message-
From: django-users@googlegroups.com
[mailto:[EMAIL PROTECTED] Behalf Of Rajesh Dhawan
Sent: Wednesday, February 06, 2008 1:56 PM
To: Django users
Subject: Re:
I have a Sale model that foreign keys into an APN model, which foreign keys
into a Zip model. I'd like to sort my Sale objects by the 'zip' field on the
Zip model, but
Sale.objects.select_related().order_by('sales_zip.zip')
doesn't work (1054, "Unknown column 'sales_zip.zip' in 'order
4 matches
Mail list logo