On May 29, 2009, at 8:25 PM, david.schruth wrote:

>
> Hello,
>
> I'm trying to get this working for multiple (non public) schemas in
> postgresql databases using the psycopg2 database driver.  I'm using
> the most current svn of django 1.01 (from today).
>
> ...
> Does anybody have a solution for using django with more than one
> schema in postgresql?

I don't use the django ORM, but running the postgres command 'set  
search_path = some_schema,public' works for me. This sets the schema  
search path only for the connection on which the command is run.

Jack

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to