Wednesday, May 6, 2015

inspectdb on different Oracle schemas



Hello,

Is there a way to run inspactdb on different schemas?

I have around 3 schemas and when I run inspectdb, I get details from just 1 schema.

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.oracle',
'NAME': '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))', #the name for the entry in tnsnames.ora
'USER': 'auth',
'PASSWORD': 'ABCD',
}
}

I tried adding another section to this setup but I am not sure how to reference it.

- Shekar

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f8e84187-74eb-48d2-9c1d-da62cb1ffc45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment