#14136: Show how to specify schemas for Oracle databases -----------------------------------+---------------------------------------- Reporter: pfctdayelise | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.2 Keywords: databases oracle easy | Stage: Unreviewed Has_patch: 0 | -----------------------------------+---------------------------------------- As mentioned [http://cd-docdb.fnal.gov/cgi- bin/RetrieveFile?docid=3156&version=1&filename=DjangoOracle.html here], to specify a schema as well as a db_table for an Oracle database, you need to do some fancy quoting like this:
{{{ class Meta: db_table = u'"SCHEMA"."TABLE_NAME"' }}} It would be nice to mention that in [http://docs.djangoproject.com/en/1.2/ref/databases/#oracle-notes the docs]. I spent ages trying to figure it out! -- Ticket URL: <http://code.djangoproject.com/ticket/14136> Django <http://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-upda...@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.