#6148: Add generic support for database schemas -------------------------------------+------------------------------------- Reporter: ikelly | Owner: Type: New feature | Status: new Component: Database layer | Version: SVN (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: oracle postgresql | Needs documentation: 0 mysql schemas | Patch needs improvement: 1 Has patch: 1 | UI/UX: 0 Needs tests: 1 | Easy pickings: 1 | -------------------------------------+-------------------------------------
Comment (by IanWard): The best solution I found was to configure postgresql to set a default `"search_path"` for the user I connect as from Django: {{{ ALTER USER "djangouser" SET search_path to schema1, schema2, public; }}} All the django tables get created in `"schema1"` and there is zero additional configuration required on the Django side. -- Ticket URL: <https://code.djangoproject.com/ticket/6148#comment:95> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.