Ok let me know when its available. One thing I noticed in downloading that branch is there are no references to "db_schema" anywhere in the code. I wasnt sure if that branch was supposed to contain it or not.
Its also possible that I downloaded the wrong branch. From https://github.com/akaariai/django/tree/schemas/docs I clicked on the Download link at the top right. Then click "Download as Zip" On Mon, Apr 16, 2012 at 10:22 AM, Anssi Kääriäinen <[email protected]>wrote: > On Apr 16, 5:07 pm, Craig Lucas <[email protected]> wrote: > > I would be happy to test it. I just need a little guidance on how to > > implement schemas. Like do I use db_schema in the meta class, is it in > the > > settings.py file? I saw some posts about setting the SCHEMA value in the > > settings.py file, but not sure that would work as it seems like that > would > > limit you to using 1 schema > > I will try to post an update to the ticket today if at all possible. > > Short version: You can use db_schema of the model's meta class. If > that is not given, then the databases default schema is used, defined > by database settings 'SCHEMA'. Global setting DEFAULT_SCHEMA is > planned but not supported by the branch at the moment. > > Note that when using Django's testing framework and MySQL or Oracle, > the given schema will be prefixed with the database's alias to avoid > clashes between production and testing schemas. Not that you should > test this using a database instance containing production data at all. > > - Anssi > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
