Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Django 2.1 inspectdb supports Oracle ?
30 views
Skip to first unread message
pk
unread,
Oct 11, 2018, 8:31:40 PM
10/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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
Reply all
Reply to author
Forward
0 new messages