Green hosting suggestions for Django?

2009-12-07 Thread Daniel Quinn
I'm working on a project for an environmentally-concious client that would like a planet-friendly host, preferably Canadian, though that's not required. If that were it, I'd just google "green hosting" and be done with it, but since this is a Django project, I'd really appreciate some recommend

Re: PostgreSQL triggers with Django?

2009-11-16 Thread Daniel Quinn
On Monday 16 November 2009 08:43:35 Alessandro Pasotti wrote: > after banging my head for a few hours, I've found a solution to this > problem with a snippet: > > http://www.djangosnippets.org/snippets/1338/ > > This works for me with the standard SQL syntax (dollar quoting), just put > your cus

PostgreSQL triggers with Django?

2009-11-16 Thread Daniel Quinn
I may be new to triggers, but I think that I've managed to figure out how to write one properly with plpgsql and it works even... when I copy/paste the SQL into psql client window. However, when I put the aforementioned SQL into a .sql file and run syncdb, I run into: Installing custom SQL for