hi. i have been working to make use of postres schema in an app wit
version 0.96. tried 3 options:

1. in settings.py, put in an entry like this:
CONNECTION_INIT_SQL = ( 'SET search_path TO
django_application_schema',)

2. in settings.py, put in an entry like this:
DATABASE_SCHEMAS = 'django_application_schema'

3. finally, in models .py for each model add a clause like this:
class meta:
    db_table = "'schema_name'.'model_table_name'"

1 and 2 did nothing. 3 created a table in the right schema in
postgres, but puked when i wrote to it.

does anyone know whether any of these options should work? if not is
there a work-around or is it expected in a particular version?

thanks,
Jeff

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to