The [version 2.0 
docs][https://docs.djangoproject.com/en/2.0/ref/django-admin/#django-admin-inspectdb]
 
states, "inspectdb works with PostgreSQL, MySQL and SQLite. Foreign-key 
detection only works in PostgreSQL and with certain types of MySQL 
tables.". This seems to exclude Oracle.

In constrast, the [version 2.1 
docs][https://docs.djangoproject.com/en/2.1/ref/django-admin/#django-admin-inspectdb]
 
doesn't state this, but I'm seeing that it doesn't produce models with 
Oracle; is inspectdb V2.1 expected to work with Oracle tables and views ?

I've tried:

python manage.py inspectdb > models.py
python manage.py inspectdb --include-views > models.py

In both cases, no errors are produced and the output just contains:

'''
# [generated comments...]
from django.db import models
'''

Thanks,

pk

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a9174323-d2be-4635-b582-7152a18b0d6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to